Re: Display output file name in psql prompt?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Display output file name in psql prompt?
Дата
Msg-id 513FA204.3030709@agliodbs.com
обсуждение исходный текст
Ответ на Re: Display output file name in psql prompt?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Display output file name in psql prompt?  (Alex <ash@commandprompt.com>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Display output file name in psql prompt?
Следующее
От: Palle Girgensohn
Дата:
Сообщение: leaking lots of unreferenced inodes (pg_xlog files?), maybe after moving tables and indexes to tablespace on different volume