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
13a10c0c
Commit
13a10c0c
authored
Mar 20, 2015
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
C comment: update lock level mention in comment
Patch by Etsuro Fujita
parent
959277a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/backend/commands/tablecmds.c
src/backend/commands/tablecmds.c
+3
-3
No files found.
src/backend/commands/tablecmds.c
View file @
13a10c0c
...
...
@@ -1756,9 +1756,9 @@ MergeAttributes(List *schema, List *supers, char relpersistence,
pfree
(
newattno
);
/*
* Close the parent rel, but keep our
AccessShareLock on it until xac
t
*
commit. That will prevent someone else from deleting or ALTERing
* the parent before the child is committed.
* Close the parent rel, but keep our
ShareUpdateExclusiveLock on i
t
*
until xact commit. That will prevent someone else from deleting or
*
ALTERing
the parent before the child is committed.
*/
heap_close
(
relation
,
NoLock
);
}
...
...
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