summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib
AgeCommit message (Collapse)Author
2005-07-04I have to admit that I got the case of the preprocessor symbol on amd64Bruce Momjian
wrong. __AMD64__ is not defined, __amd64__ is. Christof Petig
2005-07-02Add E'' to internally created SQL strings that contain backslashes.Bruce Momjian
Improve code clarity by using macros for E'' processing.
2005-06-02- Fixed memory leak in ecpglib by adding some missing free() commands.Michael Meskes
- Added patch by Gavin Scott <gavin@planetacetech.com> for Intel 64bit hardware.
2005-04-14Added patch by Philip Yarra <philip.yarra@internode.on.net> for a bug in ↵Michael Meskes
thread support.
2005-03-18Added patch by Christof Petig <christof@petig-baender.de> to work around gcc ↵Michael Meskes
bug on powerpc and amd64.
2005-03-14Bump minor version numbers for 8.1 compared to 8.0.Bruce Momjian
2005-03-11Add fprintf() custom version to libpgport.Bruce Momjian
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.
2005-01-26Use SHGetFolderPath instead of SHGetSpecialFolderPath to find theTom Lane
APPDATA directory on Windows. Magnus Hagander
2005-01-18Update version stamps for 8.1 as listed in RELEASE_CHANGES.Bruce Momjian
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon
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 ...
2004-12-30Fixed segfault in connect when specifying no database name.Michael Meskes
2004-11-20Fix up makefile dependencies for pg_config_paths.h.Tom Lane
2004-10-14Add 'int' cast for getpid() because some Solaris releases return longBruce Momjian
for getpid().
2004-10-12Fix vpath build break, induced by Bruce's recent commit.Neil Conway
2004-10-12Add some pg_config_path.h dependencies for places that includeBruce Momjian
pg_config_paths.h outside of /src/port.
2004-10-09Make getpid() use %d consistently for printing.Bruce Momjian
2004-10-05'::' is no longer interpreted as a variable in a prepare statement.Michael Meskes
2004-10-04Make sure no libs use libpgport by removing it from the link line.Bruce Momjian
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-07-13Cause libpq and ecpg libraries to be built as proper shared librariesTom Lane
(.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?
2004-07-05- Fixed indicator in SET DESCRIPTOR.Michael Meskes
- Added special handling of descriptor header information. - Some code cleanup.
2004-07-04Made sure SET DESCRIPTOR accepts all data types including constants.Michael Meskes
2004-07-01Removed unused variable and added a typecast.Michael Meskes
2004-06-30Added SET DESCRIPTOR command.Michael Meskes
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.
2004-06-28Arrays can be read as arrays or as character strings now.Michael Meskes
2004-06-27- Only use typedefs inside their scope.Michael Meskes
- 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.
2004-06-10Attached is a patch that takes care of the PATHSEP issue. I made a moreBruce Momjian
extensive change then what was suggested. I found the file path.c that contained a lot of "Unix/Windows" agnostic functions so I added a function there instead and removed the PATHSEP declaration in exec.c altogether. All to keep things from scattering all over the code. I also took the liberty of changing the name of the functions "first_path_sep" and "last_path_sep". Where I come from (and I'm apparently not alone given the former macro name PATHSEP), they should be called "first_dir_sep" and "last_dir_sep". The new function I introduced, that actually finds path separators, is now the "first_path_sep". The patch contains changes on all affected places of course. I also changed the documentation on dynamic_library_path to reflect the chagnes. Thomas Hallgren
2004-05-25Add FRONTEND to ecpglib.Bruce Momjian
2004-05-25Add exec.c to ecpg library because path.c now uses it.Bruce Momjian
2004-05-21Handle inclusion of port modules 'correctly', viz the same way libpqTom Lane
does it. Fixes OS X, which needs path.c. It may be that Win32 needs some more port modules, but they are easily added.
2004-05-21- Fixed DEALLOCATE PREPARE to use correct function callMichael Meskes
- Made sure connect statement does not accept single char variable, but only strings.
2004-05-21Add mention of why -lpgport is needed in ecpglib (dllwrap).Bruce Momjian
2004-05-21Add -lpgport to ecpglib link only on win32. Other platforms haveBruce Momjian
problems with it.
2004-05-21Revert addition of -lpgport, which breaks the build on platforms thatTom Lane
are sticky about non-PIC code in shared libraries. Windows will have to find another solution (probably similar to the way libpq does it).
2004-05-19Win32 needs -lpgport for dll creation of ecpglib.Bruce Momjian
2004-05-05- Fixed bug in adjust_informix that treated arrays as simple variables.Michael Meskes
- Synced parser again. - Synced lexer.
2004-04-30Minor adjustments to enable public-domain timezone library to be calledBruce Momjian
from our code.
2004-04-25Make thread flags CFLAGS, not CPPFLAGS.Bruce Momjian
2004-04-23Add new auto-detection of thread flags.Bruce Momjian
Allow additional thread flags to be added via port templates. Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new configure script.
2004-03-15The "cvs add" of test_thread_implicit.pgc seems to have been missed,Bruce Momjian
i've attached this again. Additionally I include a small patch to remove mutex locking when a DEFAULT/NULL connection is being retrieved. This is consistent with libpq. Lee Kindness
2004-03-14Fix ecpg_sqlca_key_destructor to return void.Bruce Momjian
2004-03-14- Fixed Informix compat math functions to cope with the situationsMichael Meskes
where one argument takes the result. - Applied thread patches by Lee Kindness
2004-02-10Repair missing inclusions of -lintl for shared libraries.Tom Lane
2004-01-28- Issue a warning if a cursor is declared but not opened.Michael Meskes
- Fixed prototype for ECPGprepared_statement to not moan about "const char" - Fixed parsing of nested structures. - Added option to parse header files.
2004-01-07More janitorial work: remove the explicit casting of NULL literals to aNeil Conway
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.
2003-12-03Added patch by Dave Cramer for array handling in ecpglib.Michael Meskes
2003-11-30Bump all version numbers and version stamps mentioned in RELEASE_CHANGES.Bruce Momjian
2003-11-29make sure the $Id tags are converted to $PostgreSQL as well ...PostgreSQL Daemon
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon