[7.4] "permissions problem" with pl/pgsql function

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема [7.4] "permissions problem" with pl/pgsql function
Дата
Msg-id 20040119154535.L15422@ganymede.hub.org
обсуждение исходный текст
Ответы Re: [7.4] "permissions problem" with pl/pgsql function  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [7.4] "permissions problem" with pl/pgsql function  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Just had a client point this out to me, and am wondering if its supposed
to happen:

420_test=> select
dropgeometrycolumn('420_test','lroadline61','roads61_geom');
ERROR:  permission denied for relation pg_attribute
CONTEXT:  PL/pgSQL function "dropgeometrycolumn" line 19 at execute statement

the database was created as:

CREATE DATABASE <db> WITH OWNER = <owner>

and I'm connected to the database as the owner ... shouldn't the "system
tables" also be owned by the owner?


----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Old binary packages.
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Old binary packages.