• Tom Lane's avatar
    When using a junkfilter, the output tuple should NOT be stored back into · 9e724306
    Tom Lane authored
    the same tuple slot that the raw tuple came from, because that slot has
    the wrong tuple descriptor.  Store it into its own slot with the correct
    descriptor, instead.  This repairs problems with SPI functions seeing
    inappropriate tuple descriptors --- for example, plpgsql code failing to
    cope with SELECT FOR UPDATE.
    9e724306
execMain.c 50 KB