Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
5690933d
Commit
5690933d
authored
24 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Mark ImmediateSharedRelationCacheInvalidate as NOT_USED.
parent
c709f564
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/src/FAQ.html
+6
-3
6 additions, 3 deletions
doc/src/FAQ.html
src/backend/utils/cache/inval.c
+3
-1
3 additions, 1 deletion
src/backend/utils/cache/inval.c
src/include/utils/inval.h
+1
-3
1 addition, 3 deletions
src/include/utils/inval.h
with
10 additions
and
7 deletions
doc/src/FAQ.html
+
6
−
3
View file @
5690933d
...
...
@@ -728,10 +728,13 @@ from the postmaster, it is not running in an identical environment and
locking/backend interaction problems may not be duplicated.
<P>
Another method is to start
<I>
psql
</I>
in one window, then find the
<small>
PID
</small>
of the
<i>
postgres
</i>
process
being
used by
the
<small>
PID
</small>
of the
<i>
postgres
</i>
process used by
<i>
psql.
</i>
Use a debugger to attach to the
<i>
postgres
</i>
<small>
PID.
</small>
You can set breakpoints in the debugger and issues
queries from
<i>
psql.
</i>
<small>
PID.
</small>
You can set breakpoints in the debugger and issue
queries from
<i>
psql.
</i>
If you are debugging
<i>
postgres
</i>
startup,
you can set PGOPTIONS="-W n", then start
<i>
psql.
</i>
This will cause
startup to delay for
<i>
n
</i>
seconds so you can attach with the
debugger and trace through the startup sequence.
<P>
The postgres program has -s, -A, and -t options that can be very useful
for debugging and performance measurements.
<P>
...
...
This diff is collapsed.
Click to expand it.
src/backend/utils/cache/inval.c
+
3
−
1
View file @
5690933d
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.3
6
2000/0
5/30 00:49:54
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.3
7
2000/0
6/08 19:51:03
momjian Exp $
*
* Note - this code is real crufty...
*
...
...
@@ -905,6 +905,7 @@ ImmediateInvalidateSharedHeapTuple(Relation relation, HeapTuple tuple)
"ImmediateInvalidateSharedHeapTuple"
);
}
#ifdef NOT_USED
/*
* ImmediateSharedRelationCacheInvalidate
* Register shared relation cache invalidation immediately
...
...
@@ -940,3 +941,4 @@ ImmediateSharedRelationCacheInvalidate(Relation relation)
RelationIdImmediateRegisterSharedInvalid
(
RelOid_pg_class
,
RelationGetRelid
(
relation
));
}
#endif
This diff is collapsed.
Click to expand it.
src/include/utils/inval.h
+
1
−
3
View file @
5690933d
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: inval.h,v 1.1
6
2000/0
1/26 05:58:38
momjian Exp $
* $Id: inval.h,v 1.1
7
2000/0
6/08 19:51:06
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -28,6 +28,4 @@ extern void RelationMark4RollbackHeapTuple(Relation relation, HeapTuple tuple);
extern
void
ImmediateInvalidateSharedHeapTuple
(
Relation
relation
,
HeapTuple
tuple
);
extern
void
ImmediateSharedRelationCacheInvalidate
(
Relation
relation
);
#endif
/* INVAL_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment