Difference between revisions of "\conninfo"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
<code>\conninfo</code> outputs information about the current database connection.
 
<code>\conninfo</code> outputs information about the current database connection.
 +
* https://www.postgresql.org/docs/current/app-psql.html
  
* https://www.postgresql.org/docs/current/app-psql.html
+
<code>\conninfo</code>
 +
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)
  
  

Revision as of 10:12, 10 October 2022

Advertising: