Refactor code for cross-partition updates to a separate function.
authorHeikki Linnakangas <[email protected]>
Thu, 15 Oct 2020 14:08:10 +0000 (17:08 +0300)
committerHeikki Linnakangas <[email protected]>
Thu, 15 Oct 2020 14:08:10 +0000 (17:08 +0300)
commitc5b097f8fa69861ab83470c0bfe732ab90df9e62
treecf764819eaa8e8d3b5928f50952a4f14e1a8228c
parent7f4708818317f59a0452f549dedf4ce35182c13f
Refactor code for cross-partition updates to a separate function.

ExecUpdate() is very long, so extract the part of it that deals with
cross-partition updates to a separate function to make it more readable.
Per Andres Freund's suggestion.

Author: Amit Langote
Discussion: https://www.postgresql.org/message-id/CA%2BHiwqEUgb5RdUgxR7Sqco4S09jzJstHiaT2vnCRPGR4JCAPqA%40mail.gmail.com
src/backend/executor/nodeModifyTable.c