Re: Psql meta-command conninfo+

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Psql meta-command conninfo+
Дата
Msg-id f4fc729d-7903-4d58-995d-6cd146049992@eisentraut.org
обсуждение исходный текст
Ответ на RE: Psql meta-command conninfo+  (Maiquel Grassi <grassi@hotmail.com.br>)
Ответы RE: Psql meta-command conninfo+  (Maiquel Grassi <grassi@hotmail.com.br>)
Re: Psql meta-command conninfo+  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
The existing \conninfo command gets its values from libpq APIs.  You are 
changing all of this to make a server query, which is a totally 
different thing.  If we wanted to take a change like this, I don't think 
it should be reusing the \conninfo command.

But I don't really see the point of this.  The information you are 
querying is already available in various system views.  This proposal is 
just a shorthand for a collection of various random things some people 
like to see.  Like, by what reason is application name included as 
connection info?  Why not any other session settings?  What about 
long-term maintenance: By what logic should things be added to this?



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Building with musl in CI and the build farm
Следующее
От: Melanie Plageman
Дата:
Сообщение: Re: Streaming read-ready sequential scan code