From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain) |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Table permissions problem |
Date: | 1998-08-12 20:07:54 |
Message-ID: | 199808122007.QAA16427@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> On Friday I asked.
>
> > Has something changed recently? I created a new database and it won't
> > let me insert unless I specifically grant myself privledges. It
> > shows as being owned by me. Also, I can't create a view. It says
> > "pg_rewrite: Permission denied." and doesn't create the view.
>
> I have since found out that it was changed so that no one, not even the
> owner, had full privs on the tables. I went in and changed my code
> to grant ALL on each database to the db owner. Everything is fine
> except that I still can't create a view. I still get that "pg_rewrite:
> Permission denied." error. Any ideas?
>
Only superuser. From TODO:
CREATE VIEW requires super-user priviledge
This is because someone who can modify pg_rewrite can create their own
view to modify any table.
--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas G. Lockhart | 1998-08-13 01:43:40 | Re: [HACKERS] Re: partial index |
Previous Message | D'Arcy J.M. Cain | 1998-08-12 19:44:53 | Table permissions problem |