Re: very concerning, tables hopped from one database to

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: very concerning, tables hopped from one database to
Дата
Msg-id 20020421192118.2923e49f.nconway@klamath.dyndns.org
обсуждение исходный текст
Ответ на Re: very concerning, tables hopped from one database to  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sun, 21 Apr 2002 19:10:19 -0400
"Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> David Ford <david+cert@blue-labs.org> writes:
> > This then begs the question, why are they not in the hmzbook database?
> >  All the tables were added via psql -f /tmp/dump.hmzbook which has one
> > connect line in it.  \connect hmzbook xxxx.
>
> What would happen if that \connect command failed for some reason?
> (hmzbook not there, wrong user, authentication failure, ...)

AFAICT psql should bail out and not continue to restore the dump --
which is probably the most reasonable behavior, anyway.

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: very concerning, tables hopped from one database to
Следующее
От: David Ford
Дата:
Сообщение: Re: very concerning, tables hopped from one database to