aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib
Commit message (Collapse)AuthorAge
* 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
* Do not use already free'ed errmsg, bug found by Joachim WielandMichael Meskes2006-06-19
| | | | <joachim.wieland@credativ.de>
* Fixed two more memory leaks in ecpglib.Michael Meskes2006-06-06
| | | | Synced parser.
* 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.
* We only need to add thread.c on non-WIN32 platforms, since get_home_pathTom Lane2006-04-29
| | | | | doesn't use pqGetpwuid on WIN32. Rather than try to figure out why it won't build on WIN32, just remove it.
* Arrange to strip libpq.so of symbols that aren't officially supposed toTom Lane2006-04-28
| | | | | | | | be exported on Linux and Darwin. We already did this on Windows but that's not enough, as evidenced by the fact that libecpg had an unexpected dependency on one such symbol. We should try to do it on more platforms. Fix ecpg's oversight, and bump libpq's major .so version number to reflect the unwanted but nonetheless real ABI break.
* Fixed memory leak bugs found by Martijn Oosterhout.Michael Meskes2006-04-24
|
* Fixed bug 2330: Wrong error code in case of a duplicate keyMichael Meskes2006-03-17
|
* Add CVS tag lines to files that were lacking them.Bruce Momjian2006-03-11
|
* Update copyright for 2006. Update scripts.Bruce Momjian2006-03-05
|
* Added C bit fields to ecpg parserMichael Meskes2006-02-04
| | | | | | Added some default rules to lexer Added log output to prepare statement Added some more stuff to a test case
* Data transferred binary is now put into the variables verbatim.Michael Meskes2006-01-17
| | | | Also added a test case for a binary cursor.
* When using GCC on AMD64 and PPC, ECPGget_variable() takes a va_list *, notNeil Conway2006-01-15
| | | | | | a va_list. Christof Petig's previous patch made this change, but neglected to update ecpglib/descriptor.c, resulting in a compiler warning (and a likely runtime crash) on AMD64 and PPC.
* Allow installation into directories containing spaces in the name.Peter Eisentraut2005-12-09
|
* Stamp libraries for 8.2 by updating minor library version numbers andBruce Momjian2005-12-09
| | | | Win32 library files.
* Make Win32 build use our port/snprintf.c routines, instead of dependingTom Lane2005-12-06
| | | | | on libintl which may or may not provide what we need. Make a few marginal cleanups to ensure this works. Andrew Dunstan and Tom Lane.
* - 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
|
* Fixed transaction command handling to not ignore savepoints and to correctly ↵Michael Meskes2005-09-12
| | | | check for errors.
* - Check for NULL before checking whether argument is an array.Michael Meskes2005-08-24
| | | | | - Remove stary character from string quoting. - Fixed check to report missing varchar pointer implementation.
* 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 Philip Yarra <philip.yarra@internode.on.net> for a bug in ↵Michael Meskes2005-04-14
| | | | thread support.
* Added patch by Christof Petig <christof@petig-baender.de> to work around gcc ↵Michael Meskes2005-03-18
| | | | bug on powerpc and amd64.
* Bump minor version numbers for 8.1 compared to 8.0.Bruce Momjian2005-03-14
|
* Add fprintf() custom version to libpgport.Bruce Momjian2005-03-11
| | | | | | | Document use of macros for pg_printf functions. Bump major versions of all interfaces to handle movement of get_progname from libpq to libpgport in 8.0, and probably other libpgport changes in 8.1.
* Use SHGetFolderPath instead of SHGetSpecialFolderPath to find theTom Lane2005-01-26
| | | | APPDATA directory on Windows. Magnus Hagander
* Update version stamps for 8.1 as listed in RELEASE_CHANGES.Bruce Momjian2005-01-18
|
* Tag appropriate files for rc3PostgreSQL Daemon2004-12-31
| | | | | | | | Also performed an initial run through of upgrading our Copyright date to extend to 2005 ... first run here was very simple ... change everything where: grep 1996-2004 && the word 'Copyright' ... scanned through the generated list with 'less' first, and after, to make sure that I only picked up the right entries ...
* Fixed segfault in connect when specifying no database name.Michael Meskes2004-12-30
|
* Fix up makefile dependencies for pg_config_paths.h.Tom Lane2004-11-20
|
* Add 'int' cast for getpid() because some Solaris releases return longBruce Momjian2004-10-14
| | | | for getpid().
* Fix vpath build break, induced by Bruce's recent commit.Neil Conway2004-10-12
|
* Add some pg_config_path.h dependencies for places that includeBruce Momjian2004-10-12
| | | | pg_config_paths.h outside of /src/port.
* Make getpid() use %d consistently for printing.Bruce Momjian2004-10-09
|
* '::' is no longer interpreted as a variable in a prepare statement.Michael Meskes2004-10-05
|
* Make sure no libs use libpgport by removing it from the link line.Bruce Momjian2004-10-04
|
* Pgindent run for 8.0.Bruce Momjian2004-08-29
|
* Update copyright to 2004.Bruce Momjian2004-08-29
|
* Cause libpq and ecpg libraries to be built as proper shared librariesTom Lane2004-07-13
| | | | | | | | | | | | (.dylib format) on Mac OS X, while not messing up loadable modules for the backend (which are the same kind of animal as a shared library on every other platform, but not here). Also get the naming convention to match OS X practice, viz libFOO.version.so not libFOO.so.version. In support of that last, refactor code in Makefile.shlib to make it easier to have platform-specific shlib naming conventions. This patch is loosely based on the Fink project's current postgresql.patch. Tested by yours truly on OS X 10.3.4; does anyone have 10.2.* to check it on?
* - 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
|
* Removed unused variable and added a typecast.Michael Meskes2004-07-01
|
* 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.
* Arrays can be read as arrays or as character strings now.Michael Meskes2004-06-28
|
* - 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.