forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork0
Commitdd4cc9d
committed
Fix duplicate_oids and unused_oids so user needn't cd to catalog dir.
Previously, you had to cd into src/include/catalog before running eitherof these scripts. That's a bit tedious, so let's make the scripts do itfor you.In passing, improve the initial comments in both scripts. Also removeunused_oids' code to complain about duplicate oids. That was added inyesterday's commit5602265, but on second thought we shouldn't berandomly redefining the script's behavior that way.John Naylor and Tom LaneDiscussion:https://postgr.es/m/37D774E4-FE1F-437E-B3D2-593F314B7505@postgrespro.ru1 parent1900365 commitdd4cc9d
2 files changed
+42
-20
lines changedLines changed: 23 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
3 |
| - | |
4 |
| - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
5 | 18 |
| |
6 | 19 |
| |
7 | 20 |
| |
8 | 21 |
| |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
9 | 29 |
| |
10 | 30 |
| |
11 | 31 |
| |
|
Lines changed: 19 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
| 2 | + | |
2 | 3 |
| |
3 | 4 |
| |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
4 | 9 |
| |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 |
| |
12 |
| - | |
13 |
| - | |
14 |
| - | |
| 14 | + | |
| 15 | + | |
15 | 16 |
| |
16 |
| - | |
| 17 | + | |
17 | 18 |
| |
18 |
| - | |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 |
| |
25 | 32 |
| |
26 | 33 |
| |
| |||
45 | 52 |
| |
46 | 53 |
| |
47 | 54 |
| |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 | 55 |
| |
54 | 56 |
|
0 commit comments
Comments
(0)