Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit70b9bda

Browse files
committed
Use a virtual rather than a heap slot in two places where that suffices.
Author: Andres FreundDiscussion:https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
1 parent3396138 commit70b9bda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/executor/execPartition.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ ExecInitPartitionDispatchInfo(PartitionTupleRouting *proute, Oid partoid,
10091009
tupdesc,
10101010
gettext_noop("could not convert row type"));
10111011
pd->tupslot=pd->tupmap ?
1012-
MakeSingleTupleTableSlot(tupdesc,&TTSOpsHeapTuple) :NULL;
1012+
MakeSingleTupleTableSlot(tupdesc,&TTSOpsVirtual) :NULL;
10131013
}
10141014
else
10151015
{

‎src/backend/replication/logical/worker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ apply_handle_insert(StringInfo s)
591591
estate=create_estate_for_relation(rel);
592592
remoteslot=ExecInitExtraTupleSlot(estate,
593593
RelationGetDescr(rel->localrel),
594-
&TTSOpsHeapTuple);
594+
&TTSOpsVirtual);
595595

596596
/* Input functions may need an active snapshot, so get one */
597597
PushActiveSnapshot(GetTransactionSnapshot());

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp