Commit 7e07d3b
CREATE TABLE LIKE INCLUDING TRIGGERS
foreign key associated internal trigger won't being copied to new table. source
table trigger associated comment will copied to new table, if INCLUDING COMMENTS
is specified.
Currently not support CREATE FOREIGN TABLE LIKE. (maybe we should).
discussion: https://postgr.es/m/CACJufxHJAr2FjbeB6ghg_-N5dxX5JVnjKSLOUxOyt4TeaAWQkg@mail.gmail.com
commitfest: https://commitfest.postgresql.org/patch/60871 parent 79a4090 commit 7e07d3b
File tree
10 files changed
+416
-4
lines changed- doc/src/sgml/ref
- src
- backend
- catalog
- commands
- parser
- include
- nodes
- parser
- test/regress
- expected
- sql
10 files changed
+416
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
| 675 | + | |
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
779 | 788 | | |
780 | 789 | | |
781 | 790 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2040 | 2040 | | |
2041 | 2041 | | |
2042 | 2042 | | |
| 2043 | + | |
2043 | 2044 | | |
2044 | 2045 | | |
2045 | 2046 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13826 | 13826 | | |
13827 | 13827 | | |
13828 | 13828 | | |
| 13829 | + | |
13829 | 13830 | | |
13830 | 13831 | | |
13831 | 13832 | | |
| |||
13872 | 13873 | | |
13873 | 13874 | | |
13874 | 13875 | | |
| 13876 | + | |
13875 | 13877 | | |
13876 | 13878 | | |
13877 | 13879 | | |
| |||
13933 | 13935 | | |
13934 | 13936 | | |
13935 | 13937 | | |
| 13938 | + | |
13936 | 13939 | | |
13937 | 13940 | | |
13938 | 13941 | | |
| |||
20865 | 20868 | | |
20866 | 20869 | | |
20867 | 20870 | | |
| 20871 | + | |
20868 | 20872 | | |
20869 | 20873 | | |
20870 | 20874 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
1122 | 1123 | | |
1123 | 1124 | | |
1124 | 1125 | | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1125 | 1131 | | |
1126 | 1132 | | |
1127 | 1133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
786 | | - | |
| 786 | + | |
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
| |||
4243 | 4243 | | |
4244 | 4244 | | |
4245 | 4245 | | |
| 4246 | + | |
4246 | 4247 | | |
4247 | 4248 | | |
4248 | 4249 | | |
| |||
6097 | 6098 | | |
6098 | 6099 | | |
6099 | 6100 | | |
| 6101 | + | |
6100 | 6102 | | |
6101 | 6103 | | |
6102 | 6104 | | |
| |||
6148 | 6150 | | |
6149 | 6151 | | |
6150 | 6152 | | |
| 6153 | + | |
6151 | 6154 | | |
6152 | 6155 | | |
6153 | 6156 | | |
| |||
18116 | 18119 | | |
18117 | 18120 | | |
18118 | 18121 | | |
| 18122 | + | |
18119 | 18123 | | |
18120 | 18124 | | |
18121 | 18125 | | |
| |||
18765 | 18769 | | |
18766 | 18770 | | |
18767 | 18771 | | |
| 18772 | + | |
18768 | 18773 | | |
18769 | 18774 | | |
18770 | 18775 | | |
| |||
0 commit comments