psql bug? Segfault from source users != dest users

From: "Metzidis, Anthony" <Metzidis(at)mednet(dot)ucla(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: psql bug? Segfault from source users != dest users
Date: 2001-03-15 19:17:16
Message-ID: 1B14A1526DF8D01190A000805FA7602207B852D7@medmail4.mednet.ucla.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hey guys,
I get a segfault when dumping a database from one machine to the other when
the new machine doesn't have a user that is on the other.

for example:
admin exists on source machine but not destination
when I 'psql -U postgres < input.sql'
I get:

\connect: FATAL 1: SetUserId: user 'admin' is not in 'pg_shadow'
Segmentation fault (core dumped)

I can see why that should produce an error, but not a core dump.

--tony

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2001-03-15 19:42:59 Re: psql bug? Segfault from source users != dest users
Previous Message Tom Lane 2001-03-15 18:31:23 Re: Postgresql limits