forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb7d6795
committed
Disallow comments on columns of relation types other than tables, views,
and composite types, which are the only relkinds for which pg_dump supportexists for dumping column comments. There is no obvious usefulness forcomments on columns of sequences or toast tables; and while comments onindex columns might have some value, it's not worth the risk of compatibilityproblems due to possible changes in the algorithm for assigning names toindex columns. Per discussion.In consequence, remove now-dead code for copying such comments in CREATE TABLELIKE.1 parentde0d75e commitb7d6795
File tree
4 files changed
+26
-53
lines changed- src
- backend
- commands
- parser
- test/regress
- expected
- sql
4 files changed
+26
-53
lines changedLines changed: 17 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
627 | 627 |
| |
628 | 628 |
| |
629 | 629 |
| |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
630 | 646 |
| |
631 | 647 |
| |
632 | 648 |
| |
|
Lines changed: 6 additions & 43 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| |||
745 | 745 |
| |
746 | 746 |
| |
747 | 747 |
| |
748 |
| - | |
749 |
| - | |
750 |
| - | |
751 |
| - | |
752 | 748 |
| |
753 |
| - | |
| 749 | + | |
754 | 750 |
| |
755 | 751 |
| |
| 752 | + | |
| 753 | + | |
756 | 754 |
| |
757 | 755 |
| |
758 | 756 |
| |
| |||
771 | 769 |
| |
772 | 770 |
| |
773 | 771 |
| |
774 |
| - | |
775 |
| - | |
776 |
| - | |
777 |
| - | |
778 |
| - | |
779 |
| - | |
780 |
| - | |
781 |
| - | |
782 |
| - | |
783 |
| - | |
784 |
| - | |
785 |
| - | |
786 |
| - | |
787 |
| - | |
788 |
| - | |
789 |
| - | |
790 |
| - | |
791 |
| - | |
792 |
| - | |
793 |
| - | |
794 |
| - | |
795 |
| - | |
796 |
| - | |
797 |
| - | |
798 |
| - | |
799 |
| - | |
800 |
| - | |
801 |
| - | |
802 |
| - | |
803 |
| - | |
804 |
| - | |
805 |
| - | |
806 |
| - | |
807 |
| - | |
808 |
| - | |
809 | 772 |
| |
810 | 773 |
| |
811 | 774 |
| |
| |||
832 | 795 |
| |
833 | 796 |
| |
834 | 797 |
| |
835 |
| - | |
| 798 | + | |
836 | 799 |
| |
837 | 800 |
| |
838 | 801 |
| |
839 | 802 |
| |
840 |
| - | |
| 803 | + | |
841 | 804 |
| |
842 | 805 |
| |
843 | 806 |
| |
|
Lines changed: 3 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
931 | 931 |
| |
932 | 932 |
| |
933 | 933 |
| |
934 |
| - | |
935 |
| - | |
936 | 934 |
| |
937 | 935 |
| |
938 | 936 |
| |
| |||
1040 | 1038 |
| |
1041 | 1039 |
| |
1042 | 1040 |
| |
1043 |
| - | |
1044 |
| - | |
| 1041 | + | |
| 1042 | + | |
1045 | 1043 |
| |
1046 |
| - | |
1047 | 1044 |
| |
1048 |
| - | |
1049 |
| - | |
| 1045 | + | |
1050 | 1046 |
| |
1051 | 1047 |
| |
1052 | 1048 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
297 | 297 |
| |
298 | 298 |
| |
299 | 299 |
| |
300 |
| - | |
301 |
| - | |
302 | 300 |
| |
303 | 301 |
| |
304 | 302 |
| |
|
0 commit comments
Comments
(0)