Move function comment to the right place

This commit is contained in:
Peter Eisentraut 2018-02-17 20:45:28 -05:00
parent 7923118c16
commit 1a1adb215c
1 changed files with 4 additions and 3 deletions

View File

@ -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)