File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -728,10 +728,13 @@ <H4><A NAME="3.11">3.11</A>) What debugging features are available in
728728locking/backend interaction problems may not be duplicated.< P >
729729
730730Another method is to start < I > psql</ I > in one window, then find the
731- < small > PID</ small > of the < i > postgres</ i > process being used by the
731+ < small > PID</ small > of the < i > postgres</ i > process used by
732732< i > psql.</ i > Use a debugger to attach to the < i > postgres</ i >
733- < small > PID.</ small > You can set breakpoints in the debugger and issues
734- queries from < i > psql.</ i >
733+ < small > PID.</ small > You can set breakpoints in the debugger and issue
734+ queries from < i > psql.</ i > If you are debugging < i > postgres</ i > startup,
735+ you can set PGOPTIONS="-W n", then start < i > psql.</ i > This will cause
736+ startup to delay for < i > n</ i > seconds so you can attach with the
737+ debugger and trace through the startup sequence.< P >
735738
736739The postgres program has -s, -A, and -t options that can be very useful
737740for debugging and performance measurements.< P >
Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.36 2000/05/30 00:49:54 momjian Exp $
11+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.37 2000/06/08 19:51:03 momjian Exp $
1212 *
1313 * Note - this code is real crufty...
1414 *
@@ -905,6 +905,7 @@ ImmediateInvalidateSharedHeapTuple(Relation relation, HeapTuple tuple)
905905 "ImmediateInvalidateSharedHeapTuple" );
906906}
907907
908+ #ifdef NOT_USED
908909/*
909910 * ImmediateSharedRelationCacheInvalidate
910911 * Register shared relation cache invalidation immediately
@@ -940,3 +941,4 @@ ImmediateSharedRelationCacheInvalidate(Relation relation)
940941 RelationIdImmediateRegisterSharedInvalid (
941942 RelOid_pg_class , RelationGetRelid (relation ));
942943}
944+ #endif
Original file line number Diff line number Diff line change 77 * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88 * Portions Copyright (c) 1994, Regents of the University of California
99 *
10- * $Id: inval.h,v 1.16 2000/01/26 05:58:38 momjian Exp $
10+ * $Id: inval.h,v 1.17 2000/06/08 19:51:06 momjian Exp $
1111 *
1212 *-------------------------------------------------------------------------
1313 */
@@ -28,6 +28,4 @@ extern void RelationMark4RollbackHeapTuple(Relation relation, HeapTuple tuple);
2828
2929extern void ImmediateInvalidateSharedHeapTuple (Relation relation , HeapTuple tuple );
3030
31- extern void ImmediateSharedRelationCacheInvalidate (Relation relation );
32-
3331#endif /* INVAL_H */
You can’t perform that action at this time.
0 commit comments