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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx
Дата
Msg-id ZaoGnyzK60CqwE4_@paquier.xyz
обсуждение исходный текст
Ответ на Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx  (Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>)
Ответы Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx  (vignesh C <vignesh21@gmail.com>)
Список pgsql-hackers
On Thu, Jan 18, 2024 at 09:25:16AM +0100, Anthonin Bonnefoy wrote:
> From what I can tell, there's no change in the behaviour. All paths
> would eventually go through HandleSlashCmds's cleaning logic. This is
> also mentioned in ignore_slash_options's comment.

Yeah, I can confirm that.  I would be really tempted to backpatch that
because that's a bug: we have to call ignore_slash_options() for
inactive branches when a command parses options with OT_NORMAL.  Now,
I cannot break things, either.

> Done. patch 1 adds ignore_slash_options to bind. patch 2 adds the new
> \bindx, \close and \parse commands.

0001 has been applied on HEAD.
--
Michael

Вложения

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Synchronizing slots from primary to standby
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: "ERROR: could not open relation with OID 16391" error was encountered when reindexing