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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, 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:23:39
Message-ID: 26581.1476815019@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> 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.

pg_dump relies on it too, I think.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-10-18 18:25:27 Re: [HACKERS] 9.5 new setting "cluster name" and logging
Previous Message Robert Haas 2016-10-18 18:14:00 Re: Mention column name in error messages