forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit84549eb
committed
Tweak reformat_dat_file.pl to make it more easily hand-invokable.
Use the same code we already applied in duplicate_oids and unused_oidsto let this script find Catalog.pm without help. This removes the needto supply a -I switch in most cases.Also, mark the script executable, again to follow the precedent ofduplicate_oids and unused_oids. Now you can just do"./reformat_dat_file.pl pg_proc.dat"if you want to reformat only one or a few .dat files rather than all.It'd be possible to remove the -I switches in the Makefile's conveniencetargets, but I chose to leave them: they don't hurt anything, and it'spossible that in weird VPATH situations they might be of value.1 parent45c6d75 commit84549eb
File tree
2 files changed
+15
-13
lines changed- doc/src/sgml
- src/include/catalog
2 files changed
+15
-13
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
594 | 594 |
| |
595 | 595 |
| |
596 | 596 |
| |
597 |
| - | |
| 597 | + | |
598 | 598 |
| |
599 | 599 |
| |
600 | 600 |
| |
|
src/include/catalog/reformat_dat_file.pl
100644
100755
Lines changed: 14 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 |
| - | |
| 5 | + | |
| 6 | + | |
7 | 7 |
| |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
19 |
| - | |
20 |
| - | |
21 | 20 |
| |
22 | 21 |
| |
23 | 22 |
| |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
24 | 29 |
| |
25 | 30 |
| |
26 | 31 |
| |
| |||
293 | 298 |
| |
294 | 299 |
| |
295 | 300 |
| |
296 |
| - | |
| 301 | + | |
297 | 302 |
| |
298 | 303 |
| |
299 | 304 |
| |
300 | 305 |
| |
301 |
| - | |
302 |
| - | |
303 |
| - | |
304 | 306 |
| |
305 | 307 |
|
0 commit comments
Comments
(0)