Protect from overflow when proxying Postgres logs
Protect from overflow when proxying Postgres logs

Very long queries logged by Postgres might trip the stdio stream with
the default line buffer limit, so increase the buffer limit to 1 MiB
and place a safeguard to elide very long log lines and continue logging.

edgedb/edgedb,edgedb/edgedb,edgedb/edgedb