Thread: alter owner on schema?

alter owner on schema?

From
CSN
Date:
Is there a way to change the owner of a schema
(without deleting/recreating it)?




__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover

Re: alter owner on schema?

From
Bruce Momjian
Date:
CSN wrote:
> Is there a way to change the owner of a schema
> (without deleting/recreating it)?

No, I don't see a way to change the owner.  You might be able to update
the pg_namespace table to do this, but I am not sure.  Of course, you
can control the permissions on the schema easily with GRANT ON SCHEMA.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073