forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6d5031e
committed
Reformat code in ATPostAlterTypeParse.
The code in ATPostAlterTypeParse was very deeply indented, mostly becausethere were two nested switch-case statements, which add a lot ofindentation. Use if-else blocks instead, to make the code less indentedand more readable.This is in preparation for next patch that makes some actualy changes tothe function. These cosmetic parts have been separated to make it easierto see the real changes in the other patch.1 parent3096ff9 commit6d5031e
1 file changed
+51
-53
lines changedLines changed: 51 additions & 53 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8645 | 8645 |
| |
8646 | 8646 |
| |
8647 | 8647 |
| |
8648 |
| - | |
| 8648 | + | |
| 8649 | + | |
| 8650 | + | |
| 8651 | + | |
| 8652 | + | |
| 8653 | + | |
| 8654 | + | |
| 8655 | + | |
| 8656 | + | |
| 8657 | + | |
| 8658 | + | |
| 8659 | + | |
| 8660 | + | |
| 8661 | + | |
| 8662 | + | |
| 8663 | + | |
| 8664 | + | |
8649 | 8665 |
| |
8650 |
| - | |
| 8666 | + | |
| 8667 | + | |
| 8668 | + | |
| 8669 | + | |
| 8670 | + | |
| 8671 | + | |
| 8672 | + | |
| 8673 | + | |
8651 | 8674 |
| |
8652 |
| - | |
8653 |
| - | |
| 8675 | + | |
8654 | 8676 |
| |
8655 | 8677 |
| |
8656 |
| - | |
| 8678 | + | |
| 8679 | + | |
8657 | 8680 |
| |
8658 |
| - | |
8659 |
| - | |
8660 |
| - | |
8661 |
| - | |
| 8681 | + | |
8662 | 8682 |
| |
8663 |
| - | |
8664 |
| - | |
| 8683 | + | |
8665 | 8684 |
| |
8666 |
| - | |
| 8685 | + | |
8667 | 8686 |
| |
8668 |
| - | |
8669 |
| - | |
8670 |
| - | |
8671 |
| - | |
8672 |
| - | |
8673 |
| - | |
8674 |
| - | |
8675 |
| - | |
8676 |
| - | |
8677 |
| - | |
8678 |
| - | |
8679 |
| - | |
8680 |
| - | |
8681 |
| - | |
8682 |
| - | |
8683 |
| - | |
8684 |
| - | |
8685 |
| - | |
8686 |
| - | |
8687 |
| - | |
8688 |
| - | |
8689 |
| - | |
8690 |
| - | |
8691 |
| - | |
8692 |
| - | |
8693 |
| - | |
8694 |
| - | |
8695 |
| - | |
8696 |
| - | |
8697 |
| - | |
8698 |
| - | |
8699 |
| - | |
8700 |
| - | |
8701 |
| - | |
8702 |
| - | |
8703 |
| - | |
8704 |
| - | |
8705 |
| - | |
| 8687 | + | |
| 8688 | + | |
| 8689 | + | |
| 8690 | + | |
| 8691 | + | |
| 8692 | + | |
| 8693 | + | |
| 8694 | + | |
| 8695 | + | |
| 8696 | + | |
| 8697 | + | |
| 8698 | + | |
| 8699 | + | |
8706 | 8700 |
| |
8707 |
| - | |
8708 |
| - | |
8709 |
| - | |
| 8701 | + | |
| 8702 | + | |
| 8703 | + | |
| 8704 | + | |
8710 | 8705 |
| |
| 8706 | + | |
| 8707 | + | |
| 8708 | + | |
8711 | 8709 |
| |
8712 | 8710 |
| |
8713 | 8711 |
| |
|
0 commit comments
Comments
(0)