Skip to content

Commit bf6636b

Browse files
committed
From: Michael Meskes <Michael_Meskes@topmail.de> See Changes file...
1 parent 3eb2208 commit bf6636b

File tree

20 files changed

+1514
-457
lines changed

20 files changed

+1514
-457
lines changed

src/interfaces/ecpg/ChangeLog

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,3 +400,60 @@ Tue Feb 2 07:40:52 CET 1999
400400
- Brought preproc.y in sync again with gram.y.
401401
- Set ecpg version to 2.4.9
402402

403+
Wed Feb 3 18:28:46 CET 1999
404+
405+
- Started working on PREPARE statement.
406+
- Fixed typo in preproc that cause CREATE statement to not work
407+
anymore.
408+
409+
Thu Feb 4 19:43:39 CET 1999
410+
411+
- Some parts of the PREPARE statement work now.
412+
- Added EXECUTE command
413+
- Added DEALLOCATE PREPARE command
414+
415+
Fri Feb 5 18:25:07 CET 1999
416+
417+
- PREPARE seems to be working okay now.
418+
- Fixed some minor bugs.
419+
- Renamed y.tab.* to preproc.*
420+
421+
Mon Feb 8 07:57:29 CET 1999
422+
423+
- Synced preproc.y with gram.y again.
424+
- Allow ':<name>' as positional variable in prepare statement also.
425+
You can still specify ';;' instead of course.
426+
- Added TYPE statement.
427+
- Set library version to 2.7.0
428+
429+
Tue Feb 9 07:07:11 CET 1999
430+
431+
- Synced preproc.y with gram.y.
432+
433+
Tue Feb 9 20:21:44 CET 1999
434+
435+
- Added FREE statement.
436+
437+
Wed Feb 10 07:51:09 CET 1999
438+
439+
- Synced keyword.c.
440+
441+
Sat Feb 13 10:44:43 CET 1999
442+
443+
- Added DECLARE STATEMENT for compatibility with Oracle. De facto
444+
this statement does nothing.
445+
- Added VAR statement.
446+
447+
Son Feb 14 11:36:04 CET 1999
448+
449+
- Added type 'enum' to TYPE and VAR statement.
450+
- Allow ecpg keywords as datatypes.
451+
452+
Thu Feb 18 08:35:35 CET 1999
453+
454+
- Make sure indicator for array is array too.
455+
456+
Fri Feb 19 18:38:45 CET 1999
457+
458+
- Finished type aliasing for structures.
459+
- Set ecpg version to 2.5.0

src/interfaces/ecpg/TODO

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ DESCRIPTOR statement will be ignored.
1111

1212
it would be nice to be able to use :var[:index] as cvariable
1313

14+
'at DB connection' is missing for several commands (is this standard?)
15+
16+
support for unions
17+
1418
Missing statements:
15-
- exec sql type
16-
- exec sql prepare
1719
- exec sql allocate
18-
- exqc sql free
1920
- SQLSTATE
20-
- exec sql whenever sqlwarning

src/interfaces/ecpg/include/ecpgerrno.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#define ECPG_NO_CONN -220
2929
#define ECPG_NOT_CONN -221
3030

31+
#define ECPG_INVALID_STMT -230
32+
3133
/* finally the backend error messages, they start at 400 */
3234
#define ECPG_PGSQL -400
3335
#define ECPG_TRANS -401

src/interfaces/ecpg/include/ecpglib.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ extern "C"
1111
bool ECPGdo(int, char *,...);
1212
bool ECPGtrans(int, const char *);
1313
bool ECPGdisconnect(int, const char *);
14-
14+
bool ECPGprepare(int, char *, char *);
15+
bool ECPGdeallocate(int, char *);
16+
char *ECPGprepared_statement(char *);
17+
1518
void ECPGlog(const char *format,...);
1619

1720
#ifdef LIBPQ_FE_H

src/interfaces/ecpg/include/ecpgtype.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ extern "C"
4545
ECPGt_struct,
4646
ECPGt_EOIT, /* End of insert types. */
4747
ECPGt_EORT, /* End of result types. */
48-
ECPGt_NO_INDICATOR /* no indicator */
48+
ECPGt_NO_INDICATOR, /* no indicator */
49+
ECPGt_char_variable
4950
};
5051

5152
#define IS_SIMPLE_TYPE(type) ((type) >= ECPGt_char && (type) <= ECPGt_varchar2)

src/interfaces/ecpg/lib/Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
# Copyright (c) 1994, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.40 1999/01/21 20:01:32 scrappy Exp $
9+
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.41 1999/02/20 07:00:53 scrappy Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

1313
NAME= ecpg
1414
SO_MAJOR_VERSION= 2
15-
SO_MINOR_VERSION= 6.3
15+
SO_MINOR_VERSION= 7.0
1616

1717
SRCDIR= @top_srcdir@
1818
include $(SRCDIR)/Makefile.global

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy