Re: [GENERAL] pg_dump in 7.2.4 with trigger functions

2005-01-31 Thread Tom Lane
Steve Wampler <[EMAIL PROTECTED]> writes: > In fact, now that I look more at the dump file, it's kinda interesting. > Near the top are the lines: > \connect "atst.logdb" atst > SET client_encoding = 'SQL_ASCII'; > SET check_function_bodies = false; > SET SESSION AUTHORIZATION

Re: [GENERAL] pg_dump in 7.2.4 with trigger functions

2005-01-31 Thread Steve Wampler
Tom Lane wrote: Steve Wampler <[EMAIL PROTECTED]> writes: ->gunzip I see all the permission denied messages, but why? How can a user create a dump that they cannot load back in (the user has createdb *and* createuser permissions)? Which part of "must be superuser" are you not following? The dat

Re: [GENERAL] pg_dump in 7.2.4 with trigger functions

2005-01-31 Thread Bruno Wolff III
On Mon, Jan 31, 2005 at 09:45:16 -0700, Steve Wampler <[EMAIL PROTECTED]> wrote: > Steve Wampler wrote: > > > >I realize 7.2.4 is long in the tooth, but it's an old system that's been > >running for several years now. Someday we'll upgrade... There are more recent releases even within the 7.2.x

Re: [GENERAL] pg_dump in 7.2.4 with trigger functions

2005-01-31 Thread Steve Wampler
Steve Wampler wrote: I realize 7.2.4 is long in the tooth, but it's an old system that's been running for several years now. Someday we'll upgrade... However, part of the upgrade will involve dumping and restoring the tables. I've just did a little playing with pg_dump on one of the databases and

Re: [GENERAL] pg_dump in 7.2.4 with trigger functions

2005-01-31 Thread Tom Lane
Steve Wampler <[EMAIL PROTECTED]> writes: > ->gunzip ERROR: permission denied to set session authorization > ERROR: permission denied for language c > ERROR: must be superuser to create procedural language > I see all the permission denied messages, but why? How can a user > create a dump tha

[GENERAL] pg_dump in 7.2.4 with trigger functions

2005-01-31 Thread Steve Wampler
I realize 7.2.4 is long in the tooth, but it's an old system that's been running for several years now. Someday we'll upgrade... However, part of the upgrade will involve dumping and restoring the tables. I've just did a little playing with pg_dump on one of the databases and discovered that I ca