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
7cf0f634
Commit
7cf0f634
authored
Dec 08, 1999
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
a010be75
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
234 additions
and
137 deletions
+234
-137
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+7
-0
src/interfaces/ecpg/TODO
src/interfaces/ecpg/TODO
+3
-0
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/Makefile
+2
-2
src/interfaces/ecpg/preproc/ecpg.c
src/interfaces/ecpg/preproc/ecpg.c
+2
-2
src/interfaces/ecpg/preproc/extern.h
src/interfaces/ecpg/preproc/extern.h
+3
-2
src/interfaces/ecpg/preproc/keywords.c
src/interfaces/ecpg/preproc/keywords.c
+2
-1
src/interfaces/ecpg/preproc/preproc.y
src/interfaces/ecpg/preproc/preproc.y
+215
-130
No files found.
src/interfaces/ecpg/ChangeLog
View file @
7cf0f634
...
...
@@ -730,3 +730,10 @@ Fri Dec 3 16:35:07 CET 1999
- Fixed memory leak in ecpglib.
- Set library version to 3.0.8.
Wed Dec 8 08:26:13 CET 1999
- Synced preproc.y with gram.y.
- Clean up error handling.
- Set ecpg version to 2.6.11.
src/interfaces/ecpg/TODO
View file @
7cf0f634
...
...
@@ -10,6 +10,9 @@ DESCRIPTOR statement will be ignored.
If a NOTICE message is given by the backend it should not be printed to
stderr. Instead it should be listed as a warning.
The error handling has to be improved by adding additional error-rules to
the parser.
it would be nice to be able to use :var[:index] as cvariable
support for dynamic SQL with unknown number of variables with DESCRIPTORS
...
...
src/interfaces/ecpg/preproc/Makefile
View file @
7cf0f634
...
...
@@ -3,11 +3,11 @@ include $(SRCDIR)/Makefile.global
MAJOR_VERSION
=
2
MINOR_VERSION
=
6
PATCHLEVEL
=
1
0
PATCHLEVEL
=
1
1
CFLAGS
+=
-I
../include
-DMAJOR_VERSION
=
$(MAJOR_VERSION)
\
-DMINOR_VERSION
=
$(MINOR_VERSION)
-DPATCHLEVEL
=
$(PATCHLEVEL)
\
-DINCLUDE_PATH
=
\"
$(HEADERDIR)
\"
-DINCLUDE_PATH
=
\"
$(HEADERDIR)
\"
-g
OBJ
=
preproc.o pgc.o type.o ecpg.o ecpg_keywords.o
\
keywords.o c_keywords.o ../lib/typename.o
...
...
src/interfaces/ecpg/preproc/ecpg.c
View file @
7cf0f634
...
...
@@ -12,7 +12,7 @@
#include "extern.h"
struct
_include_path
*
include_paths
;
int
autocommit
=
0
;
int
ret_value
=
OK
,
autocommit
=
0
;
struct
cursor
*
cur
=
NULL
;
struct
typedefs
*
types
=
NULL
;
...
...
@@ -215,5 +215,5 @@ main(int argc, char *const argv[])
free
(
input_filename
);
}
}
return
OK
;
return
ret_value
;
}
src/interfaces/ecpg/preproc/extern.h
View file @
7cf0f634
...
...
@@ -5,8 +5,9 @@
/* variables */
extern
int
braces_open
,
autocommit
,
struct_level
;
autocommit
,
ret_value
,
struct_level
;
extern
char
*
yytext
,
errortext
[
128
];
extern
int
yylineno
,
...
...
src/interfaces/ecpg/preproc/keywords.c
View file @
7cf0f634
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.
19 1999/10/15 19:02:08
meskes Exp $
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.
20 1999/12/08 09:52:29
meskes Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -220,6 +220,7 @@ static ScanKeyword ScanKeywords[] = {
{
"stdin"
,
STDIN
},
{
"stdout"
,
STDOUT
},
{
"substring"
,
SUBSTRING
},
{
"sysid"
,
SYSID
},
{
"table"
,
TABLE
},
{
"temp"
,
TEMP
},
{
"temporary"
,
TEMPORARY
},
...
...
src/interfaces/ecpg/preproc/preproc.y
View file @
7cf0f634
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