Hi Gilles, On Sun, 27 Nov 2016 21:54:46 +0100 Gilles Darold <gilles.dar...@dalibo.com> wrote:
> I've attached the v15 of the patch that applies your changes/fixes and > remove the call to strtok(). I like the idea of replacing the strtok() call with sscanf() but I see problems. It won't work if log_filename begins with a space because (the docs say) that a space in the sscanf() format represents any amount of whitespace. As written, there's a potential buffer overrun in log_format. You could fix this by making log_format as large as lbuffer, but this seems clunky. Regards, Karl <k...@meme.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers