Re: Permissions problem with sequences - Mailing list pgsql-bugs

From Christopher Kings-Lynne
Subject Re: Permissions problem with sequences
Date
Msg-id 413BC214.5060103@familyhealth.com.au
Whole thread Raw
In response to Re: Permissions problem with sequences  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Permissions problem with sequences  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
>>There is, however, an ownership problem with restoring sequences
>>in 8.0.0beta.  In 7.4.5, for example, pg_dump issues a SET SESSION
>>AUTHORIZATION command and then creates a table, so implicitly-created
>>sequences are restored with the correct ownership.  In 8.0.0beta2,
>>however, pg_dump doesn't issue SET SESSION AUTHORIZATION but rather
>>creates a table and then issues ALTER TABLE ... OWNER TO.

Oer.  I'd better look at that :(

> Yeah, we still need to find a solution for that.

That was a known problem?  No-one had told me!

 > I'd prefer not to
> back out the ALTER OWNER TO changes, but I will if nothing else
> presents itself.

I'd say that the OWNER TO mode fixes many more bugs than it created,
plus they can always dump in the old way with a command line switch.
However, of course the best thing is to just fix it, which I guess I'll
have a crack at...

Chris

pgsql-bugs by date:

Previous
From: eFax Signup Administrator (auto reply)
Date:
Subject: Re: Mail Delivery (failure signup@mail.efax.com)
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Permissions problem with sequences