Difference between revisions of "\conninfo"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
 
  SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
  
 +
== Related ==
 +
* [[PostgreSQL meta-commands]]
  
 
== See also ==
 
== See also ==

Revision as of 10:13, 10 October 2022

\conninfo outputs information about the current database connection.

\conninfo 
You are connected to database "your_DB" as user "your_user" on host "yourhost.com" (address: "10.10.10.10") at port 5432.
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)

Related

See also

Advertising: