forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit85475af
committed
Cosmetic improvement: use BKI_DEFAULT and BKI_LOOKUP in pg_language.
The point of this is not really to remove redundancy in pg_language.dat;with only three entries, it's hardly worth it. Rather, it is to getto a point where there are exactly zero hard-coded numeric pg_proc OIDreferences in the catalog .dat files. The lanvalidator column was theonly remaining location of such references, and it seems like a goodthing for future-proofing reasons to make it not be a special case.There are still a few places in the .dat files with numeric OID referencesto other catalogs, but after review I don't see any that seem worthchanging at present. In each case there are just too few entries to makeit worth the trouble to create lookup infrastructure.This doesn't change the emitted postgres.bki file, so no catversion bump.1 parent9cb7db3 commit85475af
2 files changed
+25
-17
lines changedLines changed: 3 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
19 |
| - | |
| 17 | + | |
20 | 18 |
| |
21 | 19 |
| |
22 |
| - | |
23 |
| - | |
24 |
| - | |
| 20 | + | |
25 | 21 |
| |
26 | 22 |
| |
27 |
| - | |
28 |
| - | |
29 |
| - | |
| 23 | + | |
30 | 24 |
| |
31 | 25 |
|
Lines changed: 22 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
38 | 51 |
| |
39 | 52 |
| |
40 |
| - | |
| 53 | + | |
| 54 | + | |
41 | 55 |
| |
42 | 56 |
| |
43 | 57 |
| |
|
0 commit comments
Comments
(0)