Re: psql formatting question - Mailing list pgsql-admin

From David G. Johnston
Subject Re: psql formatting question
Date
Msg-id CAKFQuwYkopZtZ_d=dQZDnucADV8VqcEoUOt1MbdBSvXmq+47iQ@mail.gmail.com
Whole thread Raw
In response to psql formatting question  (Edwin UY <edwin.uy@gmail.com>)
List pgsql-admin
On Tuesday, April 1, 2025, Edwin UY <edwin.uy@gmail.com> wrote:

Are there any psql settings that I can set to format the output for below so that the output of settings is wrapped sort of?

Try replacing commas with newlines and see if that result works better for you.
 

 rds.allowed_extensions           | *
 rds.extensions                   | address_standardizer, address_standardizer_data_us, amcheck, autoinc, aws_commons, aws_lambda, aws_s3, bloom, bool
_plperl, btree_gin, btree_gist, citext, cube, dblink, dict_int, dict_xsyn, earthdistance, flow_control, fuzzystrmatch, h3,

Hoping to get the output like below maybe or something close to it.

               name               |                       setting
 rds.allowed_delegated_extensions |
 rds.allowed_extensions           | *
 rds.extensions                   | address_standardizer, address_standardizer_data_us, amcheck, autoinc, aws_commons, aws_lambda, aws_s3, bloom, bool_plperl,
                                    btree_gin, btree_gist, citext, cube, dblink, dict_int, dict_xsyn, earthdistance, flow_control,

David J.
 

pgsql-admin by date:

Previous
From: Edwin UY
Date:
Subject: psql formatting question
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: psql formatting question