Re: Fix bug in handling of dropped columns in pltcl triggers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix bug in handling of dropped columns in pltcl triggers
Date
Msg-id 32470.1478628799@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix bug in handling of dropped columns in pltcl triggers  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
> On 11/4/16 4:28 PM, Tom Lane wrote:
>> My proposal therefore is for SPI_fnumber to ignore (not match to)
>> dropped columns, and to remove any caller-side attisdropped tests that
>> thereby become redundant.

> Yeah, SPI users certainly shouldn't need to worry about attisdropped, 
> and exposing attnum doesn't seem like a good idea either.

OK, I pushed a patch to centralize this in SPI_fnumber.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Make pg_basebackup -x stream the default
Next
From: Andreas Karlsson
Date:
Subject: Re: [PATCH] Reload SSL certificates on SIGHUP