psql bug? Segfault from source users != dest users - Mailing list pgsql-admin

From Metzidis, Anthony
Subject psql bug? Segfault from source users != dest users
Date
Msg-id 1B14A1526DF8D01190A000805FA7602207B852D7@medmail4.mednet.ucla.edu
Whole thread Raw
Responses Re: psql bug? Segfault from source users != dest users  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgresql limits
Next
From: Tom Lane
Date:
Subject: Re: psql bug? Segfault from source users != dest users