Dave Page <dp...@pgadmin.org> writes: > OK - something like this? Should keep non-printable/control characters > out of logs too...
Personally I'd use guc_strdup and then modify the string in-place, but that's just a matter of taste I guess. Otherwise it seems reasonable. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers