forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite5372b4
committed
Correctly mark pg_subscription_rel.srsublsn as nullable.
The code has always set this column to NULL when it's not valid,but the catalog header's description failed to reflect that,as did the SGML docs, as did some of the code. To prevent futurecoding errors of the same ilk, let's hide the field from C codeas though it were variable-length (which, in a sense, it is).As with commit72eab84, we can only fix this cleanly in HEADand v13; the problem extends further back but we'll need someklugery in the released branches.Discussion:https://postgr.es/m/367660.1595202498@sss.pgh.pa.us1 parent2f1f189 commite5372b4
File tree
4 files changed
+32
-6
lines changed- doc/src/sgml
- src
- backend/catalog
- include/catalog
4 files changed
+32
-6
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7620 | 7620 |
| |
7621 | 7621 |
| |
7622 | 7622 |
| |
7623 |
| - | |
| 7623 | + | |
| 7624 | + | |
| 7625 | + | |
7624 | 7626 |
| |
7625 | 7627 |
| |
7626 | 7628 |
| |
|
Lines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
451 | 451 |
| |
452 | 452 |
| |
453 | 453 |
| |
| 454 | + | |
| 455 | + | |
454 | 456 |
| |
455 | 457 |
| |
456 | 458 |
| |
457 | 459 |
| |
458 | 460 |
| |
459 | 461 |
| |
460 |
| - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
461 | 468 |
| |
462 | 469 |
| |
463 | 470 |
| |
| |||
503 | 510 |
| |
504 | 511 |
| |
505 | 512 |
| |
| 513 | + | |
| 514 | + | |
506 | 515 |
| |
507 | 516 |
| |
508 | 517 |
| |
509 | 518 |
| |
510 | 519 |
| |
511 | 520 |
| |
512 |
| - | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
513 | 527 |
| |
514 | 528 |
| |
515 | 529 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 |
| - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
38 | 48 |
| |
39 | 49 |
| |
40 | 50 |
| |
|
0 commit comments
Comments
(0)