Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6b5765

Browse files
author
Michael Meskes
committed
Synced parser and keyword list.
1 parentfcc6756 commita6b5765

File tree

6 files changed

+123
-48
lines changed

6 files changed

+123
-48
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,5 +2233,9 @@ Wed, 22 Aug 2007 08:41:33 +0200
22332233
Wed, 29 Aug 2007 15:41:58 +0200
22342234

22352235
- Fixed bug in Informix define handling.
2236+
2237+
Tue, 04 Sep 2007 11:13:55 +0200
2238+
2239+
- Synced parser and keyword list.
22362240
- Set ecpg library version to 6.0.
22372241
- Set ecpg version to 4.4.

‎src/interfaces/ecpg/preproc/keywords.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.81 2007/08/22 08:20:58 meskes Exp $
11+
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.82 2007/09/04 10:02:29 meskes Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -86,7 +86,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
8686
{"commit",COMMIT},
8787
{"committed",COMMITTED},
8888
{"concurrently",CONCURRENTLY},
89-
{"concurrently",CONCURRENTLY},
89+
{"configuration",CONFIGURATION},
9090
{"connection",CONNECTION},
9191
{"constraint",CONSTRAINT},
9292
{"constraints",CONSTRAINTS},
@@ -123,6 +123,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
123123
{"delimiter",DELIMITER},
124124
{"delimiters",DELIMITERS},
125125
{"desc",DESC},
126+
{"dictionary",DICTIONARY},
126127
{"disable",DISABLE_P},
127128
{"discard",DISCARD},
128129
{"distinct",DISTINCT},
@@ -217,6 +218,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
217218
{"location",LOCATION},
218219
{"lock",LOCK_P},
219220
{"login",LOGIN_P},
221+
{"mapping",MAPPING},
220222
{"match",MATCH},
221223
{"maxvalue",MAXVALUE},
222224
{"minute",MINUTE_P},
@@ -265,6 +267,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
265267
{"overlaps",OVERLAPS},
266268
{"owned",OWNED},
267269
{"owner",OWNER},
270+
{"parser",PARSER},
268271
{"partial",PARTIAL},
269272
{"password",PASSWORD},
270273
{"placing",PLACING},
@@ -307,6 +310,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
307310
{"savepoint",SAVEPOINT},
308311
{"schema",SCHEMA},
309312
{"scroll",SCROLL},
313+
{"search",SEARCH},
310314
{"second",SECOND_P},
311315
{"security",SECURITY},
312316
{"select",SELECT},
@@ -342,6 +346,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
342346
{"temp",TEMP},
343347
{"template",TEMPLATE},
344348
{"temporary",TEMPORARY},
349+
{"text",TEXT_P},
345350
{"then",THEN},
346351
{"time",TIME},
347352
{"timestamp",TIMESTAMP},

‎src/interfaces/ecpg/preproc/pgc.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.155 2007/08/29 13:58:13 meskes Exp $
15+
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.156 2007/09/04 10:02:29 meskes Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -1152,7 +1152,7 @@ lex_init(void)
11521152
/* initialize literal buffer to a reasonable but expansible size */
11531153
if (literalbuf ==NULL)
11541154
{
1155-
literalalloc =128;
1155+
literalalloc =1024;
11561156
literalbuf = (char *)malloc(literalalloc);
11571157
}
11581158
startlit();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp