]> granicus.if.org Git - postgresql/commit
Reformat code in ATPostAlterTypeParse.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 14 Jul 2015 08:38:08 +0000 (11:38 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 14 Jul 2015 08:38:08 +0000 (11:38 +0300)
commit1ab9faaecb03e685aeeb16143c19c0a24d6b0048
tree15063e3a87dfff8b2ee5c762035e8aaeccce82cd
parent716f97f96663bdb8b64db9ed26121e2d399e06e0
Reformat code in ATPostAlterTypeParse.

The code in ATPostAlterTypeParse was very deeply indented, mostly because
there were two nested switch-case statements, which add a lot of
indentation. Use if-else blocks instead, to make the code less indented
and more readable.

This is in preparation for next patch that makes some actualy changes to
the function. These cosmetic parts have been separated to make it easier
to see the real changes in the other patch.
src/backend/commands/tablecmds.c