Search Postgresql Archives

Re: How to list current user and database in PSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux