- Notifications
You must be signed in to change notification settings - Fork28
Commite26c539
committed
Wrap calls to SearchSysCache and related functions using macros.
The purpose of this change is to eliminate the need for every callerof SearchSysCache, SearchSysCacheCopy, SearchSysCacheExists,GetSysCacheOid, and SearchSysCacheList to know the maximum numberof allowable keys for a syscache entry (currently 4). This willmake it far easier to increase the maximum number of keys in afuture release should we choose to do so, and it makes the codeshorter, too.Design and review by Tom Lane.1 parent1012492 commite26c539
File tree
97 files changed
+1125
-2061
lines changed- contrib/dblink
- src
- backend
- access
- common
- heap
- transam
- catalog
- commands
- executor
- foreign
- libpq
- optimizer
- plan
- util
- parser
- postmaster
- rewrite
- tcop
- utils
- adt
- cache
- fmgr
- init
- mb
- misc
- include/utils
- pl
- plperl
- plpgsql/src
- plpython
- tcl
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
97 files changed
+1125
-2061
lines changedLines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
2180 | 2180 |
| |
2181 | 2181 |
| |
2182 | 2182 |
| |
2183 |
| - | |
2184 |
| - | |
2185 |
| - | |
| 2183 | + | |
2186 | 2184 |
| |
2187 | 2185 |
| |
2188 | 2186 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
478 | 478 |
| |
479 | 479 |
| |
480 | 480 |
| |
481 |
| - | |
482 |
| - | |
483 |
| - | |
| 481 | + | |
484 | 482 |
| |
485 | 483 |
| |
486 | 484 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
935 | 935 |
| |
936 | 936 |
| |
937 | 937 |
| |
938 |
| - | |
939 |
| - | |
940 |
| - | |
| 938 | + | |
941 | 939 |
| |
942 | 940 |
| |
943 | 941 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
402 | 402 |
| |
403 | 403 |
| |
404 | 404 |
| |
405 |
| - | |
406 |
| - | |
407 |
| - | |
| 405 | + | |
408 | 406 |
| |
409 | 407 |
| |
410 | 408 |
| |
|
0 commit comments
Comments
(0)