Difference between revisions of "\conninfo"
Jump to navigation
Jump to search
(3 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
<code>\conninfo</code> | <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. | 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) | + | SSL connection (protocol: TLSv1.2, cipher: [[ECDHE]]-[[RSA]]-[[AES256]]-[[GCM]]-[[SHA384]], bits: 256, compression: off) |
+ | == Related == | ||
+ | * [[PostgreSQL meta-commands]] | ||
+ | * [[CREATE USER]] | ||
== See also == | == See also == | ||
− | * {{ | + | * {{psql}} |
[[Category:PostgreSQL]] | [[Category:PostgreSQL]] |
Latest revision as of 10:45, 23 September 2024
\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[edit]
See also[edit]
Advertising: