Обсуждение: pgsql: Purely-cosmetic adjustments in tablecmds.c.

Поиск
Список
Период
Сортировка

pgsql: Purely-cosmetic adjustments in tablecmds.c.

От
Tom Lane
Дата:
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(-)