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

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: minor issue: \c without parameter disconnect current user
Date: 2016-10-18 18:11:59
Message-ID: 20161018181159.75esrzzbbfozbpph@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas wrote:
> On Mon, Oct 17, 2016 at 12:49 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-10-18 18:14:00 Re: Mention column name in error messages
Previous Message Robert Haas 2016-10-18 18:11:57 Re: New SQL counter statistics view (pg_stat_sql)