Re: Trigger bug ? - Mailing list pgsql-general

From PegoraroF10
Subject Re: Trigger bug ?
Date
Msg-id 1558563706827-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Trigger bug ?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Trigger bug ?
Re: Trigger bug ?
List pgsql-general
sorry, I wasn´t clear, when I sad returning Null I tried to say that new.PK
was Null, not the function result.
Try to create exactly what I sent you and you´ll see null values on that pk.
And that occurs just because that trigger was created without EACH
ROW/STATEMENT.
So, my question is, PG should return an error and not create that trigger
because ROW/STATEMENT was not specified, correct ?



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



pgsql-general by date:

Previous
From: Perumal Raj
Date:
Subject: Re: Centos : Load Average :OS Process Name : migration/1, migration/2, migration/n
Next
From: "David G. Johnston"
Date:
Subject: Re: Trigger bug ?