On Wed, Nov 13, 2013 at 10:27 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Peter Eisentraut <pete...@gmx.net> writes: >> On 11/13/13, 6:18 AM, Sawada Masahiko wrote: >>> The function of custom script of pgbench allows only BUFSIZ >>> (i.g.,1024byte) or less as length of a SQL. >>> So I'm thinking following solution. >>> (1) to increase buffer size >>> (2) to change to variable buffer size >>> (3) to return ERROR with information > >> I'd go for #2. But at least an error. > > #2 definitely. I've run into this limitation myself recently, and > so have other people. It's time to fix it. >
Yes, I also think #2 is good. I will implement the patch. Regards, ------- Sawada Masahiko -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers