forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit66aaabe
committed
Restore smgrtruncate() prototype in back-branches.
It's possible that external code is calling smgrtruncate(). Anyexternal callers might like to consider the recent changes toRelationTruncate(), but commit38c579b should not have changed thefunction prototype in the back-branches, per ABI stability policy.Restore smgrtruncate()'s traditional argument list in the back-branches,but make it a wrapper for a new function smgrtruncate2(). The threecallers in core can use smgrtruncate2() directly. In master (18-to-be),smgrtruncate2() is effectively renamed to smgrtruncate(), so this wartis cleaned up.Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/CA%2BhUKG%2BThae6x6%2BjmQiuALQBT2Ae1ChjMh1%3DkMvJ8y_SBJZrvA%40mail.gmail.com1 parente43537c commit66aaabe
File tree
4 files changed
+28
-6
lines changed- contrib/pg_visibility
- src
- backend
- catalog
- storage/smgr
- include/storage
4 files changed
+28
-6
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
421 | 421 |
| |
422 | 422 |
| |
423 | 423 |
| |
424 |
| - | |
| 424 | + | |
425 | 425 |
| |
426 | 426 |
| |
427 | 427 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
418 | 418 |
| |
419 | 419 |
| |
420 | 420 |
| |
421 |
| - | |
| 421 | + | |
422 | 422 |
| |
423 | 423 |
| |
424 | 424 |
| |
| |||
1059 | 1059 |
| |
1060 | 1060 |
| |
1061 | 1061 |
| |
1062 |
| - | |
| 1062 | + | |
1063 | 1063 |
| |
1064 | 1064 |
| |
1065 | 1065 |
| |
|
Lines changed: 22 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
693 | 693 |
| |
694 | 694 |
| |
695 | 695 |
| |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
696 | 716 |
| |
697 | 717 |
| |
698 | 718 |
| |
| |||
704 | 724 |
| |
705 | 725 |
| |
706 | 726 |
| |
707 |
| - | |
708 |
| - | |
| 727 | + | |
| 728 | + | |
709 | 729 |
| |
710 | 730 |
| |
711 | 731 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
108 | 107 |
| |
| 108 | + | |
| 109 | + | |
| 110 | + | |
109 | 111 |
| |
110 | 112 |
| |
111 | 113 |
| |
|
0 commit comments
Comments
(0)