From: | Alban Hertroys <haramrae(at)gmail(dot)com> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
Cc: | Kiran <bangalore(dot)kiran(at)gmail(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Rows are repeating by the trigger function |
Date: | 2016-10-31 14:45:01 |
Message-ID: | CAF-3MvNKoXff3=_3R893Jd7j1f+PCCSNj-+vXRJo2s9km4aEAw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 31 October 2016 at 14:41, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:
> On 10/31/2016 02:06 AM, Kiran wrote:
>> I know 94 = 1 + (3 * 31).
>> I am just having a normal insert statement into cf_question table.
>
> Are there any other triggers on the tables?
I'm fairly confident that the duplicates are from updates on the
cf_question table. Since the trigger also fires on update and then
inserts another record, that would explain the duplication pretty
well.
Nevertheless, if there are other triggers those bear investigation.
--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.
From | Date | Subject | |
---|---|---|---|
Next Message | Christofer C. Bell | 2016-10-31 14:50:12 | Re: initdb createuser commands |
Previous Message | Steve Crawford | 2016-10-31 14:31:38 | Re: Way to quickly detect if database tables/columns/etc. were modified? |