Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bind

Поиск
Список
Период
Сортировка
От Alexander Lakhin
Тема Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bind
Дата
Msg-id 2e5b89af-a351-ff0a-000c-037ac28314ab@gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx  (vignesh C <vignesh21@gmail.com>)
Список pgsql-hackers
Hello Michael and Anthonin,

22.08.2024 10:33, Michael Paquier wrote:
> Looks OK to me.  I have spent more time double-checking the whole, and
> it looks like we're there, so applied.  Now let's play with it in more
> regression tests.  Note that the refactoring patch has been merged
> with the original one in a single commit.

Please look at an assertion failure, caused by \bind_named:
regression=# SELECT $1 \parse s
\bind_named s

regression=# \bind_named
\bind_named: missing required argument
regression=# 1 \g
psql: common.c:1501: ExecQueryAndProcessResults: Assertion `pset.stmtName != ((void *)0)' failed.

Best regards,
Alexander



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