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

Commit5690933

Browse files
committed
Mark ImmediateSharedRelationCacheInvalidate as NOT_USED.
1 parentc709f56 commit5690933

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> processbeingused 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+
#ifdefNOT_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
externvoidImmediateInvalidateSharedHeapTuple(Relationrelation,HeapTupletuple);
3030

31-
externvoidImmediateSharedRelationCacheInvalidate(Relationrelation);
32-
3331
#endif/* INVAL_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp