8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.68 2004/12/31 22:03:48 pgsql Exp $
11
+ * $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.69 2005/10/04 13:28:21 meskes Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -33,6 +33,7 @@ static ScanKeyword ScanKeywords[] = {
33
33
{"access" ,ACCESS },
34
34
{"action" ,ACTION },
35
35
{"add" ,ADD },
36
+ {"admin" ,ADMIN },
36
37
{"after" ,AFTER },
37
38
{"aggregate" ,AGGREGATE },
38
39
{"all" ,ALL },
@@ -47,6 +48,7 @@ static ScanKeyword ScanKeywords[] = {
47
48
{"asc" ,ASC },
48
49
{"assertion" ,ASSERTION },
49
50
{"assignment" ,ASSIGNMENT },
51
+ {"asymmetric" ,ASYMMETRIC },
50
52
{"at" ,AT },
51
53
{"authorization" ,AUTHORIZATION },
52
54
{"backward" ,BACKWARD },
@@ -79,20 +81,22 @@ static ScanKeyword ScanKeywords[] = {
79
81
{"comment" ,COMMENT },
80
82
{"commit" ,COMMIT },
81
83
{"committed" ,COMMITTED },
84
+ {"connection" ,CONNECTION },
82
85
{"constraint" ,CONSTRAINT },
83
86
{"constraints" ,CONSTRAINTS },
84
87
{"conversion" ,CONVERSION_P },
85
88
{"convert" ,CONVERT },
86
89
{"copy" ,COPY },
87
90
{"create" ,CREATE },
88
91
{"createdb" ,CREATEDB },
92
+ {"createrole" ,CREATEROLE },
89
93
{"createuser" ,CREATEUSER },
90
94
{"cross" ,CROSS },
91
95
{"csv" ,CSV },
92
96
{"current_date" ,CURRENT_DATE },
97
+ {"current_role" ,CURRENT_ROLE },
93
98
{"current_time" ,CURRENT_TIME },
94
99
{"current_timestamp" ,CURRENT_TIMESTAMP },
95
- {"current_user" ,CURRENT_USER },
96
100
{"cursor" ,CURSOR },
97
101
{"cycle" ,CYCLE },
98
102
{"database" ,DATABASE },
@@ -110,13 +114,15 @@ static ScanKeyword ScanKeywords[] = {
110
114
{"delimiter" ,DELIMITER },
111
115
{"delimiters" ,DELIMITERS },
112
116
{"desc" ,DESC },
117
+ {"disable" ,DISABLE_P },
113
118
{"distinct" ,DISTINCT },
114
119
{"do" ,DO },
115
120
{"domain" ,DOMAIN_P },
116
121
{"double" ,DOUBLE_P },
117
122
{"drop" ,DROP },
118
123
{"each" ,EACH },
119
124
{"else" ,ELSE },
125
+ {"enable" ,ENABLE_P },
120
126
{"encoding" ,ENCODING },
121
127
{"encrypted" ,ENCRYPTED },
122
128
{"end" ,END_P },
@@ -144,9 +150,12 @@ static ScanKeyword ScanKeywords[] = {
144
150
{"get" ,GET },
145
151
{"global" ,GLOBAL },
146
152
{"grant" ,GRANT },
153
+ {"granted" ,GRANTED },
154
+ {"greatest" ,GREATEST },
147
155
{"group" ,GROUP_P },
148
156
{"handler" ,HANDLER },
149
157
{"having" ,HAVING },
158
+ {"header" ,HEADER },
150
159
{"hold" ,HOLD },
151
160
{"hour" ,HOUR_P },
152
161
{"ilike" ,ILIKE },
@@ -157,6 +166,7 @@ static ScanKeyword ScanKeywords[] = {
157
166
{"including" ,INCLUDING },
158
167
{"increment" ,INCREMENT },
159
168
{"index" ,INDEX },
169
+ {"inherit" ,INHERIT },
160
170
{"inherits" ,INHERITS },
161
171
{"initially" ,INITIALLY },
162
172
{"inner" ,INNER_P },
@@ -181,6 +191,7 @@ static ScanKeyword ScanKeywords[] = {
181
191
{"large" ,LARGE_P },
182
192
{"last" ,LAST_P },
183
193
{"leading" ,LEADING },
194
+ {"least" ,LEAST },
184
195
{"left" ,LEFT },
185
196
{"level" ,LEVEL },
186
197
{"like" ,LIKE },
@@ -190,6 +201,7 @@ static ScanKeyword ScanKeywords[] = {
190
201
{"local" ,LOCAL },
191
202
{"location" ,LOCATION },
192
203
{"lock" ,LOCK_P },
204
+ {"login" ,LOGIN_P },
193
205
{"match" ,MATCH },
194
206
{"maxvalue" ,MAXVALUE },
195
207
{"minute" ,MINUTE_P },
@@ -205,8 +217,12 @@ static ScanKeyword ScanKeywords[] = {
205
217
{"next" ,NEXT },
206
218
{"no" ,NO },
207
219
{"nocreatedb" ,NOCREATEDB },
220
+ {"nocreaterole" ,NOCREATEROLE },
208
221
{"nocreateuser" ,NOCREATEUSER },
222
+ {"noinherit" ,NOINHERIT },
223
+ {"nologin" ,NOLOGIN_P },
209
224
{"none" ,NONE },
225
+ {"nosuperuser" ,NOSUPERUSER },
210
226
{"not" ,NOT },
211
227
{"nothing" ,NOTHING },
212
228
{"notify" ,NOTIFY },
@@ -236,6 +252,7 @@ static ScanKeyword ScanKeywords[] = {
236
252
{"position" ,POSITION },
237
253
{"precision" ,PRECISION },
238
254
{"prepare" ,PREPARE },
255
+ {"prepared" ,PREPARED },
239
256
{"preserve" ,PRESERVE },
240
257
{"primary" ,PRIMARY },
241
258
{"prior" ,PRIOR },
@@ -259,6 +276,7 @@ static ScanKeyword ScanKeywords[] = {
259
276
{"returns" ,RETURNS },
260
277
{"revoke" ,REVOKE },
261
278
{"right" ,RIGHT },
279
+ {"role" ,ROLE },
262
280
{"rollback" ,ROLLBACK },
263
281
{"row" ,ROW },
264
282
{"rows" ,ROWS },
@@ -290,7 +308,10 @@ static ScanKeyword ScanKeywords[] = {
290
308
{"storage" ,STORAGE },
291
309
{"strict" ,STRICT_P },
292
310
{"substring" ,SUBSTRING },
311
+ {"superuser" ,SUPERUSER_P },
312
+ {"symmetric" ,SYMMETRIC },
293
313
{"sysid" ,SYSID },
314
+ {"system" ,SYSTEM_P },
294
315
{"table" ,TABLE },
295
316
{"tablespace" ,TABLESPACE },
296
317
{"temp" ,TEMP },
@@ -318,11 +339,11 @@ static ScanKeyword ScanKeywords[] = {
318
339
{"unlisten" ,UNLISTEN },
319
340
{"until" ,UNTIL },
320
341
{"update" ,UPDATE },
321
- {"usage" ,USAGE },
322
342
{"user" ,USER },
323
343
{"using" ,USING },
324
344
{"vacuum" ,VACUUM },
325
345
{"valid" ,VALID },
346
+ {"validator" ,VALIDATOR },
326
347
{"values" ,VALUES },
327
348
{"varchar" ,VARCHAR },
328
349
{"varying" ,VARYING },