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

Commit5cbbdd2

Browse files
author
Michael Meskes
committed
Applied yet another patch by Christof. Thanks Cristof!
Synced parser.
1 parentb0299c5 commit5cbbdd2

File tree

5 files changed

+147
-66
lines changed

5 files changed

+147
-66
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,5 +1013,11 @@ Fri Nov 3 11:34:43 CET 2000
10131013
Sat Nov 4 17:42:43 CET 2000
10141014

10151015
- Added patch by Christof Petig to fix several small bugs.
1016+
1017+
Thu Nov 9 14:40:18 CET 2000
1018+
1019+
- Synced gram.y and preproc.y.
1020+
- Synced keyword.c.
1021+
- Added just another patch by Christof Petig.
10161022
- Set ecpg version to 2.8.0.
10171023
- Set library version to 3.2.0.

‎src/interfaces/ecpg/include/ecpglib.h

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
1-
#include"postgres.h"
2-
#include"libpq-fe.h"
1+
/*
2+
* this is a small part of c.h since we don't want to leak all postgres
3+
* definitions into ecpg programs
4+
*/
5+
6+
#ifndef__BEOS__
7+
#ifndef__cplusplus
8+
#ifndefbool
9+
#definebool char
10+
#endif/* ndef bool */
11+
#endif/* not C++ */
12+
13+
#ifndeftrue
14+
#definetrue ((bool) 1)
15+
#endif
16+
#ifndeffalse
17+
#definebool char
18+
#endif/* ndef bool */
19+
#endif/* __BEOS__ */
20+
21+
#ifndefTRUE
22+
#defineTRUE 1
23+
#endif/* TRUE */
24+
25+
#ifndefFALSE
26+
#defineFALSE 0
27+
#endif/* FALSE */
328

429
#ifdef__cplusplus
530
extern"C"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
staticScanKeywordScanKeywords[]= {
2121
/* namevalue*/
2222
{"allocate",SQL_ALLOCATE},
23-
{"at",SQL_AT},
2423
{"autocommit",SQL_AUTOCOMMIT},
2524
{"bool",SQL_BOOL},
2625
{"break",SQL_BREAK},

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.31 2000/11/07 08:46:27 meskes Exp $
11+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.32 2000/11/09 14:06:57 meskes Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -38,11 +38,13 @@ static ScanKeyword ScanKeywords[] = {
3838
{"aggregate",AGGREGATE},
3939
{"all",ALL},
4040
{"alter",ALTER},
41+
{"analyse",ANALYSE},
4142
{"analyze",ANALYZE},
4243
{"and",AND},
4344
{"any",ANY},
4445
{"as",AS},
4546
{"asc",ASC},
47+
{"at",AT},
4648
{"backward",BACKWARD},
4749
{"before",BEFORE},
4850
{"begin",BEGIN_TRANS},
@@ -60,6 +62,7 @@ static ScanKeyword ScanKeywords[] = {
6062
{"character",CHARACTER},
6163
{"characteristics",CHARACTERISTICS},
6264
{"check",CHECK},
65+
{"checkpoint",CHECKPOINT},
6366
{"close",CLOSE},
6467
{"cluster",CLUSTER},
6568
{"coalesce",COALESCE},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp