From: | Karl DeBisschop <kdebisschop(at)range(dot)infoplease(dot)com> |
---|---|
To: | grumpy(at)cyber4(dot)org |
Cc: | louis(at)bertrandtech(dot)on(dot)ca, pgsql-general(at)hub(dot)org |
Subject: | Re: [GENERAL] ownership of DBs and tables? |
Date: | 2000-02-17 04:25:22 |
Message-ID: | 200002170425.XAA25978@skillet.infoplease.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>>Is there a way of changing the ownership of tables and even entire
>>databases?
>
>Um, after the table has been created no, but you can set up users and
>accounts, so as you, try (in ksh, not sure about others)
Um, if you are a superuser:
UPDATE pg_class SET relowner=<newowner> where relmane=<table>;
I don't think databases have owners - or at least owner is not listed
in the pg_database table.
--
Karl DeBisschop <kdebisschop(at)alert(dot)infoplease(dot)com>
617.832.0332 (Fax: 617.956.2696)
Information Please - your source for FREE online reference
http://www.infoplease.com - Your Ultimate Fact Finder
http://kids.infoplease.com - The Great Homework Helper
Netsaint Plugins Development
http://netsaintplug.sourceforge.net
From | Date | Subject | |
---|---|---|---|
Next Message | Louis Bertrand | 2000-02-17 04:52:59 | Re: [GENERAL] ownership of DBs and tables? |
Previous Message | mathprof | 2000-02-17 04:22:39 | Deleting large objects sans index |