Andrew Dunstan <[EMAIL PROTECTED]> writes:
> I'll try to get a patch out for just the stderr case, which should be 
> back-patchable, then adjust the CSVlog patch to use it.

Sounds like a plan.

> I'm thinking of handling the partial lines with a small dynahash of 
> StringInfo buffers, which get discarded whenever we don't have a partial 
> line for the PID.

A hashtable might be overkill --- based on reports so far, it's unlikely
you'd have more than two or three messages being received concurrently,
so a simple list or array might be quicker to search.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to