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
9f0ffa22
Commit
9f0ffa22
authored
Jul 19, 1999
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
faf7d781
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
107 additions
and
218 deletions
+107
-218
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+8
-0
src/interfaces/ecpg/TODO
src/interfaces/ecpg/TODO
+0
-2
src/interfaces/ecpg/lib/Makefile.in
src/interfaces/ecpg/lib/Makefile.in
+2
-2
src/interfaces/ecpg/lib/ecpglib.c
src/interfaces/ecpg/lib/ecpglib.c
+5
-2
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/Makefile
+1
-1
src/interfaces/ecpg/preproc/pgc.l
src/interfaces/ecpg/preproc/pgc.l
+1
-1
src/interfaces/ecpg/preproc/preproc.y
src/interfaces/ecpg/preproc/preproc.y
+90
-210
No files found.
src/interfaces/ecpg/ChangeLog
View file @
9f0ffa22
...
@@ -609,3 +609,11 @@ Fri Jun 25 07:17:10 CEST 1999
...
@@ -609,3 +609,11 @@ Fri Jun 25 07:17:10 CEST 1999
- Changed error message in ecpglib.c to list correct database name.
- Changed error message in ecpglib.c to list correct database name.
- Set library version to 3.0.0
- Set library version to 3.0.0
- Set ecpg version to 2.6.0
- Set ecpg version to 2.6.0
Mon Jul 19 07:53:20 CEST 1999
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Fixed quoting bug in ecpglib.c
- Set ecpg version to 2.6.1
- Set library version to 3.0.1
src/interfaces/ecpg/TODO
View file @
9f0ffa22
...
@@ -13,8 +13,6 @@ support for dynamic SQL with unknown number of variables with DESCRIPTORS
...
@@ -13,8 +13,6 @@ support for dynamic SQL with unknown number of variables with DESCRIPTORS
The line numbering is not exact.
The line numbering is not exact.
Inside an SQL statement quoting only works with SQL92 style double quotes: ''.
Missing statements:
Missing statements:
- exec sql allocate
- exec sql allocate
- exec sql deallocate
- exec sql deallocate
...
...
src/interfaces/ecpg/lib/Makefile.in
View file @
9f0ffa22
...
@@ -6,13 +6,13 @@
...
@@ -6,13 +6,13 @@
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.4
4 1999/06/30 23:57:23 tgl
Exp $
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.4
5 1999/07/19 12:37:46 meskes
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
NAME
=
ecpg
NAME
=
ecpg
SO_MAJOR_VERSION
=
3
SO_MAJOR_VERSION
=
3
SO_MINOR_VERSION
=
0.
0
SO_MINOR_VERSION
=
0.
1
SRCDIR
=
@top_srcdir@
SRCDIR
=
@top_srcdir@
include
$(SRCDIR)/Makefile.global
include
$(SRCDIR)/Makefile.global
...
...
src/interfaces/ecpg/lib/ecpglib.c
View file @
9f0ffa22
...
@@ -209,8 +209,8 @@ add_mem(void *ptr, int lineno)
...
@@ -209,8 +209,8 @@ add_mem(void *ptr, int lineno)
auto_allocs
=
am
;
auto_allocs
=
am
;
}
}
/* This function returns a newly malloced string that has the
' and
\
/* This function returns a newly malloced string that has the \
in the argument quoted with \.
in the argument quoted with \
and the ' quote with ' as SQL92 says
.
*/
*/
static
static
char
*
char
*
...
@@ -228,8 +228,11 @@ quote_postgres(char *arg, int lineno)
...
@@ -228,8 +228,11 @@ quote_postgres(char *arg, int lineno)
switch
(
arg
[
i
])
switch
(
arg
[
i
])
{
{
case
'\''
:
case
'\''
:
res
[
ri
++
]
=
'\''
;
break
;
case
'\\'
:
case
'\\'
:
res
[
ri
++
]
=
'\\'
;
res
[
ri
++
]
=
'\\'
;
break
;
default:
default:
;
;
}
}
...
...
src/interfaces/ecpg/preproc/Makefile
View file @
9f0ffa22
...
@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global
...
@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global
MAJOR_VERSION
=
2
MAJOR_VERSION
=
2
MINOR_VERSION
=
6
MINOR_VERSION
=
6
PATCHLEVEL
=
0
PATCHLEVEL
=
1
CFLAGS
+=
-I
../include
-DMAJOR_VERSION
=
$(MAJOR_VERSION)
\
CFLAGS
+=
-I
../include
-DMAJOR_VERSION
=
$(MAJOR_VERSION)
\
-DMINOR_VERSION
=
$(MINOR_VERSION)
-DPATCHLEVEL
=
$(PATCHLEVEL)
\
-DMINOR_VERSION
=
$(MINOR_VERSION)
-DPATCHLEVEL
=
$(PATCHLEVEL)
\
...
...
src/interfaces/ecpg/preproc/pgc.l
View file @
9f0ffa22
...
@@ -132,7 +132,7 @@ identifier {letter}{letter_or_digit}*
...
@@ -132,7 +132,7 @@ identifier {letter}{letter_or_digit}*
typecast "::"
typecast "::"
self [,()\[\].;$\:\+\-\*\/\%\<\>\=\|]
self [,()\[\].;$\:\+\-\*\/\%\
^\
<\>\=\|]
op_and_self [\~\!\@\#\^\&\|\?\$\:\+\-\*\/\%\<\>\=]
op_and_self [\~\!\@\#\^\&\|\?\$\:\+\-\*\/\%\<\>\=]
operator {op_and_self}+
operator {op_and_self}+
...
...
src/interfaces/ecpg/preproc/preproc.y
View file @
9f0ffa22
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