Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group