Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
5cbbdd2e
Commit
5cbbdd2e
authored
Nov 09, 2000
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applied yet another patch by Christof. Thanks Cristof!
Synced parser.
parent
b0299c5d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
147 additions
and
66 deletions
+147
-66
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+6
-0
src/interfaces/ecpg/include/ecpglib.h
src/interfaces/ecpg/include/ecpglib.h
+27
-2
src/interfaces/ecpg/preproc/ecpg_keywords.c
src/interfaces/ecpg/preproc/ecpg_keywords.c
+0
-1
src/interfaces/ecpg/preproc/keywords.c
src/interfaces/ecpg/preproc/keywords.c
+4
-1
src/interfaces/ecpg/preproc/preproc.y
src/interfaces/ecpg/preproc/preproc.y
+110
-62
No files found.
src/interfaces/ecpg/ChangeLog
View file @
5cbbdd2e
...
...
@@ -1013,5 +1013,11 @@ Fri Nov 3 11:34:43 CET 2000
Sat Nov 4 17:42:43 CET 2000
- Added patch by Christof Petig to fix several small bugs.
Thu Nov 9 14:40:18 CET 2000
- Synced gram.y and preproc.y.
- Synced keyword.c.
- Added just another patch by Christof Petig.
- Set ecpg version to 2.8.0.
- Set library version to 3.2.0.
src/interfaces/ecpg/include/ecpglib.h
View file @
5cbbdd2e
#include "postgres.h"
#include "libpq-fe.h"
/*
* this is a small part of c.h since we don't want to leak all postgres
* definitions into ecpg programs
*/
#ifndef __BEOS__
#ifndef __cplusplus
#ifndef bool
#define bool char
#endif
/* ndef bool */
#endif
/* not C++ */
#ifndef true
#define true ((bool) 1)
#endif
#ifndef false
#define bool char
#endif
/* ndef bool */
#endif
/* __BEOS__ */
#ifndef TRUE
#define TRUE 1
#endif
/* TRUE */
#ifndef FALSE
#define FALSE 0
#endif
/* FALSE */
#ifdef __cplusplus
extern
"C"
...
...
src/interfaces/ecpg/preproc/ecpg_keywords.c
View file @
5cbbdd2e
...
...
@@ -20,7 +20,6 @@
static
ScanKeyword
ScanKeywords
[]
=
{
/* name value */
{
"allocate"
,
SQL_ALLOCATE
},
{
"at"
,
SQL_AT
},
{
"autocommit"
,
SQL_AUTOCOMMIT
},
{
"bool"
,
SQL_BOOL
},
{
"break"
,
SQL_BREAK
},
...
...
src/interfaces/ecpg/preproc/keywords.c
View file @
5cbbdd2e
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.3
1 2000/11/07 08:46:2
7 meskes Exp $
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.3
2 2000/11/09 14:06:5
7 meskes Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -38,11 +38,13 @@ static ScanKeyword ScanKeywords[] = {
{
"aggregate"
,
AGGREGATE
},
{
"all"
,
ALL
},
{
"alter"
,
ALTER
},
{
"analyse"
,
ANALYSE
},
{
"analyze"
,
ANALYZE
},
{
"and"
,
AND
},
{
"any"
,
ANY
},
{
"as"
,
AS
},
{
"asc"
,
ASC
},
{
"at"
,
AT
},
{
"backward"
,
BACKWARD
},
{
"before"
,
BEFORE
},
{
"begin"
,
BEGIN_TRANS
},
...
...
@@ -60,6 +62,7 @@ static ScanKeyword ScanKeywords[] = {
{
"character"
,
CHARACTER
},
{
"characteristics"
,
CHARACTERISTICS
},
{
"check"
,
CHECK
},
{
"checkpoint"
,
CHECKPOINT
},
{
"close"
,
CLOSE
},
{
"cluster"
,
CLUSTER
},
{
"coalesce"
,
COALESCE
},
...
...
src/interfaces/ecpg/preproc/preproc.y
View file @
5cbbdd2e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment