I wrote: > I experimented with > SELECT ' > ... multiline json value ... > ' AS json > \gexec
> but that didn't seem to work either. Anybody have a better idea? Oh, never mind, \gset is what I was reaching for. We can make it work with that. regards, tom lane