Re: minor issue: \c without parameter disconnect current user - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: minor issue: \c without parameter disconnect current user
Date
Msg-id CAFj8pRCBjMGgEnfG07_m4jqtnF5fUs-B5G7POa6GqZaazNeeYw@mail.gmail.com
Whole thread Raw
In response to Re: minor issue: \c without parameter disconnect current user  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers


2016-10-18 20:11 GMT+02:00 Alvaro Herrera <alvherre@2ndquadrant.com>:
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.

yes - still something can new for me :)

Pavel
 

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

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Parallel bitmap heap scan
Next
From: Umair Shahid
Date:
Subject: Draft for next update release (scheduled for 27th Oct)