You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Lane
20d3fe9009
In INSERT/UPDATE, use the table's real tuple descriptor as target.
...
Previously, ExecInitModifyTable relied on ExecInitJunkFilter,
and thence ExecCleanTypeFromTL, to build the target descriptor from
the query tlist. While we just checked (in ExecCheckPlanOutput)
that the tlist produces compatible output, this is not a great
substitute for the relation's actual tuple descriptor that's
available from the relcache. For one thing, dropped columns will
not be correctly marked attisdropped; it's a bit surprising that
we've gotten away with that this long. But the real reason for
being concerned with this is that using the table's descriptor means
that the slot will have correct attrmissing data, allowing us to
revert the klugy fix of commit ba9f18abd . (This commit undoes
that one's changes in trigger.c, but keeps the new test case.)
Thus we can solve the bogus-trigger-tuple problem with fewer cycles
rather than more.
No back-patch, since this doesn't fix any additional bug, and it
seems somewhat more likely to have unforeseen side effects than
ba9f18abd's narrow fix.
Discussion: https://postgr.es/m/16644-5da7ef98a7ac4545@postgresql.org
5 years ago
..
execExpr.h
Move resolution of AlternativeSubPlan choices to the planner.
5 years ago
execParallel.h
Add infrastructure to track WAL usage.
6 years ago
execPartition.h
Remove PartitionRoutingInfo struct.
5 years ago
execdebug.h
Implement Incremental Sort
6 years ago
execdesc.h
Update copyrights for 2020
6 years ago
executor.h
In INSERT/UPDATE, use the table's real tuple descriptor as target.
5 years ago
functions.h
Fix list-munging bug that broke SQL function result coercions.
5 years ago
hashjoin.h
Add hash_mem_multiplier GUC.
5 years ago
instrument.h
Fix comment in instrument.h
5 years ago
nodeAgg.h
HashAgg: use better cardinality estimate for recursive spilling.
5 years ago
nodeAppend.h
Update copyrights for 2020
6 years ago
nodeBitmapAnd.h
Update copyrights for 2020
6 years ago
nodeBitmapHeapscan.h
Update copyrights for 2020
6 years ago
nodeBitmapIndexscan.h
Update copyrights for 2020
6 years ago
nodeBitmapOr.h
Update copyrights for 2020
6 years ago
nodeCtescan.h
Update copyrights for 2020
6 years ago
nodeCustom.h
Update copyrights for 2020
6 years ago
nodeForeignscan.h
Update copyrights for 2020
6 years ago
nodeFunctionscan.h
Update copyrights for 2020
6 years ago
nodeGather.h
Update copyrights for 2020
6 years ago
nodeGatherMerge.h
Update copyrights for 2020
6 years ago
nodeGroup.h
Update copyrights for 2020
6 years ago
nodeHash.h
Add hash_mem_multiplier GUC.
5 years ago
nodeHashjoin.h
Update copyrights for 2020
6 years ago
nodeIncrementalSort.h
Implement Incremental Sort
6 years ago
nodeIndexonlyscan.h
Update copyrights for 2020
6 years ago
nodeIndexscan.h
Update copyrights for 2020
6 years ago
nodeLimit.h
Update copyrights for 2020
6 years ago
nodeLockRows.h
Update copyrights for 2020
6 years ago
nodeMaterial.h
Update copyrights for 2020
6 years ago
nodeMergeAppend.h
Update copyrights for 2020
6 years ago
nodeMergejoin.h
Update copyrights for 2020
6 years ago
nodeModifyTable.h
Remove es_result_relation_info from EState.
5 years ago
nodeNamedtuplestorescan.h
Update copyrights for 2020
6 years ago
nodeNestloop.h
Update copyrights for 2020
6 years ago
nodeProjectSet.h
Update copyrights for 2020
6 years ago
nodeRecursiveunion.h
Update copyrights for 2020
6 years ago
nodeResult.h
Update copyrights for 2020
6 years ago
nodeSamplescan.h
Update copyrights for 2020
6 years ago
nodeSeqscan.h
Update copyrights for 2020
6 years ago
nodeSetOp.h
Update copyrights for 2020
6 years ago
nodeSort.h
Update copyrights for 2020
6 years ago
nodeSubplan.h
Move resolution of AlternativeSubPlan choices to the planner.
5 years ago
nodeSubqueryscan.h
Update copyrights for 2020
6 years ago
nodeTableFuncscan.h
Update copyrights for 2020
6 years ago
nodeTidscan.h
Update copyrights for 2020
6 years ago
nodeUnique.h
Update copyrights for 2020
6 years ago
nodeValuesscan.h
Update copyrights for 2020
6 years ago
nodeWindowAgg.h
Update copyrights for 2020
6 years ago
nodeWorktablescan.h
Update copyrights for 2020
6 years ago
spi.h
Avoid using a cursor in plpgsql's RETURN QUERY statement.
6 years ago
spi_priv.h
Update copyrights for 2020
6 years ago
tablefunc.h
Update copyrights for 2020
6 years ago
tqueue.h
Use MinimalTuple for tuple queues.
6 years ago
tstoreReceiver.h
Avoid using a cursor in plpgsql's RETURN QUERY statement.
6 years ago
tuptable.h
Update copyrights for 2020
6 years ago