Re: Trigger is not working for Inserts from the application

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Kiran <bangalore(dot)kiran(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Trigger is not working for Inserts from the application
Date: 2016-09-10 21:05:23
Message-ID: 9983d47a-fb78-e886-260a-2d107cfbd1bd@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/10/2016 02:02 PM, Kiran wrote:
> Hi Tom,
>
> I have checked and the trigger is not disabled.
>
> and \drds results
> Role=blank
> database = mydatabase
> settings = default_text_search_config=pg_catalog.swedish
>
> Any other tips or suggestions please.

Did you see this post?:

https://www.postgresql.org/message-id/10840.1473539270%40sss.pgh.pa.us

>
> regards
> Kiran
>
>
>
> On Sat, Sep 10, 2016 at 9:26 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us
> <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>> wrote:
>
> Kiran <bangalore(dot)kiran(at)gmail(dot)com <mailto:bangalore(dot)kiran(at)gmail(dot)com>>
> writes:
> > But I do not know how to check whether the application is subject to
> > different ALTER USER .... SET parameters.
>
> psql's \drds ("display role/database SETs") would help.
>
> BTW, have you checked that the trigger is not disabled, and that there
> isn't another trigger undoing its work? (psql's \d command on the table
> should show these things.)
>
> regards, tom lane
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2016-09-10 21:07:23 Re: Question about locking and pg_locks
Previous Message Kiran 2016-09-10 21:02:56 Re: Trigger is not working for Inserts from the application