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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx
Дата
Msg-id 4e9ef9f3-0227-45cf-a2a6-5b43ce1bd2a1@eisentraut.org
обсуждение исходный текст
Ответ на Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bind
Список pgsql-hackers
On 24.07.24 07:04, Michael Paquier wrote:
> This commit introduces three additional commands: \parse, \bindx and
> \close.
> \parse creates a prepared statement using extended protocol.
> \bindx binds and execute an existing prepared statement using extended
> protocol.
> \close closes an existing prepared statement using extended protocol.

This commit message confused me, because I don't think this is what the 
\bindx command actually does.  AFAICT, it only binds, it does not 
execute.  At least that is what the documentation in the content of the 
patch appears to indicate.

I'm not sure \bindx is such a great name.  The "x" stands for "I ran out 
of ideas". ;-)  Maybe \bind_named or \bindn or something like that.  Or 
use the existing \bind with a -name argument?




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Built-in CTYPE provider
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Built-in CTYPE provider