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

Amit Kapila
Improve error message for replication of generated columns.
Currently, logical replication produces a generic error message whentargeting a subscriber-side table column that is either missing orgenerated. The error message can be misleading for generated columns.This patch introduces a specific error message to clarify the issue whengenerated columns are involved.Author: Shubham KhannaReviewed-by: Peter Smith, Vignesh C, Amit KapilaDiscussion:https://postgr.es/m/CAHv8RjJBvYtqU7OAofBizOmQOK2Q8h+w9v2_cQWxT_gO7er3Aw@mail.gmail.com1 parentd0eb429 commit8fcd802
File tree
2 files changed
+103
-30
lines changed- src
- backend/replication/logical
- test/subscription/t
2 files changed
+103
-30
lines changedLines changed: 61 additions & 30 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
220 | 220 |
| |
221 | 221 |
| |
222 | 222 |
| |
223 |
| - | |
| 223 | + | |
| 224 | + | |
224 | 225 |
| |
225 |
| - | |
226 |
| - | |
227 |
| - | |
| 226 | + | |
| 227 | + | |
228 | 228 |
| |
229 |
| - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
230 | 238 |
| |
231 |
| - | |
232 |
| - | |
233 |
| - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
234 | 242 |
| |
235 |
| - | |
| 243 | + | |
| 244 | + | |
236 | 245 |
| |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
| 246 | + | |
| 247 | + | |
248 | 248 |
| |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
249 | 260 |
| |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
258 | 280 |
| |
259 | 281 |
| |
260 | 282 |
| |
| |||
380 | 402 |
| |
381 | 403 |
| |
382 | 404 |
| |
| 405 | + | |
383 | 406 |
| |
384 | 407 |
| |
385 | 408 |
| |
| |||
421 | 444 |
| |
422 | 445 |
| |
423 | 446 |
| |
424 |
| - | |
| 447 | + | |
425 | 448 |
| |
426 | 449 |
| |
427 | 450 |
| |
| |||
432 | 455 |
| |
433 | 456 |
| |
434 | 457 |
| |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
435 | 463 |
| |
| 464 | + | |
436 | 465 |
| |
437 | 466 |
| |
438 |
| - | |
| 467 | + | |
| 468 | + | |
439 | 469 |
| |
440 | 470 |
| |
| 471 | + | |
441 | 472 |
| |
442 | 473 |
| |
443 | 474 |
| |
|
Lines changed: 42 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
326 | 326 |
| |
327 | 327 |
| |
328 | 328 |
| |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
329 | 371 |
|
0 commit comments
Comments
(0)