From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | santosh dwivedi <mwanaag(at)yahoo(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: how to grant select on table using trigger |
Date: | 2005-01-07 18:05:01 |
Message-ID: | 20050107180501.GA90377@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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/
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2005-01-07 19:16:58 | Re: error in start a Data base |
Previous Message | Miguel Angel Mejia Argueta | 2005-01-07 17:47:01 | error in start a Data base |