pgsql: Purely-cosmetic adjustments in tablecmds.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Purely-cosmetic adjustments in tablecmds.c.
Date: 2019-06-24 21:19:47
Message-ID: E1hfWNP-0007Gx-GD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2019-06-24 21:27:11 pgsql: Remove misleading comment from pathnodes.h.
Previous Message Peter Eisentraut 2019-06-24 20:56:26 pgsql: Make script output more pgindent compatible