Re: BUG #16644: null value for defaults in OLD variable for trigger - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16644: null value for defaults in OLD variable for trigger
Date
Msg-id 568704.1603648770@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #16644: null value for defaults in OLD variable for trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #16644: null value for defaults in OLD variable for trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I wrote:
> Amit Langote <amitlangote09@gmail.com> writes:
>> Maybe something like the attached?

> Probably needs some attention to memory management (e.g.,
> should_free_trig) but I'm okay with doing this as a short-term
> fix.

I fixed the should_free business, and spent a fair amount of time
convincing myself that no other code paths in trigger.c need this,
and pushed it.

            regards, tom lane



pgsql-bugs by date:

Previous
From: irina
Date:
Subject: Re: Checksum verification fails with StackBuilder when downloading pgAgent
Next
From: Tom Lane
Date:
Subject: Re: BUG #16644: null value for defaults in OLD variable for trigger