Search Postgresql Archives

Re: Problem with trigger makes Detail record be invalid

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

 



On 04/19/2018 11:30 AM, PegoraroF10 wrote:
I know my trigger is incorrect. I know that I can use TG_OP to know what
operation is being done.
My question is ...
Is this a bug or it´s mine responsability to check that trigger result ?

I think it´s a bug because if something got wrong on detail deletion and it
was rolled back, how could be a parent record be deleted ?

Another thought, are there are any other triggers on the Master and/or Detail tables?




--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html



--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx




[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