Re: The number of character limitation of custom script on pgbench

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: The number of character limitation of custom script on pgbench
Дата
Msg-id 2053.1384349277@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: The number of character limitation of custom script on pgbench  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: The number of character limitation of custom script on pgbench  (Sawada Masahiko <sawada.mshk@gmail.com>)
Re: The number of character limitation of custom script on pgbench  (Sawada Masahiko <sawada.mshk@gmail.com>)
Список pgsql-hackers
Peter Eisentraut <peter_e@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.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: The number of character limitation of custom script on pgbench
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Fast insertion indexes: why no developments