(2018/03/14 17:25), Etsuro Fujita wrote:
(2018/03/14 14:54), Amit Langote wrote:
Sorry that this may be nitpicking that I should've brought up before, but
doesn't ExecPrepareTupleRouting do all the work that's needed for routing
a tuple and hence isn't the name a bit misleading? Maybe,
ExecPerformTupleRouting?

Actually, I thought of that name as a candidate, too. But I used
ExecPrepareTupleRouting because I didn't think it would actually perform
all the work; because it wouldn't do the main work of routing, ie, route
an inserted tuple to the target partition, which is ExecInsert()'s job.
I agree that it would do all the work *needed for routing*, though.

One thing to add: having said that, I don't have any strong opinion about that. How about leaving that for the committer?

Best regards,
Etsuro Fujita

Reply via email to