Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Let compiler handle size calculation of bool types. | Michael Meskes | 2015-09-19 |
| | | | | Back in the day this did not work, but modern compilers should handle it themselves. | ||
* | Fix declaration of isarray variable. | Michael Meskes | 2015-08-13 |
| | | | | Found and fixed by Andres Freund. | ||
* | This routine was calling ecpg_alloc to allocate to memory but did not | Michael Meskes | 2015-08-12 |
| | | | | | | | actually check the returned pointer allocated, potentially NULL which could be the result of a malloc call. Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com> | ||
* | Check for out of memory when allocating sqlca. | Michael Meskes | 2015-06-15 |
| | | | | Patch by Michael Paquier | ||
* | Fixed array handling in ecpg. | Michael Meskes | 2015-02-11 |
| | | | | | | When ecpg was rewritten to the new protocol version not all variable types were corrected. This patch rewrites the code for these types to fix that. It also fixes the documentation to correctly tell the status of array handling. | ||
* | Fix handling of array of char pointers in ecpglib. | Michael Meskes | 2014-05-06 |
| | | | | | | | | | | When array of char * was used as target for a FETCH statement returning more than one row, it tried to store all the result in the first element. Instead it should dump array of char pointers with right offset, use the address instead of the value of the C variable while reading the array and treat such variable as char **, instead of char * for pointer arithmetic. Patch by Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> | ||
* | ecpg: Fix rare memory leaks | Peter Eisentraut | 2012-03-11 |
| | | | | found by Coverity | ||
* | Add missing format argument to ecpg_log() call | Peter Eisentraut | 2011-09-08 |
| | |||
* | Fix brace indentation of commit 5ad0e899f08136a00f56bf224a6b9729b2f4c69f to ↵ | Michael Meskes | 2011-09-02 |
| | | | | fit PostgreSQL style. | ||
* | In ecpglib restore LC_NUMERIC in case of an error. | Michael Meskes | 2011-09-01 |
| | |||
* | Made ecpglib write double with a precision of 15 digits. | Michael Meskes | 2011-07-18 |
| | | | | Patch originally by Akira Kurosawa <kurosawa-akira@mxc.nes.nec.co.jp>. | ||
* | Capitalization fixes | Peter Eisentraut | 2011-06-19 |
| | |||
* | Revert "Remove hard coded formats for INT64 and use configured settings ↵ | Andrew Dunstan | 2011-04-27 |
| | | | | | | | | instead." This reverts commit 9b1508af8971c1627cda5bb65f5e9eddb9a1a55e. As requested by Tom. | ||
* | Remove hard coded formats for INT64 and use configured settings instead. | Andrew Dunstan | 2011-04-27 |
| | |||
* | Applied patch by Itagaki Takahiro to fix incorrect status calculation in | Michael Meskes | 2010-10-14 |
| | | | | | | ecpglib. Instead of parsing the statement just as ask the database server. This patch removes the whole client side track keeping of the current transaction status. | ||
* | Remove cvs keywords from all files. | Magnus Hagander | 2010-09-20 |
| | |||
* | pgindent run for 9.0, second run | Bruce Momjian | 2010-07-06 |
| | |||
* | Replace self written 'long long int' configure test by standard ↵ | Michael Meskes | 2010-05-25 |
| | | | | 'AC_TYPE_LONG_LONG_INT' macro call. | ||
* | Ecpg now accepts "long long" datatypes even if "long" is 64bit wide. This ↵ | Michael Meskes | 2010-05-20 |
| | | | | used to cover the equally long "long long" type. This patch closes bug #5464. | ||
* | pgindent run for 9.0 | Bruce Momjian | 2010-02-26 |
| | |||
* | Do not check nan values for infinity. Some system are not able to handle this. | Michael Meskes | 2010-02-16 |
| | | | | By Zoltán Böszörményi | ||
* | Streamlined array handling code in libecpg a little bit, in the process ↵ | Michael Meskes | 2010-02-04 |
| | | | | fixing yet another incorrect log output. | ||
* | Add #include <float.h> --- guessing the lack of this is why Windows | Tom Lane | 2010-02-03 |
| | | | | machines are all rejecting isinf() calls in this file. | ||
* | Fixed NaN/Infinity problems in ECPG for float/double/numeric/decimal by ↵ | Michael Meskes | 2010-02-02 |
| | | | | | | making it OS independant. Patch done by Zoltán Böszörményi. | ||
* | Fixed a few typos in ecpg. Two were in comments, the third made a log output ↵ | Michael Meskes | 2010-01-29 |
| | | | | reverse yes and no. | ||
* | Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to fix problem in ↵ | Michael Meskes | 2010-01-22 |
| | | | | auto-prepare mode if the connection is closed and re-opened and the previously prepared query is issued again. | ||
* | Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to add sqlda support to | Michael Meskes | 2010-01-05 |
| | | | | ecpg in both native and compatiblity mode. | ||
* | Fixed incorrect memory management. | Michael Meskes | 2009-09-03 |
| | |||
* | Added STRING datatype for Informix compatibility mode. This work is | Michael Meskes | 2009-08-07 |
| | | | | based on a patch send in by Böszörményi Zoltán <zb@cybertec.at>. | ||
* | 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list | Bruce Momjian | 2009-06-11 |
| | | | | provided by Andrew. | ||
* | Removed unsigned/signed mismatches. | Michael Meskes | 2009-05-20 |
| | |||
* | Removed some unneeded variables and comparisons | Michael Meskes | 2009-05-20 |
| | |||
* | Argh, wrong line copied again. | Michael Meskes | 2009-02-03 |
| | |||
* | Fixed copy&paste mistake that made library use uninitialized variable. | Michael Meskes | 2009-02-03 |
| | |||
* | Fixed auto allocation for binary data types. | Michael Meskes | 2009-02-02 |
| | |||
* | NLS cleanup in ecpglib | Peter Eisentraut | 2009-01-15 |
| | | | | | | | | | | | | | | | | | Replace leftover instances of _() by ecpg_gettext(), the latter being the correct way to refer to the library's message catalog, instead of the one of the program using the library. Drop NLS support for ecpg_log(), which is a debugging instrument similar to elog() in the backend. We cannot support NLS in the ecpg compatlib, because that requires ecpg_gettext, which is in ecpglib, which is not a dependency of compatlib. It doesn't seem worthwhile to worry about this, since the only translatable string is "out of memory", and gettext probably won't be able to do much without memory either. Adjust messages to project style. | ||
* | Add localization support to ecpg. | Peter Eisentraut | 2008-05-16 |
| | | | | Author: Euler Taveira de Oliveira <euler@timbira.com> | ||
* | Fix unportable usages of tolower(). On signed-char machines, it is necessary | Tom Lane | 2008-03-01 |
| | | | | | | | | | to explicitly cast the output back to char before comparing it to a char value, else we get the wrong result for high-bit-set characters. Found by Rolf Jentsch. Also, fix several places where <ctype.h> functions were being called without casting the argument to unsigned char; this is likewise unportable, but we keep making that mistake :-(. These found by buildfarm member salamander, which I will desperately miss if it ever goes belly-up. | ||
* | - Fixed segfault in ecpg when using an array element. | Michael Meskes | 2008-02-07 |
| | | | | - Free all memory in auto-prepare mode. | ||
* | Re-enabled variables in fetch/move command. | Michael Meskes | 2008-01-15 |
| | |||
* | Changed prototype for ECPGdo because some compilers don't like int/enum ↵ | Michael Meskes | 2008-01-13 |
| | | | | aliasing in there. | ||
* | pgindent run for 8.3. | Bruce Momjian | 2007-11-15 |
| | |||
* | Cleaned up ecpglib and renamed functions that do not need to be exported. | Michael Meskes | 2007-10-03 |
| | | | | Created export list for ecpglib. | ||
* | ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe | Michael Meskes | 2007-10-02 |
| | | | | descriptor handling | ||
* | Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get ↵ | Michael Meskes | 2007-09-26 |
| | | | | prepare thread-safe. | ||
* | Removed superfluous ECPGfree() call. | Michael Meskes | 2007-09-21 |
| | |||
* | - Finished major rewrite to use new protocol version | Michael Meskes | 2007-08-14 |
| | | | | | | | | - Really prepare statements - Added more regression tests - Added auto-prepare mode - Use '$n' for positional variables, '?' is still possible via ecpg option - Cleaned up the sources a little bit | ||
* | Fixed one memory leak in descriptor code. | Michael Meskes | 2007-06-11 |
| | | | | Made sure ecpg deletes output file in case of an error. | ||
* | Inlined two functions to get rid of va_list problems on some archs. | Michael Meskes | 2007-04-27 |
| | |||
* | - Added patch by Magnus Hagander <magnus@hagander.net> to use native | Michael Meskes | 2007-03-29 |
| | | | | | win32 threads. - Fixed regression tests to run threading tests. |