Don't bother copying empty support arrays in a zero-column MergeJoin.
The case could not arise when this code was originally written, but it can
now (since we made zero-column MergeJoins work for the benefit of FULL JOIN
ON TRUE). I don't think there is any actual bug here, but we might as well
treat it consistently with other uses of COPY_POINTER_FIELD(). Per comment
from Ashutosh Bapat.
src/backend/nodes/copyfuncs.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2012-04-09 16:00:01|
|Subject: pgsql: Fix an Assert that turns out to be reachable after all.|
|Previous:||From: Tom Lane||Date: 2012-04-09 15:16:14|
|Subject: pgsql: Save a few cycles while creating "sticky" entries inpg_stat_sta|