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

Commitea82ad6

Browse files
author
Michael Meskes
committed
Synced parser and keyword list.
1 parente1caa90 commitea82ad6

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2260,6 +2260,10 @@ Wed, 03 Oct 2007 10:48:39 +0200
22602260
exported.
22612261
- Created export list for ecpglib.
22622262
- Also created export list for pgytpeslib and compatlib.
2263+
2264+
Wed, 10 Oct 2007 08:31:44 +0200
2265+
2266+
- Synced parser and keyword list.
22632267
- Set pgtypes library version to 3.0.
22642268
- Set compat library version to 3.0.
22652269
- Set ecpg library version to 6.0.

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

Lines changed: 1 addition & 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.82 2007/09/04 10:02:29 meskes Exp $
11+
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.83 2007/10/10 06:33:17 meskes Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -92,7 +92,6 @@ static const ScanKeyword ScanPGSQLKeywords[] = {
9292
{"constraints",CONSTRAINTS},
9393
{"content",CONTENT_P},
9494
{"conversion",CONVERSION_P},
95-
{"convert",CONVERT},
9695
{"copy",COPY},
9796
{"cost",COST},
9897
{"create",CREATE},

‎src/interfaces/ecpg/preproc/preproc.y

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.353 2007/10/03 11:11:12 meskes Exp $*/
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.354 2007/10/10 06:33:17 meskes Exp $*/
22

33
/* Copyright comment*/
44
%{
@@ -422,7 +422,7 @@ add_typedef(char *name, char * dimension, char * length, enum ECPGttype type_enu
422422
CHARACTER CHARACTERISTICS CHECK CHECKPOINT CLASS CLOSE
423423
CLUSTER COALESCE COLLATE COLUMN COMMENT COMMIT
424424
COMMITTED CONCURRENTLY CONFIGURATION CONNECTION CONSTRAINT CONSTRAINTS
425-
CONTENT_P CONVERSION_PCONVERTCOPY COST CREATE CREATEDB
425+
CONTENT_P CONVERSION_P COPY COST CREATE CREATEDB
426426
CREATEROLE CREATEUSER CROSS CSV CURRENT_P CURRENT_DATE CURRENT_ROLE
427427
CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURSOR CYCLE
428428

@@ -4405,10 +4405,6 @@ func_expr: func_name '(' ')'
44054405
{$$ = cat_str(3, make_str("trim(trailing"),$4, make_str(")")); }
44064406
|TRIM'('trim_list')'
44074407
{$$ = cat_str(3, make_str("trim("),$3, make_str(")")); }
4408-
|CONVERT'('a_exprUSINGany_name')'
4409-
{$$ = cat_str(5, make_str("convert("),$3, make_str("using"),$5, make_str(")"));}
4410-
|CONVERT'('expr_list')'
4411-
{$$ = cat_str(3, make_str("convert("),$3, make_str(")")); }
44124408
|NULLIF'('a_expr','a_expr')'
44134409
{$$ = cat_str(5, make_str("nullif("),$3, make_str(","),$5, make_str(")")); }
44144410
|COALESCE'('expr_list')'
@@ -6652,7 +6648,6 @@ col_name_keyword:
66526648
*/
66536649
|CHARACTER{$$ = make_str("character"); }
66546650
|COALESCE{$$ = make_str("coalesce"); }
6655-
|CONVERT{$$ = make_str("convert"); }
66566651
|DEC{$$ = make_str("dec"); }
66576652
|DECIMAL_P{$$ = make_str("decimal"); }
66586653
|EXISTS{$$ = make_str("exists"); }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp