Commit 7727049
committed
Simplify IsIndexUsableForReplicaIdentityFull()
Take Relation as argument instead of IndexInfo. Building the
IndexInfo is an unnecessary intermediate step here.
A future patch wants to get some information that is in the relcache
but not in IndexInfo, so this will also help there.
Discussion: https://www.postgresql.org/message-id/[email protected]1 parent 87ce27d commit 7727049
File tree
3 files changed
+9
-11
lines changed- src
- backend/replication/logical
- include/replication
3 files changed
+9
-11
lines changed| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2931 | 2931 | | |
2932 | 2932 | | |
2933 | 2933 | | |
2934 | | - | |
| 2934 | + | |
2935 | 2935 | | |
2936 | 2936 | | |
2937 | 2937 | | |
| |||
| 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