aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
Commit message (Collapse)AuthorAge
...
* 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.
* - Only use typedefs inside their scope.Michael Meskes2004-06-27
| | | | | | - Variables that are out of scope, were not removed all the time. - Make a varchar NULL set everything to 0 when not using indicators. - Synced parser.
* - Fixed bug in adjust_informix that treated arrays as simple variables.Michael Meskes2004-05-05
| | | | | - Synced parser again. - Synced lexer.
* - Issue a warning if a cursor is declared but not opened.Michael Meskes2004-01-28
| | | | | | - Fixed prototype for ECPGprepared_statement to not moan about "const char" - Fixed parsing of nested structures. - Added option to parse header files.
* More janitorial work: remove the explicit casting of NULL literals to aNeil Conway2004-01-07
| | | | | | | | pointer type when it is not necessary to do so. For future reference, casting NULL to a pointer type is only necessary when (a) invoking a function AND either (b) the function has no prototype OR (c) the function is a varargs function.
* Added patch by Dave Cramer for array handling in ecpglib.Michael Meskes2003-12-03
|
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-29
|
* Re-added forgotten cache.Michael Meskes2003-11-10
|
* Made sure an internal array is not treated as a user defined one.Michael Meskes2003-11-08
|
* Fixed bug with indicators when storage for the string is dynamically allocated.Michael Meskes2003-10-26
|
* - Accept output variables for FETCH in DECLARE statement.Michael Meskes2003-09-18
| | | | | | - Synced parser. - Allowed C variables to carry the name of prepared statements. - Added Informix handling of datatype converion errors.
* - Added Dave patch for Informix handling of numeric/int conversion.Michael Meskes2003-09-09
| | | | | - Changed all new datatypes to lowercase. - Fixed rounding bug in numerical types.
* pgindent run.Bruce Momjian2003-08-04
|
* Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,Peter Eisentraut2003-08-01
| | | | | rather than parsing the message. Add some documentation about embedded SQL.
* - Added some Informix error codes in Informix mode.Michael Meskes2003-08-01
| | | | - Added just another pgtypeslib function.
* Added explicit casts for date/interval/timestamp.Michael Meskes2003-07-25
|
* Started to create different error codes for different backend messages.Michael Meskes2003-07-15
|
* More informix fixes.Michael Meskes2003-07-08
|
* "char *" of course is not the same as "char []". So I had to fix the way ↵Michael Meskes2003-07-07
| | | | ecpg treated the second one.
* date, interval and timestamp data should be quoted.Michael Meskes2003-07-04
|
* Fixed informix behaviour for select without into.Michael Meskes2003-07-04
|
* Use ISO dates in pgtypeslib by default.Michael Meskes2003-07-01
| | | | | | | Applied patch by Philip Yarra to fix some thread issues. Added a new data type "decimal" which is mostly the same as our "numeric" but uses a fixed length array to store the digits. This is for compatibility with Informix and maybe others.