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

Commit32625a7

Browse files
committed
Disable dtrace for rumsort.c
1 parent830f559 commit32625a7

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

‎src/rumsort.c

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include"utils/guc.h"
2525
#include"utils/logtape.h"
2626
#include"utils/pg_rusage.h"
27-
#include"utils/probes.h"
2827

2928
#include"rum.h"/* RumItem */
3029

@@ -40,14 +39,6 @@
4039
#defineLogicalTapeRewindForWrite(x,y) LogicalTapeRewind((x), (y), true)
4140
#endif
4241

43-
#ifPG_VERSION_NUM >=110000
44-
#defineRUM_SORT_START(INT1,INT2,INT3,INT4,INT5) \
45-
TRACE_POSTGRESQL_SORT_START(INT1, INT2, INT3, INT4, INT5, false)
46-
#else
47-
#defineRUM_SORT_START(INT1,INT2,INT3,INT4,INT5) \
48-
TRACE_POSTGRESQL_SORT_START(INT1, INT2, INT3, INT4, INT5)
49-
#endif
50-
5142
#ifPG_VERSION_NUM >=110000
5243
#defineLogicalTapeSetCreate(X) LogicalTapeSetCreate(X, NULL, NULL, 1)
5344
#defineLogicalTapeFreeze(X,Y) LogicalTapeFreeze(X, Y, NULL)
@@ -745,12 +736,6 @@ rum_tuplesort_begin_rum(int workMem, int nKeys, bool randomAccess,
745736

746737
state->nKeys=nKeys;
747738

748-
RUM_SORT_START(INDEX_SORT,
749-
false,/* no unique check */
750-
state->nKeys,
751-
workMem,
752-
randomAccess);
753-
754739
state->comparetup=comparetup_rum;
755740
state->copytup=copytup_rum;
756741
state->writetup=writetup_rum;
@@ -778,12 +763,6 @@ rum_tuplesort_begin_rumitem(int workMem, FmgrInfo *cmp)
778763
"begin rumitem sort: workMem = %d",workMem);
779764
#endif
780765

781-
RUM_SORT_START(INDEX_SORT,
782-
false,/* no unique check */
783-
2,
784-
workMem,
785-
false);
786-
787766
state->cmp=cmp;
788767
state->comparetup=comparetup_rumitem;
789768
state->copytup=copytup_rumitem;
@@ -841,15 +820,6 @@ rum_tuplesort_end(RumTuplesortstate *state)
841820
elog(LOG,"internal sort ended, %ld KB used: %s",
842821
spaceUsed,pg_rusage_show(&state->ru_start));
843822
}
844-
845-
TRACE_POSTGRESQL_SORT_DONE(state->tapeset!=NULL,spaceUsed);
846-
#else
847-
848-
/*
849-
* If you disabled TRACE_SORT, you can still probe sort__done, but you
850-
* ain't getting space-used stats.
851-
*/
852-
TRACE_POSTGRESQL_SORT_DONE(state->tapeset!=NULL,0L);
853823
#endif
854824

855825
/* Free any execution state created for CLUSTER case */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp