dbTalk Databases Forums  

Re: [BUGS] BUG #1222: database owner should have implicit control

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] BUG #1222: database owner should have implicit control in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Robert Treat
 
Posts: n/a

Default Re: [BUGS] BUG #1222: database owner should have implicit control - 08-18-2004 , 07:31 AM






On Tue, 2004-08-17 at 15:02, Tom Lane wrote:
Quote:
"PostgreSQL Bugs List" <pgsql-bugs (AT) postgresql (DOT) org> writes:
Database owner should have implicit control over public schema

There has been some discussion of causing the public schema to be owned
by the DB owner, but this has not happened yet, partly because we are
not sure of all the consequences.

was just looking at this this morning. is there anyway to change
ownership of a schema? i couldn't find one and thought i'd ask before
whacking on the system tables.

Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
  #2  
Old   
Fabien COELHO
 
Posts: n/a

Default Re: [BUGS] BUG #1222: database owner should have implicit control - 08-18-2004 , 07:59 AM







Quote:
Database owner should have implicit control over public schema

There has been some discussion of causing the public schema to be owned
by the DB owner, but this has not happened yet, partly because we are
not sure of all the consequences.

was just looking at this this morning. is there anyway to change
ownership of a schema? i couldn't find one and thought i'd ask before
whacking on the system tables.
"ALTER SCHEMA foo OWNER TO bla" if you're a super user.

--
Fabien Coelho - coelho (AT) cri (DOT) ensmp.fr

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
  #3  
Old   
Robert Treat
 
Posts: n/a

Default Re: [BUGS] BUG #1222: database owner should have implicit control - 08-18-2004 , 02:52 PM



On Wed, 2004-08-18 at 08:57, Fabien COELHO wrote:
Quote:
Database owner should have implicit control over public schema

There has been some discussion of causing the public schema to be owned
by the DB owner, but this has not happened yet, partly because we are
not sure of all the consequences.

was just looking at this this morning. is there anyway to change
ownership of a schema? i couldn't find one and thought i'd ask before
whacking on the system tables.

"ALTER SCHEMA foo OWNER TO bla" if you're a super user.

And using 8.0... I saw that but was looking for a 7.4 solution...

Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
  #4  
Old   
Fabien COELHO
 
Posts: n/a

Default Re: [BUGS] BUG #1222: database owner should have implicit control - 08-19-2004 , 02:44 AM




Quote:
"ALTER SCHEMA foo OWNER TO bla" if you're a super user.

And using 8.0... I saw that but was looking for a 7.4 solution...
Maybe: UPDATE pg_namespace SET nspowner=<bla-number> WHERE nspname='foo';

--
Fabien Coelho - coelho (AT) cri (DOT) ensmp.fr

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.