469,935 Members | 1,924 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,935 developers. It's quick & easy.

Changing schema owner?

Is there a way to change a schema owner other than dump/restore?
How about changing the nspowner in pg_namespace? Will that do the trick
without any negative consecuences?
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 22 '05 #1
2 6359
Francisco Reyes <li***@natserv.com> writes:
Is there a way to change a schema owner other than dump/restore?
How about changing the nspowner in pg_namespace? Will that do the trick
without any negative consecuences?


I think that will work, but experiment in a spare database ...

regards, tom lane

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

Nov 22 '05 #2
On Tue, 10 Feb 2004, Tom Lane wrote:
Francisco Reyes <li***@natserv.com> writes:
Is there a way to change a schema owner other than dump/restore?
How about changing the nspowner in pg_namespace? Will that do the trick
without any negative consecuences?


I think that will work, but experiment in a spare database ...
regards, tom lane


I don't think I ever replied to this.
It worked. Changing nspowner in pg_namespace changed the owner of the
schema.

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Manning | last post: by
1 post views Thread by Kelly Prendergast | last post: by
reply views Thread by Manning | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.