| От | Fabien COELHO |
|---|---|
| Тема | Re: BUG #12379: pgbench should hint to pgbench -i |
| Дата | |
| Msg-id | alpine.DEB.2.10.1508222126270.11010@sto обсуждение исходный текст |
| Ответ на | Re: BUG #12379: pgbench should hint to pgbench -i (Heikki Linnakangas <hlinnaka@iki.fi>) |
| Список | pgsql-bugs |
Hello Heikki, >>>> Here's a v7 patch which display the hint only if SQLSTATE is >>>> ERRCODE_UNDEFINED_TABLE and use the message Tom suggested, as there >>>> wasn't any better suggestion or strong objection with it in the other >>>> thread. >>> >>> I'm wondering why you added the define. Isn't-there some convenient >>> include to get errcode definitions? >> >> IIRC correctly, you have to include postgres.h for that. I supposed it >> was better to define it than adding such an include, since it shouldn't >> change and it's already done like this in vacuumdb.c. > > Ok, committed. Thanks. Note that the author of the final version of the patch is mostly Julien, who implemented Tom's suggested improvement, rather than myself. -- Fabien.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера