Commit 9f0ffa22 authored by Michael Meskes's avatar Michael Meskes

*** empty log message ***

parent faf7d781
...@@ -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
...@@ -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
......
...@@ -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.44 1999/06/30 23:57:23 tgl Exp $ # $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.45 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
......
...@@ -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:
; ;
} }
......
...@@ -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) \
......
...@@ -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}+
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment