Re: Display output file name in psql prompt?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Display output file name in psql prompt?
Date: 2013-03-12 21:45:40
Message-ID: 513FA204.3030709@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom,

> If you're proposing changing the contents of the default prompt, I think
> that has very little chance of passing. A new option for something to
> add into a custom prompt might get accepted. I'm not sure that that
> approach would do much for the scenario you describe, since it's
> unlikely that anyone would add it to their prompt (at least not before
> they'd gotten burnt...). However, I don't recall hearing of anyone
> getting confused like this before, and you say you figured it out pretty
> quickly, so it doesn't seem like a big problem.

Well, I think having a \ command to show the current \o setting would be
fine. Actually, it might be better to show *all* psql settings with a
general command, including things like \timing and \pset.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Palle Girgensohn 2013-03-13 00:37:13 leaking lots of unreferenced inodes (pg_xlog files?), maybe after moving tables and indexes to tablespace on different volume
Previous Message Tom Lane 2013-03-12 21:41:59 Re: Display output file name in psql prompt?