newbie Connect question

Поиск
Список
Период
Сортировка
От Phil Oelkers
Тема newbie Connect question
Дата
Msg-id s7cd5d47.026@gwpoa1.sch.experian.com
обсуждение исходный текст
Ответы Re: [GENERAL] newbie Connect question  (Jim Richards <grumpy@cyber4.org>)
Список pgsql-general
I'm trying to run the following script through interactive postgres.

CONNECT DATABASE BASEBALL;

CREATE UNIQUE index1 on team(team_name);

If I start postgres as

>psql baseball

the script runs no problem.  If I start it as

>pgsql template1 (or any other database) I get a
cann't connect to database error.  So my question is
how do I connect to more than one database at a time?




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

Предыдущее
От: David Heinecke
Дата:
Сообщение:
Следующее
От: Daniel Stolk
Дата:
Сообщение: How to make a read-write atomic?