Re: Skip partition tuple routing with constant partition key - Mailing list pgsql-hackers

From Zhihong Yu
Subject Re: Skip partition tuple routing with constant partition key
Date
Msg-id CALNJ-vQ5n=N-Jk0auA9eReF-K7St+Cf6X2x=42Bh001BR0sbCQ@mail.gmail.com
Whole thread Raw
In response to RE: Skip partition tuple routing with constant partition key  ("houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>)
Responses Re: Skip partition tuple routing with constant partition key
List pgsql-hackers
Hi, Amit:

For ConvertTupleToPartition() in 0001-ExecFindPartition-cache-last-used-partition-v3.patch:

+       if (tempslot != NULL)
+           ExecClearTuple(tempslot);

If tempslot and parent_slot point to the same slot, should ExecClearTuple() still be called ?

Cheers

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: CALL versus procedures with output-only arguments
Next
From: Robert Haas
Date:
Subject: Re: storing an explicit nonce