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

Commit5845bfb

Browse files
committed
Move define MAKE_ALL_TUPLES_VISIBLE to a more logical place.
1 parent59191b2 commit5845bfb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/backend/utils/time/tqual.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Portions Copyright (c) 1994, Regents of the University of California
1717
*
1818
* IDENTIFICATION
19-
* $PostgreSQL: pgsql/src/backend/utils/time/tqual.c,v 1.82 2005/02/2004:56:00 momjian Exp $
19+
* $PostgreSQL: pgsql/src/backend/utils/time/tqual.c,v 1.83 2005/02/2014:57:47 momjian Exp $
2020
*
2121
*-------------------------------------------------------------------------
2222
*/
@@ -776,11 +776,6 @@ bool
776776
HeapTupleSatisfiesSnapshot(HeapTupleHeadertuple,Snapshotsnapshot,
777777
Bufferbuffer)
778778
{
779-
/* This is to be used only for disaster recovery and requires serious analysis. */
780-
#ifdefMAKE_ALL_TUPLES_VISIBLE
781-
return true;
782-
#endif
783-
784779
if (!(tuple->t_infomask&HEAP_XMIN_COMMITTED))
785780
{
786781
if (tuple->t_infomask&HEAP_XMIN_INVALID)
@@ -965,7 +960,12 @@ HeapTupleSatisfiesSnapshot(HeapTupleHeader tuple, Snapshot snapshot,
965960
}
966961
}
967962

963+
/* This is to be used only for disaster recovery and requires serious analysis. */
964+
#ifdefMAKE_ALL_TUPLES_VISIBLE
968965
return false;
966+
#else
967+
return true;
968+
#endif
969969
}
970970

971971

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp