Re: Is it possible to findout actual owner of table?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Is it possible to findout actual owner of table?
Дата
Msg-id
3918.1268115872@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Is it possible to findout actual owner of table? dipti shah <shahdipti1980@gmail.com>
Re: Is it possible to findout actual owner of table? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is it possible to findout actual owner of table? dipti shah <shahdipti1980@gmail.com>
Re: Is it possible to findout actual owner of table? John R Pierce <pierce@hogranch.com>
Re: Is it possible to findout actual owner of table? dipti shah <shahdipti1980@gmail.com>
Re: Is it possible to findout actual owner of table? John R Pierce <pierce@hogranch.com>
Re: Is it possible to findout actual owner of table? dipti shah <shahdipti1980@gmail.com>
dipti shah  writes:
> 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?

It sounds like you are going to a great deal of trouble to reinvent the
standard behavior.  Why not forget the stored procedure and just let
users create and drop their own tables?

			regards, tom lane
В списке pgsql-general по дате отправления
От: dipti shah
Дата:
От: dipti shah
Дата:
FAQ