Search Postgresql Archives

Re: Table Updatable By Trigger Only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tom,

Ok, thanks.

On Tue, Jun 20, 2017 at 3:21 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
Osahon Oduware <osahon.gis@xxxxxxxxx> writes:
> The pg_trigger_depth() function solved the issue. Thanks a lot, you made my
> day.

If you start finding that that gets in your way for other purposes, you
might try making table A's trigger function be SECURITY DEFINER and
owned by a role that has permissions to change table B.

                        regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux