aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib
Commit message (Collapse)AuthorAge
...
* Update int28out and out8out and _in_ functions to handle trailing zerosBruce Momjian2000-01-10
| | | | properly.
* This patch removes the initialization of ri in loop inBruce Momjian2000-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* *** empty log message ***Michael Meskes1999-12-16
|
* This patch solves a couple of memory leaks in ecpglib.c. The patch isBruce Momjian1999-12-14
| | | | | | | ok for both the development tree (CVS) and for 6.5.3. Stephen Birch
* *** empty log message ***Michael Meskes1999-12-07
|
* *** empty log message ***Michael Meskes1999-11-23
|
* *** empty log message ***Michael Meskes1999-11-22
|
* *** empty log message ***Michael Meskes1999-11-02
|
* Hi,Bruce Momjian1999-10-13
| | | | | | | | | | | | 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
* *** empty log message ***Michael Meskes1999-10-08
|
* Hello,Bruce Momjian1999-09-27
| | | | | | | | | | | | | | | | | | 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
* *** empty log message ***Michael Meskes1999-09-17
|
* *** empty log message ***Michael Meskes1999-09-15
|
* *** empty log message ***Michael Meskes1999-07-19
|
* Tired of seeing that 'unused variable' warning...Tom Lane1999-07-16
|
* Test Case:Bruce Momjian1999-07-08
| | | | | | | | | | | | | | | | ---------- 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
* Make sure symlinks for sharedlib get removed by 'make clean'.Tom Lane1999-06-30
|
* *** empty log message ***Michael Meskes1999-06-29
|
* *** empty log message ***Michael Meskes1999-06-25
|
* pgindent run over code.Bruce Momjian1999-05-25
|
* *** empty log message ***Michael Meskes1999-04-16
|
* *** empty log message ***Michael Meskes1999-04-14
|
* *** empty log message ***Michael Meskes1999-04-13
|
* *** empty log message ***Michael Meskes1999-03-24
|
* *** empty log message ***Michael Meskes1999-03-20
|
* I suggest the following portability patch, which does notBruce Momjian1999-03-19
| | | | | | | | | | 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
* *** empty log message ***Michael Meskes1999-03-07
|
* *** empty log message ***Michael Meskes1999-03-05
|
* From: Michael Meskes <Michael_Meskes@topmail.de>Marc G. Fournier1999-02-28
| | | | | | | | | | | | | | | + + 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.
* From: Michael Meskes <Michael_Meskes@topmail.de>Marc G. Fournier1999-02-23
| | | | | | | | | | | | | | | | | + + 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
* From: Michael Meskes <Michael_Meskes@topmail.de>Marc G. Fournier1999-02-21
| | | | | | | | | + + 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
* From: Michael Meskes <Michael_Meskes@topmail.de>Marc G. Fournier1999-02-20
| | | | See Changes file...
* From: Michael Meskes <Michael.Meskes@usa.net>Marc G. Fournier1999-01-21
| | | | See attached file. Now accepts "exec sql whenever sqlwarning".
* Apply Win32 patch from Horak Daniel.Bruce Momjian1999-01-17
|
* Centralized shared-library build knowledge in a new file,Tom Lane1998-10-19
| | | | | | | | 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...
* Clean up shared makefile install procedures.Tom Lane1998-10-18
| | | | | 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...
* Here's a patch. It also includes the latest parser changes.Bruce Momjian1998-10-16
| | | | Michael
* LAtest cvs has a little bug in src/interfaces/ecpg/lib/Makefile.inBruce Momjian1998-10-15
| | | | | | | | | | | | $(LD) $(LDFLAGS_SL) -o $@ ecpglib.sho typename.sho.o must be $(LD) $(LDFLAGS_SL) -o $@ ecpglib.sho.o typename.sho.o ^^ Regards, Oleg
* I have included a couple of patches that will make postgresBruce Momjian1998-10-14
| | | | | | | | | | | | | 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
* Clean up library names and installation paths.Thomas G. Lockhart1998-10-14
| | | | | Include soft links in the installation directory for major version number. Use the existing $(DLSUFFIX) parameter to name shared library.
* More Solaris fixes.Bruce Momjian1998-10-12
|
* Add SVr4 shared libraries.Bruce Momjian1998-10-12
|
* Solaris shared library fixes.Bruce Momjian1998-10-12
|
* Use the $(LN_S) substitution for "ln -s" since configure tests for it.Thomas G. Lockhart1998-10-07
|
* Changes from Michael Meskes:Thomas G. Lockhart1998-10-03
| | | | | | | 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
* Attached is a patch to remove the definitions of libpq's internalBruce Momjian1998-09-03
| | | | | | | | | | | | | | | | | 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.
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-01
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-01
|
* From: Michael Meskes <meskes@online-club.de>Marc G. Fournier1998-08-28
| | | | | | | | | | | | | | | | | | | | | 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
* From: Michael Meskes <meskes@online-club.de>Marc G. Fournier1998-08-25
| | | | | | | | | | | | | | | | | | | | | | | + + 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 +