Re: psql meta command

Christoph Moench-Tegeder <cmt@burggraben.net>

From: Christoph Moench-Tegeder <cmt@burggraben.net>
To: Marc Millas <marc.millas@mokadb.com>
Cc: "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2025-04-10T22:41:24Z
Lists: pgsql-general
## Marc Millas (marc.millas@mokadb.com):

> on a customer postgres db, using psql, if I post \  to initiate, for
> exemple \x
> that psql immediately exits.

I've seen that happen with broken terminals, mostly some "web shell"
stuff. Ditch that, it's most likely broken in other ways, too.

> somewhat boring as it blocks all psql meta commands.
> Is there a way to get the extended display without posting a \  ?

If you can live with expanded mode being constantly on, start psql
with parameter -x as in "--expanded".

Regards,
Christoph

-- 
Spare Space