Commit a6b5765c authored by Michael Meskes's avatar Michael Meskes

Synced parser and keyword list.

parent fcc67563
......@@ -2233,5 +2233,9 @@ Wed, 22 Aug 2007 08:41:33 +0200
Wed, 29 Aug 2007 15:41:58 +0200
- Fixed bug in Informix define handling.
Tue, 04 Sep 2007 11:13:55 +0200
- Synced parser and keyword list.
- Set ecpg library version to 6.0.
- Set ecpg version to 4.4.
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.81 2007/08/22 08:20:58 meskes Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.82 2007/09/04 10:02:29 meskes Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -86,7 +86,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
{"commit", COMMIT},
{"committed", COMMITTED},
{"concurrently", CONCURRENTLY},
{"concurrently", CONCURRENTLY},
{"configuration", CONFIGURATION},
{"connection", CONNECTION},
{"constraint", CONSTRAINT},
{"constraints", CONSTRAINTS},
......@@ -123,6 +123,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
{"delimiter", DELIMITER},
{"delimiters", DELIMITERS},
{"desc", DESC},
{"dictionary", DICTIONARY},
{"disable", DISABLE_P},
{"discard", DISCARD},
{"distinct", DISTINCT},
......@@ -217,6 +218,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
{"location", LOCATION},
{"lock", LOCK_P},
{"login", LOGIN_P},
{"mapping", MAPPING},
{"match", MATCH},
{"maxvalue", MAXVALUE},
{"minute", MINUTE_P},
......@@ -265,6 +267,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
{"overlaps", OVERLAPS},
{"owned", OWNED},
{"owner", OWNER},
{"parser", PARSER},
{"partial", PARTIAL},
{"password", PASSWORD},
{"placing", PLACING},
......@@ -307,6 +310,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
{"savepoint", SAVEPOINT},
{"schema", SCHEMA},
{"scroll", SCROLL},
{"search", SEARCH},
{"second", SECOND_P},
{"security", SECURITY},
{"select", SELECT},
......@@ -342,6 +346,7 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
{"temp", TEMP},
{"template", TEMPLATE},
{"temporary", TEMPORARY},
{"text", TEXT_P},
{"then", THEN},
{"time", TIME},
{"timestamp", TIMESTAMP},
......
......@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.155 2007/08/29 13:58:13 meskes Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.156 2007/09/04 10:02:29 meskes Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -1152,7 +1152,7 @@ lex_init(void)
/* initialize literal buffer to a reasonable but expansible size */
if (literalbuf == NULL)
{
literalalloc = 128;
literalalloc = 1024;
literalbuf = (char *) malloc(literalalloc);
}
startlit();
......
This diff is collapsed.
......@@ -76,7 +76,7 @@ int main(int argc, char *argv[])
{ ECPGtrans(__LINE__, NULL, "commit");}
#line 48 "thread.pgc"
{ ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test_thread ( tstamp timestamp not null default cast( timeofday () as timestamp ) , thread TEXT not null , iteration integer not null , primary key( thread , iteration ) ) ", ECPGt_EOIT, ECPGt_EORT);}
{ ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test_thread ( tstamp timestamp not null default cast( timeofday () as timestamp ) , thread text not null , iteration integer not null , primary key( thread , iteration ) ) ", ECPGt_EOIT, ECPGt_EORT);}
#line 53 "thread.pgc"
{ ECPGtrans(__LINE__, NULL, "commit");}
......
......@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
{ ECPGtrans(__LINE__, NULL, "commit");}
#line 49 "thread_implicit.pgc"
{ ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test_thread ( tstamp timestamp not null default cast( timeofday () as timestamp ) , thread TEXT not null , iteration integer not null , primary key( thread , iteration ) ) ", ECPGt_EOIT, ECPGt_EORT);}
{ ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test_thread ( tstamp timestamp not null default cast( timeofday () as timestamp ) , thread text not null , iteration integer not null , primary key( thread , iteration ) ) ", ECPGt_EOIT, ECPGt_EORT);}
#line 54 "thread_implicit.pgc"
{ ECPGtrans(__LINE__, NULL, "commit");}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment