summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib
AgeCommit message (Collapse)Author
2000-03-17Patch possible portability problem: a few places had // style comments,Tom Lane
which is not ANSI C, even though some compilers will take it...
2000-03-09*** empty log message ***Michael Meskes
2000-03-08I've made a diff against the 7.0beta1 tree that accomplishes several things:Bruce Momjian
1) adds NetBSD shared lib support on both ELF and a.out platforms 2) replaces "-L$(LIBPQDIR) -lpq" with "$(LIBPQ)" defined in Makefile.global. This makes it much easier to build stuff in the source tree after you've already installed the libraries. 3) adds TEMPLATEDIR in Makefile.global that indicates where the database templates are stored. This separates the template files from real libraries that are installed in $(LIBDIR). 4) changes include order of <readline/readline.h> and <readline.h>. The latest GNU readline installs its headers under a readline subdirectory. In addition to applying the patch below the following files need to be copied: backend/port/dynloader: bsd.h -> netbsd.h bsd.c -> netbsd.c include/port: bsd.h -> netbsd.h makefiles: Makefile.bsd -> Makefile.netbsd It would be great to see this incorporated into the source tree before the 7.0 release is cut. Thanks! -- Johnny C. Lam <lamj@stat.cmu.edu>
2000-03-07*** empty log message ***Michael Meskes
2000-03-03*** empty log message ***Michael Meskes
2000-03-01*** empty log message ***Michael Meskes
2000-02-25*** empty log message ***Michael Meskes
2000-02-25*** empty log message ***Michael Meskes
2000-02-23*** empty log message ***Michael Meskes
2000-02-22*** empty log message ***Michael Meskes
2000-02-18*** empty log message ***Michael Meskes
2000-02-18*** empty log message ***Michael Meskes
2000-02-18*** empty log message ***Michael Meskes
2000-02-17*** empty log message ***Michael Meskes
2000-02-16*** empty log message ***Michael Meskes
2000-02-16*** empty log message ***Michael Meskes
2000-02-15*** empty log message ***Michael Meskes
2000-02-14*** empty log message ***Michael Meskes
2000-01-27*** empty log message ***Michael Meskes
2000-01-18*** empty log message ***Michael Meskes
2000-01-10Update int28out and out8out and _in_ functions to handle trailing zerosBruce Momjian
properly.
2000-01-08This patch removes the initialization of ri in loop inBruce Momjian
quote_postgres(...) in ecpglib.c. The code in CVS reads: quote_postgres(char *arg, int lineno) { char *res = (char *) ecpg_alloc(2 * strlen(arg) + 3, lineno); int i, ri = 0; if (!res) return (res); res[ri++] = '\''; for (i = 0, ri=0; arg[i]; i++, ri++) { switch (arg[i]) { case '\'': res[ri++] = '\''; break; case '\\': res[ri++] = '\\'; break; default: ; } The problem here is that ri is reset to 0, thus overwriting the initial quote. Stephen Birch
1999-12-16*** empty log message ***Michael Meskes
1999-12-14This patch solves a couple of memory leaks in ecpglib.c. The patch isBruce Momjian
ok for both the development tree (CVS) and for 6.5.3. Stephen Birch
1999-12-07*** empty log message ***Michael Meskes
1999-11-23*** empty log message ***Michael Meskes
1999-11-22*** empty log message ***Michael Meskes
1999-11-02*** empty log message ***Michael Meskes
1999-10-13Hi,Bruce Momjian
I have changed a bit the makefiles for the win32 port - the *.def files (created when building shared libraries) are now clean from Makefile.shlib. I have also removed "-g" from CFLAGS in the "cygwin32" template - it can be enabled when running configure. Dan
1999-10-08*** empty log message ***Michael Meskes
1999-09-27Hello,Bruce Momjian
Two patches included: - the first one enables the use of bool variables in fields which might become NULL. Up to now the lib told you that NULL is not a bool variable, even if you provide a indicator. - the second patch checks whether a value is null and issues an error if no indicator is provided. Sidenote: IIRC, the variable should be left alone if the value is NULL. ECPGlib sets it's value to 0 on NULL. Is this a violation of the standard? Regards Christof
1999-09-17*** empty log message ***Michael Meskes
1999-09-15*** empty log message ***Michael Meskes
1999-07-19*** empty log message ***Michael Meskes
1999-07-16Tired of seeing that 'unused variable' warning...Tom Lane
1999-07-08Test Case:Bruce Momjian
---------- exec sql begin declare section; short s ; unsigned short us; exec sql end declare section; exec sql create table test(s smallint, us smallint); exec sql commit; s = 1; us =32000; exec sql insert into test values( :s, :us ) ; <== error Error Message: "i4toi2: '-600309759' causes int2 underflow" Masaaki Sakaida
1999-06-30Make sure symlinks for sharedlib get removed by 'make clean'.Tom Lane
1999-06-29*** empty log message ***Michael Meskes
1999-06-25*** empty log message ***Michael Meskes
1999-05-25pgindent run over code.Bruce Momjian
1999-04-16*** empty log message ***Michael Meskes
1999-04-14*** empty log message ***Michael Meskes
1999-04-13*** empty log message ***Michael Meskes
1999-03-24*** empty log message ***Michael Meskes
1999-03-20*** empty log message ***Michael Meskes
1999-03-19I suggest the following portability patch, which does notBruce Momjian
change functionality, but makes the code more ANSI C'ish. My AIX xlc compiler barfs on all of these. Can someone please review and apply to current. <<port.patch>> Thanks Andreas
1999-03-07*** empty log message ***Michael Meskes
1999-03-05*** empty log message ***Michael Meskes
1999-02-28From: Michael Meskes <Michael_Meskes@topmail.de>Marc G. Fournier
+ + Tue Feb 23 17:32:25 CET 1999 + + - Other than a struct a union itself cannot be specified as variable. + + Fri Feb 26 07:18:25 CET 1999 + + - Synced preproc.y with gram.y. + + Sat Feb 27 20:30:03 CET 1999 + + - Added automatic allocating for NULL pointers.
1999-02-23From: Michael Meskes <Michael_Meskes@topmail.de>Marc G. Fournier
+ + Son Feb 21 14:10:47 CET 1999 + + - Fixed variable detection in libecpg. + + Mon Feb 22 19:47:45 CET 1999 + + - Added 'at <db_connection>' option to all commands it is apllicable + to. Due to changing the API of some libecpg functions this + requires me to increase the major version number. + - Synced pgc.l with scan.l. + - Added support for unions. + - Set library version to 3.0.0 + - Set ecpg version to 3.0.0