Re: minor issue: \c without parameter disconnect current user

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: minor issue: \c without parameter disconnect current user
Дата
Msg-id 20161018181159.75esrzzbbfozbpph@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: minor issue: \c without parameter disconnect current user  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: minor issue: \c without parameter disconnect current user  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: minor issue: \c without parameter disconnect current user  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Robert Haas wrote:
> On Mon, Oct 17, 2016 at 12:49 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> > I expect so \c without parameters has only informational character. But \c
> > reset user.
> 
> Yeah, I use that feature all the time.

And so do the regression tests.

I think what Pavel wants is \conninfo.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: New SQL counter statistics view (pg_stat_sql)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Mention column name in error messages