On 11/11/2013 02:06 PM, Andres Freund wrote:
> On 2013-11-10 14:45:17 -0500, Steve Singer wrote:
>
> Not really keen - that'd be a noticeable overhead. Note that in the
> cases where DEFAULT|INDEX is used, you can just use the new tuple to
> extract what you need for the pkey lookup since they now have the same
> format and since it's guaranteed that the relevant columns haven't
> changed if oldtup is null and there's a key.
>
> What are you actually doing with those columns? Populating a WHERE
> clause?
Yup building a WHERE clause
> Greetings,
>
> Andres Freund
>