Re: very concerning, tables hopped from one database to

From: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: david+cert(at)blue-labs(dot)org, thomas(at)fourpalms(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: very concerning, tables hopped from one database to
Date: 2002-04-21 23:21:18
Message-ID: 20020421192118.2923e49f.nconway@klamath.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 21 Apr 2002 19:10:19 -0400
"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> David Ford <david+cert(at)blue-labs(dot)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(at)rogers(dot)com>
PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Ford 2002-04-22 00:31:38 Re: very concerning, tables hopped from one database to
Previous Message Tom Lane 2002-04-21 23:10:19 Re: very concerning, tables hopped from one database to