Search Postgresql Archives

Lazier alternative to row_to_json ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have the following simple query

select row_to_json(d) from documents d

The output of this goes to script that expects new-line-delimited stream of JSON objects.

But as-is, ti looks like the server’s memory fills-up before ti starts emitting results.

Any ideas how I could bypass this? 







[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux