Re: [HACKERS] pg_dump - segfault with -z option

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: auer(at)kom(dot)id(dot)ethz(dot)ch
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] pg_dump - segfault with -z option
Date: 1998-11-24 16:25:46
Message-ID: 26339.911924746@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Karl Auer <auer(at)kom(dot)id(dot)ethz(dot)ch> writes:
> When I use the "-z" option (dump permissions)when dumping a database I
> have, I get a segfault and no output.

Are you on Postgres 6.4? I recall fixing several nasty problems with
permissions in pg_dump between 6.3.2 and 6.4.

If you are on 6.4, could you use gdb or something to get a backtrace
showing exactly where pg_dump dies?

FWIW, I currently use -z routinely, but my database is probably even
simpler than yours ... no triggers, for example. My guess is pg_dump
doesn't work for permissions attached to a trigger, or something along
that line.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Karl Auer 1998-11-24 16:38:40 Re: [HACKERS] pg_dump - segfault with -z option
Previous Message Tom Lane 1998-11-24 16:17:58 Re: [HACKERS] Parser bug?