Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
2c2ecddc
Commit
2c2ecddc
authored
Apr 13, 2017
by
Simon Riggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention pg_index changes also cause relcache invalidation
Amit Langote, additional line by me
parent
7a3e8d7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/backend/utils/cache/inval.c
src/backend/utils/cache/inval.c
+4
-3
No files found.
src/backend/utils/cache/inval.c
View file @
2c2ecddc
...
...
@@ -51,9 +51,9 @@
* PrepareToInvalidateCacheTuple() routine provides the knowledge of which
* catcaches may need invalidation for a given tuple.
*
* Also, whenever we see an operation on a pg_class
or pg_attribute tuple,
*
we register a relcache flush operation for the relation described by that
*
tuple
.
* Also, whenever we see an operation on a pg_class
, pg_attribute, or
*
pg_index tuple, we register a relcache flush operation for the relation
*
described by that tuple (as specified in CacheInvalidateHeapTuple())
.
*
* We keep the relcache flush requests in lists separate from the catcache
* tuple flush requests. This allows us to issue all the pending catcache
...
...
@@ -1132,6 +1132,7 @@ CacheInvalidateHeapTuple(Relation relation,
/*
* Now, is this tuple one of the primary definers of a relcache entry?
* See comments in file header for deeper explanation.
*
* Note we ignore newtuple here; we assume an update cannot move a tuple
* from being part of one relcache entry to being part of another.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment