|
16 | 16 | * Portions Copyright (c) 1994, Regents of the University of California |
17 | 17 | * |
18 | 18 | * 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 $ |
20 | 20 | * |
21 | 21 | *------------------------------------------------------------------------- |
22 | 22 | */ |
@@ -776,11 +776,6 @@ bool |
776 | 776 | HeapTupleSatisfiesSnapshot(HeapTupleHeadertuple,Snapshotsnapshot, |
777 | 777 | Bufferbuffer) |
778 | 778 | { |
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 | | - |
784 | 779 | if (!(tuple->t_infomask&HEAP_XMIN_COMMITTED)) |
785 | 780 | { |
786 | 781 | if (tuple->t_infomask&HEAP_XMIN_INVALID) |
@@ -965,7 +960,12 @@ HeapTupleSatisfiesSnapshot(HeapTupleHeader tuple, Snapshot snapshot, |
965 | 960 | } |
966 | 961 | } |
967 | 962 |
|
| 963 | +/* This is to be used only for disaster recovery and requires serious analysis. */ |
| 964 | +#ifdefMAKE_ALL_TUPLES_VISIBLE |
968 | 965 | return false; |
| 966 | +#else |
| 967 | +return true; |
| 968 | +#endif |
969 | 969 | } |
970 | 970 |
|
971 | 971 |
|
|