From bba2fbc6238b2a0a7f348fbbb5c31ffa7623bc39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Herrera?= Date: Sat, 22 Feb 2025 10:05:26 +0100 Subject: Change \conninfo to use tabular format (Initially the proposal was to keep \conninfo alone and add this feature as \conninfo+, but we decided against keeping the original.) Also display more fields than before, though not as many as were suggested during the discussion. In particular, we don't show 'role' nor 'session authorization', for both which a case can probably be made. These can be added as followup commits, if we agree to it. Some (most?) reviewers actually reviewed rather different versions of the patch and do not necessarily endorse the current one. Co-authored-by: Maiquel Grassi Co-authored-by: Hunaid Sohail Reviewed-by: Nathan Bossart Reviewed-by: Peter Eisentraut Reviewed-by: Sami Imseih Reviewed-by: David G. Johnston Reviewed-by: Jim Jones Reviewed-by: Tom Lane Reviewed-by: Pavel Luzanov Reviewed-by: Dean Rasheed Reviewed-by: Erik Wienhold Discussion: https://postgr.es/m/CP8P284MB24965CB63DAC00FC0EA4A475EC462@CP8P284MB2496.BRAP284.PROD.OUTLOOK.COM --- doc/src/sgml/ref/psql-ref.sgml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index a8a0b694bbf..3edbd65e46c 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1070,9 +1070,10 @@ INSERT INTO tbls1 VALUES ($1, $2) \parse stmt1 \conninfo - - Outputs information about the current database connection. - + + Outputs information about the current database connection, + including TLS-related information if TLS is in use. + -- cgit v1.2.3