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

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(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-19 07:31:04
Message-ID: CAFj8pRCBjMGgEnfG07_m4jqtnF5fUs-B5G7POa6GqZaazNeeYw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2016-10-18 20:11 GMT+02:00 Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>:

> 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.
>

yes - still something can new for me :)

Pavel

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Umair Shahid 2016-10-19 09:06:15 Draft for next update release (scheduled for 27th Oct)
Previous Message Andres Freund 2016-10-19 07:09:30 Re: Parallel bitmap heap scan