Is it possible to findout actual owner of table?

Поиск
Список
Период
Сортировка
От dipti shah
Тема Is it possible to findout actual owner of table?
Дата
Msg-id d5b05a951003082221y6416af68r7c9c6132469d785c@mail.gmail.com
обсуждение исходный текст
Ответы Re: Is it possible to findout actual owner of table?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,
 
I have created the stored procedure that allows particular users to create the table. I want to prevent users to drop the tables owned by someone esle and hence, I am making owner of each table created by this stored procedure to super user(postgres) so that no one will be allowed to drop/alter table. I want to allow to drop/alter the table by actuall user who ran the stored procedure to create the table. Could anyone please suggest me how to proceed with this?
 
Thanks,
Dipti

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

Предыдущее
От: Sam Carleton
Дата:
Сообщение: Re: managing tablespaces like files?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Is it possible to findout actual owner of table?