aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-11-18 08:25:33 -0500
committerRobert Haas <rhaas@postgresql.org>2015-11-18 08:25:33 -0500
commitadeee974866085db84b860c1f397dd7c6b136a0a (patch)
tree48e20ad5ac46f3d9529899f22fc709b091d30241 /contrib/postgres_fdw/postgres_fdw.c
parent5f10b7a604c87fc61a2c20a56552301f74c9bd5f (diff)
downloadpostgresql-adeee974866085db84b860c1f397dd7c6b136a0a.tar.gz
postgresql-adeee974866085db84b860c1f397dd7c6b136a0a.zip
Fix dumb bug in tqueue.c
When I wrote this code originally, the intention was to recompute the remapinfo only when the tupledesc changes. This presumably only happens once per query, but I copied the design pattern from other DestReceivers. However, due to a silly oversight on my part, tqueue->tupledesc never got set, leading to recomputation for every tuple. This should improve the performance of parallel scans that return a significant number of tuples. Report by Amit Kapila; patch by me, reviewed by him.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions