Skip to content

Commit 5690933

Browse files
committed
Mark ImmediateSharedRelationCacheInvalidate as NOT_USED.
1 parent c709f56 commit 5690933

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

doc/src/FAQ.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,10 +728,13 @@ <H4><A NAME="3.11">3.11</A>) What debugging features are available in
728728
locking/backend interaction problems may not be duplicated.<P>
729729

730730
Another 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

736739
The postgres program has -s, -A, and -t options that can be very useful
737740
for debugging and performance measurements.<P>

src/backend/utils/cache/inval.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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

src/include/utils/inval.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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

2929
extern void ImmediateInvalidateSharedHeapTuple(Relation relation, HeapTuple tuple);
3030

31-
extern void ImmediateSharedRelationCacheInvalidate(Relation relation);
32-
3331
#endif /* INVAL_H */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy