public inbox for [email protected]  
help / color / mirror / Atom feed
From: Christoph Moench-Tegeder <[email protected]>
To: Marc Millas <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: psql meta command
Date: Fri, 11 Apr 2025 00:41:24 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CADX_1aZOLCixPFOH3f_QXpopQg6LhmG8aVhhik7Fg=3SnLKa4Q@mail.gmail.com>
References: <CADX_1aZOLCixPFOH3f_QXpopQg6LhmG8aVhhik7Fg=3SnLKa4Q@mail.gmail.com>

## Marc Millas ([email protected]):

> 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






view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: psql meta command
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox