v13.10

Instead of a sentence like this:
You are connected to database "postgres" as user "postgres" via socket in "/var/run/postgresql" at port "5433".

I'd rather have something tabular like:
   keyword  |   value
------------+-----------------------
  database  | postgres
  user      | postgres
  host      | /var/run/postgresql
  port      |  5433

Running psql with the -E option didn't help.  There's a github project named ibarwick/conninfo which looked useful, but it seems to only parse connection strings.

--
Born in Arizona, moved to Babylonia.


Reply via email to