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
d2a66218
Commit
d2a66218
authored
Dec 06, 2011
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo fixes for commit
2ad36c4e
.
Noted during post-commit review by by Noah Misch.
parent
68281e00
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/backend/catalog/namespace.c
src/backend/catalog/namespace.c
+3
-3
src/backend/commands/tablecmds.c
src/backend/commands/tablecmds.c
+1
-1
No files found.
src/backend/catalog/namespace.c
View file @
d2a66218
...
@@ -318,9 +318,9 @@ RangeVarGetRelidExtended(const RangeVar *relation, LOCKMODE lockmode,
...
@@ -318,9 +318,9 @@ RangeVarGetRelidExtended(const RangeVar *relation, LOCKMODE lockmode,
* This callback is a good place to check permissions: we haven't taken
* This callback is a good place to check permissions: we haven't taken
* the table lock yet (and it's really best to check permissions before
* the table lock yet (and it's really best to check permissions before
* locking anything!), but we've gotten far enough to know what OID we
* locking anything!), but we've gotten far enough to know what OID we
* think we should lock. Of course, concurrent DDL might
things while
* think we should lock. Of course, concurrent DDL might
change things
* w
e're waiting for the lock, but in that case the callback will be
* w
hile we're waiting for the lock, but in that case the callback will
* invoked again for the new OID.
*
be
invoked again for the new OID.
*/
*/
if
(
callback
)
if
(
callback
)
callback
(
relation
,
relId
,
oldRelId
,
callback_arg
);
callback
(
relation
,
relId
,
oldRelId
,
callback_arg
);
...
...
src/backend/commands/tablecmds.c
View file @
d2a66218
...
@@ -830,7 +830,7 @@ RangeVarCallbackForDropRelation(const RangeVar *rel, Oid relOid, Oid oldRelOid,
...
@@ -830,7 +830,7 @@ RangeVarCallbackForDropRelation(const RangeVar *rel, Oid relOid, Oid oldRelOid,
state
->
heapOid
=
InvalidOid
;
state
->
heapOid
=
InvalidOid
;
}
}
/* Didn't find a relation, so need for locking or permission checks. */
/* Didn't find a relation, so n
o n
eed for locking or permission checks. */
if
(
!
OidIsValid
(
relOid
))
if
(
!
OidIsValid
(
relOid
))
return
;
return
;
...
...
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