forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7727049
committed
Simplify IsIndexUsableForReplicaIdentityFull()
Take Relation as argument instead of IndexInfo. Building theIndexInfo is an unnecessary intermediate step here.A future patch wants to get some information that is in the relcachebut not in IndexInfo, so this will also help there.Discussion:https://www.postgresql.org/message-id/333d3886-b737-45c3-93f4-594c96bb405d@eisentraut.org1 parent87ce27d commit7727049
File tree
3 files changed
+9
-11
lines changed- src
- backend/replication/logical
- include/replication
3 files changed
+9
-11
lines changedLines changed: 7 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
781 | 781 |
| |
782 | 782 |
| |
783 | 783 |
| |
784 |
| - | |
785 | 784 |
| |
786 | 785 |
| |
787 |
| - | |
788 |
| - | |
| 786 | + | |
789 | 787 |
| |
790 | 788 |
| |
791 | 789 |
| |
| |||
832 | 830 |
| |
833 | 831 |
| |
834 | 832 |
| |
835 |
| - | |
| 833 | + | |
836 | 834 |
| |
837 | 835 |
| |
838 | 836 |
| |
839 | 837 |
| |
840 |
| - | |
| 838 | + | |
841 | 839 |
| |
842 | 840 |
| |
843 | 841 |
| |
844 |
| - | |
| 842 | + | |
845 | 843 |
| |
846 | 844 |
| |
847 |
| - | |
| 845 | + | |
848 | 846 |
| |
849 | 847 |
| |
850 |
| - | |
| 848 | + | |
851 | 849 |
| |
852 | 850 |
| |
853 | 851 |
| |
| |||
865 | 863 |
| |
866 | 864 |
| |
867 | 865 |
| |
868 |
| - | |
| 866 | + | |
869 | 867 |
| |
870 | 868 |
| |
871 | 869 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2931 | 2931 |
| |
2932 | 2932 |
| |
2933 | 2933 |
| |
2934 |
| - | |
| 2934 | + | |
2935 | 2935 |
| |
2936 | 2936 |
| |
2937 | 2937 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
| 51 | + | |
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
|
0 commit comments
Comments
(0)