Re: How to list current user and database in PSQL - Mailing list pgsql-general

From Bosco Rama
Subject Re: How to list current user and database in PSQL
Date
Msg-id 52C316D1.1020209@boscorama.com
Whole thread Raw
In response to Re: How to list current user and database in PSQL  (Bosco Rama <postgres@boscorama.com>)
List pgsql-general
On 12/31/13 11:06, Bosco Rama wrote:
>
> Use the connect meta without arguments, i.e.
>
> xyz> \c
> You are now connected to database "xyz" as user "demo".

Hmmm.  Scratch that.  That actually does a reconnect.  Probably not
what you want, especially is you are in the middle of a transaction. :-(

Bosco.


pgsql-general by date:

Previous
From: Bosco Rama
Date:
Subject: Re: How to list current user and database in PSQL
Next
From: peterlen
Date:
Subject: Re: How to list current user and database in PSQL