Re: SET database TO ...?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SET database TO ...?
Дата
Msg-id 11018.1063642522@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SET database TO ...?  (ow <oneway_111@yahoo.com>)
Список pgsql-sql
ow <oneway_111@yahoo.com> writes:
> --- Achilleus Mantzios <achill@matrix.gatewaynet.com> wrote:
>> dynacom=# \c bab
>> You are now connected to database bab.

> I'm actually looking for a way to set database from a *script*, not psql
> console, if this is possible (similar to "SET search_path TO whatever;").

If the script is being fed to psql, it can use \c ...
        regards, tom lane


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

Предыдущее
От: ow
Дата:
Сообщение: Re: SET database TO ...?
Следующее
От: ow
Дата:
Сообщение: A simple way to Create type ...?