- Notifications
You must be signed in to change notification settings - Fork5
Commit2c6af4f
committed
Move keywords.c/kwlookup.c into src/common/.
Now that we have src/common/ for code shared between frontend and backend,we can get rid of (most of) the klugy ways that the keyword table andkeyword lookup code were formerly shared between different uses.This is a first step towards a more general plan of getting rid ofspecial-purpose kluges for sharing code in src/bin/.I chose to merge kwlookup.c back into keywords.c, as it once was, andalways has been so far as keywords.h is concerned. We could havekept them separate, but there is noplace that uses ScanKeywordLookupwithout also wanting access to the backend's keyword list, so thereseems little point.ecpg is still a bit weird, but at least now the trickiness is documented.I think that the MSVC build script should require no adjustments beyondwhat's done here ... but we'll soon find out.1 parent3df9c37 commit2c6af4f
File tree
23 files changed
+102
-148
lines changed- src
- backend
- parser
- utils/adt
- bin
- pg_dump
- psql
- scripts
- common
- include
- common
- parser
- interfaces/ecpg/preproc
- tools/msvc
23 files changed
+102
-148
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
15 | 13 |
| |
16 | 14 |
| |
17 | 15 |
| |
| |||
28 | 26 |
| |
29 | 27 |
| |
30 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + |
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
31 |
| - | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
48 |
| - | |
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 | 1 |
| |
4 | 2 |
| |
5 | 3 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 | 25 |
| |
31 | 26 |
| |
32 |
| - | |
33 |
| - | |
| 27 | + | |
| 28 | + | |
34 | 29 |
| |
35 |
| - | |
36 |
| - | |
| 30 | + | |
| 31 | + | |
37 | 32 |
| |
38 |
| - | |
39 |
| - | |
| 33 | + | |
| 34 | + | |
40 | 35 |
| |
41 | 36 |
| |
42 | 37 |
| |
| |||
50 | 45 |
| |
51 | 46 |
| |
52 | 47 |
| |
53 |
| - | |
| 48 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 | 24 |
| |
29 | 25 |
| |
30 | 26 |
| |
| |||
116 | 112 |
| |
117 | 113 |
| |
118 | 114 |
| |
119 |
| - | |
120 |
| - | |
| 115 | + | |
| 116 | + | |
121 | 117 |
| |
122 | 118 |
| |
123 | 119 |
| |
|
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 | 6 |
| |
9 | 7 |
|
0 commit comments
Comments
(0)