Re: how to grant select on table using trigger

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: how to grant select on table using trigger
Дата
Msg-id 20050107180501.GA90377@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: how to grant select on table using trigger  (santosh dwivedi <mwanaag@yahoo.com>)
Список pgsql-admin
On Fri, Jan 07, 2005 at 02:33:50AM -0800, santosh dwivedi wrote:

> i want to use trigger because my one of application connects to
> databse and creates tables in database dynamically , other user
> want to acces it . as when application creates table in databse it
> does not GRANT select to other users. thats why i thought to grant
> permission by trigger.

Do you have control over how the application works?  Is it possible
to configure or modify the application to issue the appropriate
GRANTs?

> i know the newly created table name is listed in one Table called
> queries.  can you pls write sample code so that i can grant permission
> on tables created by application

I *did* show sample code.  If it doesn't work for you then please
provide more information, like any error messages that resulted.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: "Miguel Angel Mejia Argueta"
Дата:
Сообщение: error in start a Data base
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: error in start a Data base