pgsql: Purely-cosmetic adjustments in tablecmds.c. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Purely-cosmetic adjustments in tablecmds.c.
Date
Msg-id E1hfWNP-0007Gx-GD@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Purely-cosmetic adjustments in tablecmds.c.

Move ATExecAlterColumnGenericOptions away from where it was unthinkingly
dropped, in the middle of a lot of ALTER COLUMN TYPE code.  I don't have
any high principles about where to put it instead, so let's just put it
after ALTER COLUMN TYPE and before ALTER OWNER, matching existing
decisions about how to order related code stanzas.

Also add the minimal function header comment that the original author
was too cool to bother with.

Along the way, upgrade header comments for nearby ALTER COLUMN TYPE
functions.

Discussion: https://postgr.es/m/14787.1561403130@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ccfcc8fdbd9bdbfd18fda5d7c698af8d175f5319

Modified Files
--------------
src/backend/commands/tablecmds.c | 234 ++++++++++++++++++++-------------------
1 file changed, 123 insertions(+), 111 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Correct script name in README file
Next
From: Thomas Munro
Date:
Subject: pgsql: Remove misleading comment from pathnodes.h.