The number of character limitation of custom script on pgbench

Поиск
Список
Период
Сортировка
От Sawada Masahiko
Тема The number of character limitation of custom script on pgbench
Дата
Msg-id CAD21AoDs-7gyWHqwXvArEjYsToivQdjRVNSpz_pMp0XbLmgPNQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: The number of character limitation of custom script on pgbench  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Hi all,

The function of custom script of pgbench allows only  BUFSIZ
(i.g.,1024byte) or less as length of a SQL.
I think that  when we want to bench mark with long SQL then it will difficult.
At that time even pgbench doesn't return ERROR. It will try to do
query with the broken SQL.
And user can not know why function of custom script is not work fine.
It look as just error of SQL to user.

So I'm thinking following solution.
(1) to increase buffer size
(2) to change to variable buffer size
(3) to return ERROR with information

Thought?


Regards,

-------
Sawada Masahiko



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

Предыдущее
От: Luca Ferrari
Дата:
Сообщение: Re: [OT] why not keeping the original column name in catalog after a drop?
Следующее
От: Jeremy Harris
Дата:
Сообщение: Re: Fast insertion indexes: why no developments