Re: How to show the current schema or search path in the psql PROMP

Поиск
Список
Период
Сортировка
От Joshua Tolley
Тема Re: How to show the current schema or search path in the psql PROMP
Дата
Msg-id 4c12712d.5c37e70a.7c04.4e74@mx.google.com
обсуждение исходный текст
Ответ на How to show the current schema or search path in the psql PROMP  (Schwaighofer Clemens <clemens.schwaighofer@tequila.jp>)
Ответы Re: How to show the current schema or search path in the psql PROMP  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
On Wed, Jun 09, 2010 at 05:52:49PM +0900, Schwaighofer Clemens wrote:
> Hi,
>
> I am trying to figure out how I can show the current search_path, or
> better the first search_path entry (the active schema) in the PROMPT
> variable for psql.
>
> Is there any way to do that? I couldn't find anything useful ...

5432 josh@josh# SHOW search_path;
  search_path
----------------
 "$user",public
(1 row)

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

Вложения

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: checkpoint spikes
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: How to show the current schema or search path in the psql PROMP