Re: very concerning, tables hopped from one database to - Mailing list pgsql-general

From Neil Conway
Subject Re: very concerning, tables hopped from one database to
Date
Msg-id 20020421192118.2923e49f.nconway@klamath.dyndns.org
Whole thread Raw
In response to Re: very concerning, tables hopped from one database to  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: very concerning, tables hopped from one database to
Next
From: David Ford
Date:
Subject: Re: very concerning, tables hopped from one database to