- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit622f678
committed
Integrate GistTranslateCompareType() into IndexAmTranslateCompareType()
This turns GistTranslateCompareType() into a callback function of thegist index AM instead of a standalone function. The existing callersare changed to use IndexAmTranslateCompareType(). This then makesthat code not hardcoded toward gist.This means in particular that the temporal keys code is nowindependent of gist. Also, this generalizes commit74edabc, soother index access methods other than the previously hardcoded onescould now work as REPLICA IDENTITY in a logical replicationsubscriber.Author: Mark Dilger <mark.dilger@enterprisedb.com>Co-authored-by: Peter Eisentraut <peter@eisentraut.org>Discussion:https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com1 parent43a15eb commit622f678
File tree
8 files changed
+25
-82
lines changed- src
- backend
- access/gist
- commands
- executor
- replication/logical
- include
- access
- executor
8 files changed
+25
-82
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
111 |
| - | |
| 111 | + | |
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
|
Lines changed: 1 addition & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1095 | 1095 |
| |
1096 | 1096 |
| |
1097 | 1097 |
| |
1098 |
| - | |
| 1098 | + | |
1099 | 1099 |
| |
1100 |
| - | |
1101 |
| - | |
1102 | 1100 |
| |
1103 | 1101 |
| |
1104 | 1102 |
| |
1105 |
| - | |
1106 |
| - | |
1107 |
| - | |
1108 |
| - | |
1109 | 1103 |
| |
1110 | 1104 |
| |
1111 | 1105 |
| |
|
Lines changed: 8 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2422 | 2422 |
| |
2423 | 2423 |
| |
2424 | 2424 |
| |
| 2425 | + | |
2425 | 2426 |
| |
2426 | 2427 |
| |
2427 | 2428 |
| |
2428 | 2429 |
| |
2429 | 2430 |
| |
| 2431 | + | |
| 2432 | + | |
2430 | 2433 |
| |
2431 | 2434 |
| |
2432 | 2435 |
| |
2433 | 2436 |
| |
2434 | 2437 |
| |
2435 |
| - | |
2436 |
| - | |
2437 |
| - | |
2438 |
| - | |
| 2438 | + | |
2439 | 2439 |
| |
2440 |
| - | |
| 2440 | + | |
2441 | 2441 |
| |
2442 |
| - | |
2443 |
| - | |
2444 |
| - | |
2445 |
| - | |
2446 |
| - | |
2447 |
| - | |
2448 |
| - | |
2449 | 2442 |
| |
2450 | 2443 |
| |
2451 | 2444 |
| |
2452 | 2445 |
| |
2453 | 2446 |
| |
2454 |
| - | |
2455 |
| - | |
2456 |
| - | |
| 2447 | + | |
| 2448 | + | |
2457 | 2449 |
| |
2458 | 2450 |
| |
2459 | 2451 |
| |
| |||
2472 | 2464 |
| |
2473 | 2465 |
| |
2474 | 2466 |
| |
2475 |
| - | |
| 2467 | + | |
2476 | 2468 |
| |
2477 | 2469 |
| |
2478 | 2470 |
| |
|
Lines changed: 6 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10002 | 10002 |
| |
10003 | 10003 |
| |
10004 | 10004 |
| |
10005 |
| - | |
10006 |
| - | |
10007 |
| - | |
10008 |
| - | |
10009 |
| - | |
10010 |
| - | |
10011 |
| - | |
10012 | 10005 |
| |
10013 | 10006 |
| |
10014 | 10007 |
| |
10015 |
| - | |
10016 |
| - | |
10017 |
| - | |
| 10008 | + | |
| 10009 | + | |
10018 | 10010 |
| |
10019 |
| - | |
| 10011 | + | |
10020 | 10012 |
| |
10021 |
| - | |
10022 |
| - | |
10023 |
| - | |
10024 |
| - | |
10025 |
| - | |
10026 |
| - | |
10027 |
| - | |
10028 | 10013 |
| |
10029 | 10014 |
| |
10030 | 10015 |
| |
10031 | 10016 |
| |
10032 | 10017 |
| |
10033 |
| - | |
10034 |
| - | |
10035 |
| - | |
| 10018 | + | |
| 10019 | + | |
10036 | 10020 |
| |
10037 | 10021 |
| |
10038 | 10022 |
| |
| |||
10041 | 10025 |
| |
10042 | 10026 |
| |
10043 | 10027 |
| |
10044 |
| - | |
| 10028 | + | |
10045 | 10029 |
| |
10046 | 10030 |
| |
10047 | 10031 |
| |
|
Lines changed: 1 addition & 33 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 | 41 |
| |
71 | 42 |
| |
72 | 43 |
| |
| |||
120 | 91 |
| |
121 | 92 |
| |
122 | 93 |
| |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
| 94 | + | |
127 | 95 |
| |
128 | 96 |
| |
129 | 97 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
| |||
835 | 836 |
| |
836 | 837 |
| |
837 | 838 |
| |
838 |
| - | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
839 | 845 |
| |
840 | 846 |
| |
841 | 847 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
251 |
| - | |
| 251 | + | |
252 | 252 |
| |
253 | 253 |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
664 | 664 |
| |
665 | 665 |
| |
666 | 666 |
| |
667 |
| - | |
668 | 667 |
| |
669 | 668 |
| |
670 | 669 |
| |
|
0 commit comments
Comments
(0)