summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib
AgeCommit message (Collapse)Author
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 <[email protected]>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 <[email protected]>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
1999-02-21From: Michael Meskes <[email protected]>Marc G. Fournier
+ + Fri Feb 19 21:40:14 CET 1999 + + - Fixed bug in libecpg that caused it to start transactions only for + the first connection. + - Set library version to 2.7.1
1999-02-20From: Michael Meskes <[email protected]>Marc G. Fournier
See Changes file...
1999-01-21From: Michael Meskes <[email protected]>Marc G. Fournier
See attached file. Now accepts "exec sql whenever sqlwarning".
1999-01-17Apply Win32 patch from Horak Daniel.Bruce Momjian
1998-10-19Centralized shared-library build knowledge in a new file,Tom Lane
src/Makefile.shlib. Updated all the makefiles that try to build shlibs to include that file instead of having duplicate (and mostly incomplete) copies of shared-library options. It works on HPUX, a lot better than it did before in fact, but there's a chance I broke some other platforms. At least now you only have to fix one place not six...
1998-10-18Clean up shared makefile install procedures.Tom Lane
Get the permissions right, don't overwrite real files with symlinks, etc. plpgsql and odbc still aren't fully up to speed, but at least they don't crash and burn...
1998-10-16Here's a patch. It also includes the latest parser changes.Bruce Momjian
Michael
1998-10-15LAtest cvs has a little bug in src/interfaces/ecpg/lib/Makefile.inBruce Momjian
$(LD) $(LDFLAGS_SL) -o $@ ecpglib.sho typename.sho.o must be $(LD) $(LDFLAGS_SL) -o $@ ecpglib.sho.o typename.sho.o ^^ Regards, Oleg
1998-10-14I have included a couple of patches that will make postgresBruce Momjian
compile out of the tar file on Solaris with the SUN 5.0 compilers. These compilers will be needed if you wan to compile the libpg++ interface without using the gcc/g++. The SC4.2 compilers do not understand the string class. The first patch changes the ecpg intermediate shared library name from *.sho to *.sho.o so that the SUN compiler will allow it to be used in conjunction with the -o option. Matthew C. Aycock
1998-10-14Clean up library names and installation paths.Thomas G. Lockhart
Include soft links in the installation directory for major version number. Use the existing $(DLSUFFIX) parameter to name shared library.
1998-10-12More Solaris fixes.Bruce Momjian
1998-10-12Add SVr4 shared libraries.Bruce Momjian
1998-10-12Solaris shared library fixes.Bruce Momjian
1998-10-07Use the $(LN_S) substitution for "ln -s" since configure tests for it.Thomas G. Lockhart
1998-10-03Changes from Michael Meskes:Thomas G. Lockhart
Check strdup calls for out of memory. Set library version to 2.6.2 Synced preproc.y and keywords.c with gram.y and keywords.c yet again. Set version to 2.4.3
1998-09-03Attached is a patch to remove the definitions of libpq's internalBruce Momjian
structs from libpq-fe.h, as we previously discussed. There turned out to be sloppy coding practices in more places than I had realized :-(, but all in all I think it was a well-worth-while exercise. I ended up adding several routines to libpq's API in order to respond to application requirements that were exposed by this work. I owe the docs crew updates for libpq.sgml to describe these changes. I'm way too tired to work on the docs tonight, however. This is the last major change I intend to submit for 6.4. I do want to see if I can make libpgtcl work with Tcl 8.0 before we go final, but hopefully that will be a minor bug fix.
1998-09-01OK, folks, here is the pgindent output.Bruce Momjian
1998-09-01Renaming cleanup, no pgindent yet.Bruce Momjian
1998-08-28From: Michael Meskes <[email protected]>Marc G. Fournier
This one is against the current archive (so it contains the one I send the other day). It should fix the AIX problems. Andreas, could you please try it? Thanks. + Wed Aug 26 16:17:39 CEST 1998 + + - Sync preproc.y with gram.y + + Thu Aug 27 15:32:23 CEST 1998 + + - Fix some minor glitches that the AIX compiler complains about + - Added patchlevel to library + + Fri Aug 28 15:36:58 CEST 1998 + + - Removed one line of code that AIX complains about since it was not + needed anyway + - Set library version to 2.6.1
1998-08-25From: Michael Meskes <[email protected]>Marc G. Fournier
+ + Fri Aug 14 12:44:21 CEST 1998 + + - Added EXEC SQL DEFINE statement + - Set version to 2.4.0 + + Tue Aug 18 09:24:15 CEST 1998 + + - Removed keyword IS from DEFINE statement + - Added latest changes from gram.y + - Removed duplicate symbols from preproc.y + - Initialize sqlca structure + - Added check for connection to ecpglib + - Set version to 2.4.1 + + Thu Aug 20 15:31:29 CEST 1998 + + - Cleaned up memory allocation in ecpglib.c + - Set library version to 2.6 +