Re: The number of character limitation of custom script on pgbench
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: The number of character limitation of custom script on pgbench |
| Дата | |
| Msg-id | 52837D60.1040604@gmx.net обсуждение исходный текст |
| Ответ на | 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
|
| Список | pgsql-hackers |
On 11/13/13, 6:18 AM, Sawada Masahiko wrote: > 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 I'd go for #2. But at least an error.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера