forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1b6da28

Amit Kapila
Fix the initial sync tables with no columns.
The copy command formed for initial sync was using parenthesis for tableswith no columns leading to syntax error. This patch avoids addingparenthesis for such tables.Reported-by: Justin GAuthor: Vignesh CReviewed-by: Peter Smith, Amit KapilaBackpatch-through: 15Discussion:http://postgr.es/m/18203-df37fe354b626670@postgresql.org1 parent9bbdffa commit1b6da28
File tree
2 files changed
+34
-11
lines changed- src
- backend/replication/logical
- test/subscription/t
2 files changed
+34
-11
lines changedLines changed: 18 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1111 | 1111 |
| |
1112 | 1112 |
| |
1113 | 1113 |
| |
1114 |
| - | |
| 1114 | + | |
1115 | 1115 |
| |
1116 | 1116 |
| |
1117 |
| - | |
1118 |
| - | |
1119 |
| - | |
1120 |
| - | |
1121 |
| - | |
| 1117 | + | |
| 1118 | + | |
1122 | 1119 |
| |
1123 |
| - | |
1124 |
| - | |
| 1120 | + | |
1125 | 1121 |
| |
1126 |
| - | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
1127 | 1135 |
| |
1128 | 1136 |
| |
1129 |
| - | |
| 1137 | + | |
1130 | 1138 |
| |
1131 | 1139 |
| |
1132 | 1140 |
| |
|
Lines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 |
| |
61 | 66 |
| |
62 | 67 |
| |
| |||
87 | 92 |
| |
88 | 93 |
| |
89 | 94 |
| |
| 95 | + | |
| 96 | + | |
| 97 | + | |
90 | 98 |
| |
91 | 99 |
| |
92 | 100 |
| |
93 | 101 |
| |
94 | 102 |
| |
95 | 103 |
| |
96 |
| - | |
| 104 | + | |
97 | 105 |
| |
98 | 106 |
| |
99 | 107 |
| |
| |||
141 | 149 |
| |
142 | 150 |
| |
143 | 151 |
| |
| 152 | + | |
| 153 | + | |
| 154 | + | |
144 | 155 |
| |
145 | 156 |
| |
146 | 157 |
| |
| |||
169 | 180 |
| |
170 | 181 |
| |
171 | 182 |
| |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
172 | 187 |
| |
173 | 188 |
| |
174 | 189 |
| |
|
0 commit comments
Comments
(0)