File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 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.81 2004/12/31 22:02:56 pgsql Exp $
19+ * $PostgreSQL: pgsql/src/backend/utils/time/tqual.c,v 1.82 2005/02/20 04:56:00 momjian Exp $
2020 *
2121 *-------------------------------------------------------------------------
2222 */
@@ -776,6 +776,11 @@ bool
776776HeapTupleSatisfiesSnapshot (HeapTupleHeader tuple , Snapshot snapshot ,
777777 Buffer buffer )
778778{
779+ /* This is to be used only for disaster recovery and requires serious analysis. */
780+ #ifdef MAKE_ALL_TUPLES_VISIBLE
781+ return true;
782+ #endif
783+
779784 if (!(tuple -> t_infomask & HEAP_XMIN_COMMITTED ))
780785 {
781786 if (tuple -> t_infomask & HEAP_XMIN_INVALID )
You can’t perform that action at this time.
0 commit comments