Question :
I need it in order to create a new database with initdb
with the same locale, otherwise pg_upgrade
will fail.
Answer :
One option is to use psql -l
, but it outputs many lines if there a lot of databases.
I need it in order to create a new database with initdb
with the same locale, otherwise pg_upgrade
will fail.
One option is to use psql -l
, but it outputs many lines if there a lot of databases.