pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psql bug?  Segfault from source users != dest users
2+ messages / 2 participants
[nested] [flat]

* psql bug?  Segfault from source users != dest users
@ 2001-03-15 19:17  Metzidis, Anthony <Metzidis@mednet.ucla.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Metzidis, Anthony @ 2001-03-15 19:17 UTC (permalink / raw)
  To: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: psql bug? Segfault from source users != dest users
@ 2001-03-15 19:42  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Metzidis, Anthony <Metzidis@mednet.ucla.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2001-03-15 19:42 UTC (permalink / raw)
  To: Metzidis, Anthony <Metzidis@mednet.ucla.edu>; +Cc: pgsql-admin

"Metzidis, Anthony" <Metzidis@mednet.ucla.edu> writes:
> \connect: FATAL 1:  SetUserId: user 'admin' is not in 'pg_shadow'
> Segmentation fault (core dumped)

What version are you running?  I seem to recall that psql had a bug like
that for awhile, but I don't see it in 7.0.2 or later.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-03-15 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-15 19:17 psql bug?  Segfault from source users != dest users Metzidis, Anthony <Metzidis@mednet.ucla.edu>
2001-03-15 19:42 ` Re: psql bug? Segfault from source users != dest users Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox