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