projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7923118
)
Move function comment to the right place
author
Peter Eisentraut
<peter_e@gmx.net>
Sun, 18 Feb 2018 01:45:28 +0000
(20:45 -0500)
committer
Peter Eisentraut
<peter_e@gmx.net>
Sun, 18 Feb 2018 01:45:28 +0000
(20:45 -0500)
src/backend/commands/tablecmds.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/tablecmds.c
b/src/backend/commands/tablecmds.c
index 89454d8e80f1997acd0153f82957af8f09e6cf63..87539d6c0b2a40b372faeb09a5aa4e8cc284c95a 100644
(file)
--- a/
src/backend/commands/tablecmds.c
+++ b/
src/backend/commands/tablecmds.c
@@
-5879,9
+5879,6
@@
ATExecDropNotNull(Relation rel, const char *colName, LOCKMODE lockmode)
/*
* ALTER TABLE ALTER COLUMN SET NOT NULL
- *
- * Return the address of the modified column. If the column was already NOT
- * NULL, InvalidObjectAddress is returned.
*/
static void
@@
-5904,6
+5901,10
@@
ATPrepSetNotNull(Relation rel, bool recurse, bool recursing)
}
}
+/*
+ * Return the address of the modified column. If the column was already NOT
+ * NULL, InvalidObjectAddress is returned.
+ */
static ObjectAddress
ATExecSetNotNull(AlteredTableInfo *tab, Relation rel,
const char *colName, LOCKMODE lockmode)