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
regards, tom lane
pgsql-hackers by date
|Next:||From: Karl Auer||Date: 1998-11-24 16:38:40|
|Subject: Re: [HACKERS] pg_dump - segfault with -z option|
|Previous:||From: Tom Lane||Date: 1998-11-24 16:17:58|
|Subject: Re: [HACKERS] Parser bug? |