Re: Psql meta-command conninfo+

Поиск
Список
Период
Сортировка
От Sami Imseih
Тема Re: Psql meta-command conninfo+
Дата
Msg-id CAA5RZ0vmKYcGbZqtxMcPTFrNPGm1-9_9U3nnYSM7aG+Oin5gjw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Psql meta-command conninfo+  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Psql meta-command conninfo+
Список pgsql-hackers
> If we want to include 'role' in this output, what I'd propose is to
> have \conninfo issue "SHOW role", which is accepted by every server
> version.  If it fails (say because we're in an aborted transaction),
> just omit that row from the output.

v37- would have handled this as the list of PQ parameters was
dynamically generated and only those parameters
reported by the specific version of the server showed up in
\conninfo+.

Of course that may have led to confusion in which some versions
show role while others did not, but that could be dealt with in
documentation.

--

Sami Imseih
Amazon Web Services (AWS)



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