aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
Commit message (Collapse)AuthorAge
...
* Removed unsigned/signed mismatches.Michael Meskes2009-05-20
|
* Removed some unneeded variables and comparisonsMichael Meskes2009-05-20
|
* Argh, wrong line copied again.Michael Meskes2009-02-03
|
* Fixed copy&paste mistake that made library use uninitialized variable.Michael Meskes2009-02-03
|
* Fixed auto allocation for binary data types.Michael Meskes2009-02-02
|
* NLS cleanup in ecpglibPeter Eisentraut2009-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 Eisentraut2008-05-16
| | | | Author: Euler Taveira de Oliveira <euler@timbira.com>
* Fix unportable usages of tolower(). On signed-char machines, it is necessaryTom Lane2008-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 Meskes2008-02-07
| | | | - Free all memory in auto-prepare mode.
* Re-enabled variables in fetch/move command.Michael Meskes2008-01-15
|
* Changed prototype for ECPGdo because some compilers don't like int/enum ↵Michael Meskes2008-01-13
| | | | aliasing in there.
* pgindent run for 8.3.Bruce Momjian2007-11-15
|
* Cleaned up ecpglib and renamed functions that do not need to be exported.Michael Meskes2007-10-03
| | | | Created export list for ecpglib.
* ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safeMichael Meskes2007-10-02
| | | | descriptor handling
* Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get ↵Michael Meskes2007-09-26
| | | | prepare thread-safe.
* Removed superfluous ECPGfree() call.Michael Meskes2007-09-21
|
* - Finished major rewrite to use new protocol versionMichael Meskes2007-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 Meskes2007-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 Meskes2007-04-27
|
* - Added patch by Magnus Hagander <magnus@hagander.net> to use nativeMichael Meskes2007-03-29
| | | | | win32 threads. - Fixed regression tests to run threading tests.
* Fixed multibyte handling as reported by <harada.toshi@oss.ntt.co.jp>.Michael Meskes2007-02-11
|
* Cleaned up va_list handling. Hopefully this now works on all archs.Michael Meskes2007-02-02
|
* pgindent run for 8.2.Bruce Momjian2006-10-04
|
* Replaced double-quote-fix with a hopefully better version.Michael Meskes2006-08-23
| | | | | Use initializer string length as size for character strings. Added ecpg_config.h file that is created via configure.
* Descriptor values were quoted twice.Michael Meskes2006-08-22
| | | | Fixed some regression test problems.
* Fixed a buffer overrun that was masked on Linux systems.Michael Meskes2006-08-18
|
* Fixed some memory bugs that somehow reappeared.Michael Meskes2006-08-09
| | | | Also fixed a new Coverity report.
* Cleaned up log output a little bit more.Michael Meskes2006-08-08
|
* ynced parser and keyword list.Michael Meskes2006-08-02
| | | | | Implemented EXEC SQL UNDEF. Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de>.
* Variables should be free'ed only once.Michael Meskes2006-07-28
|
* Removed superfluous commentMichael Meskes2006-07-28
|
* Added more SoC changes by Joachim Wieland <joe@mcknight.de>:Michael Meskes2006-07-28
| | | | | - SHOW statement puts result into a variable - COPY TO STDOUT works
* Fix a passel of recently-committed violations of the rule 'thou shaltTom Lane2006-07-14
| | | | | have no other gods before c.h'. Also remove some demonstrably redundant #include lines, mostly of <errno.h> which was added to c.h years ago.
* Fixed remaining Coverity bugs.Michael Meskes2006-07-05
|
* Added some more coverity report patches send in by Joachim Wieland ↵Michael Meskes2006-06-26
| | | | <joe@mcknight.de>.
* Moved some free() calls that coverity correctly complains about.Michael Meskes2006-06-25
|
* Added some more coverity report patches send in by Martijn van Oosterhout ↵Michael Meskes2006-06-21
| | | | <kleptog@svana.org>.
* Added fixed from the coverity report send in by Joachim Wieland ↵Michael Meskes2006-06-21
| | | | | | <joe@mcknight.de> Added missing error handling in a few functions in ecpglib
* Use E'' strings internally only when standard_conforming_strings =Bruce Momjian2006-05-26
| | | | | | | | | 'off'. This allows pg_dump output with standard_conforming_strings = 'on' to generate proper strings that can be loaded into other databases without the backslash doubling we typically do. I have added the dumping of the standard_conforming_strings value to pg_dump. I also added standard backslash handling for plpgsql.
* Fixed memory leak bugs found by Martijn Oosterhout.Michael Meskes2006-04-24
|
* - Made several variables "const char *" instead of "char *" as proposed by ↵Michael Meskes2005-11-30
| | | | | | | | Qingqing Zhou <zhouqq@cs.toronto.edu>. - Replaced all strdup() calls by ECPGstrdup(). - Set ecpg library version to 5.2. - Set ecpg version to 4.2.1.
* Standard pgindent run for 8.1.Bruce Momjian2005-10-15
|
* I have to admit that I got the case of the preprocessor symbol on amd64Bruce Momjian2005-07-04
| | | | | | wrong. __AMD64__ is not defined, __amd64__ is. Christof Petig
* Add E'' to internally created SQL strings that contain backslashes.Bruce Momjian2005-07-02
| | | | Improve code clarity by using macros for E'' processing.
* - Fixed memory leak in ecpglib by adding some missing free() commands.Michael Meskes2005-06-02
| | | | - Added patch by Gavin Scott <gavin@planetacetech.com> for Intel 64bit hardware.
* Added patch by Christof Petig <christof@petig-baender.de> to work around gcc ↵Michael Meskes2005-03-18
| | | | bug on powerpc and amd64.
* Pgindent run for 8.0.Bruce Momjian2004-08-29
|
* - Fixed indicator in SET DESCRIPTOR.Michael Meskes2004-07-05
| | | | | - Added special handling of descriptor header information. - Some code cleanup.
* Made sure SET DESCRIPTOR accepts all data types including constants.Michael Meskes2004-07-04
|
* Added SET DESCRIPTOR command.Michael Meskes2004-06-30
| | | | | Note that this still has some bugs. The functionality is there though, it's just a matter of fixing the bugs now. Cleaned up error handling in preprocessor.