Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bind - Mailing list pgsql-hackers

From Alexander Lakhin
Subject Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bind
Date
Msg-id 2e5b89af-a351-ff0a-000c-037ac28314ab@gmail.com
Whole thread Raw
In response to Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx  (vignesh C <vignesh21@gmail.com>)
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: A starter task
Next
From: Peter Geoghegan
Date:
Subject: Re: Adding skip scan (including MDAM style range skip scan) to nbtree