summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib
AgeCommit message (Collapse)Author
2007-04-27Removed non-existant function from extern.hMichael Meskes
2007-04-27Inlined two functions to get rid of va_list prolems on some archs.Michael Meskes
2007-02-27Backported bug fix for #2956.Michael Meskes
2007-02-06Backported va_list handling cleanupMichael Meskes
2006-11-08Applied patch by Peter Harris to free auto_mem structure on connectMichael Meskes
2006-10-04pgindent run for 8.2.Bruce Momjian
2006-09-28Fix a couple other places that need to know about (some) src/port/ filesTom Lane
explicitly.
2006-09-11Move set_pglocale_pgservice() from path.c to exec.c, so that pulling inTom Lane
path.c does not in itself force linking of both exec.c and libintl. Should fix current ecpglib build failure on pickier platforms.
2006-09-10Install a cleaner solution to the AIX libpq linking problem, as perTom Lane
an earlier discussion. Centralize assumptions about what libpq depends on in one place in Makefile.global. I am unconvinced that this list is complete, but since ecpg seems to have gotten along with just these entries, we'll try it this way and see what happens.
2006-09-05Synced parser.Michael Meskes
Fixed ecpglib trying to read one character after end-of-string. Fixed port number setting in regression suite.
2006-08-29Fixed parser and library to allow empty database names.Michael Meskes
Streamlined connection name parsing. Added Joachim's patch to shorten paths before diffing.
2006-08-28Partial fix for ecpg's VPATH problems. It compiles and successfullyTom Lane
builds all the files needed for its regression tests, but the tests themselves fail because of diffs in the #line directives output by ecpg itself. Not sure what to do about that.
2006-08-27- Enabled single-quoted connection targets.Michael Meskes
- Fixed a memory leak/segfault in unsuccessful connection. - Some changes to test files.
2006-08-24Fixed of by one variable size.Michael Meskes
2006-08-23Somehow my version compiled but the change didn't make it to CVS.Michael Meskes
2006-08-23Replaced double-quote-fix with a hopefully better version.Michael Meskes
Use initializer string length as size for character strings. Added ecpg_config.h file that is created via configure.
2006-08-22Descriptor values were quoted twice.Michael Meskes
Fixed some regression test problems.
2006-08-18Fixed a buffer overrun that was masked on Linux systems.Michael Meskes
2006-08-15Added lots of SoC stuff made by Joachim.Michael Meskes
Fixed broken newline on Windows. Fixed a nasty buffer underrun that only occured when using Informix no_indicator NULL setting on timestamps and intervals.
2006-08-13Applied patch for VPATH builds by Alvaro Herrera <alvherre@commandprompt.com>Michael Meskes
Merged dyntest.pgc and dyntest2.pgc. Hopefully fixed the last Coverity reports (finally)
2006-08-09Fixed some memory bugs that somehow reappeared.Michael Meskes
Also fixed a new Coverity report.
2006-08-08Cleaned up log output a little bit more.Michael Meskes
2006-08-08Made parser check for valid copy to/from stdin/stdout combinations.Michael Meskes
Lots of small changes in regression test suite
2006-08-04Regression test updates and fixesMichael Meskes
2006-08-04Add missing ecpg function prototype needed when in threaded mode ---Bruce Momjian
supresses compiler warning.
2006-08-02ynced parser and keyword list.Michael Meskes
Implemented EXEC SQL UNDEF. Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de>.
2006-07-31Added missing ECPGget_sqlca() callMichael Meskes
2006-07-31First small patches needed for regression testsMichael Meskes
2006-07-28Variables should be free'ed only once.Michael Meskes
2006-07-28Removed superfluous commentMichael Meskes
2006-07-28And one more:Michael Meskes
Connection identifier has to be unique
2006-07-28Added more SoC changes by Joachim Wieland <joe@mcknight.de>:Michael Meskes
- SHOW statement puts result into a variable - COPY TO STDOUT works
2006-07-14Fix a passel of recently-committed violations of the rule 'thou shaltTom Lane
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.
2006-07-05Fixed remaining Coverity bugs.Michael Meskes
2006-06-26Added some more coverity report patches send in by Joachim Wieland ↵Michael Meskes
<joe@mcknight.de>.
2006-06-25Moved some free() calls that coverity correctly complains about.Michael Meskes
2006-06-21Added some more coverity report patches send in by Martijn van Oosterhout ↵Michael Meskes
<kleptog@svana.org>.
2006-06-21Added fixed from the coverity report send in by Joachim Wieland ↵Michael Meskes
<joe@mcknight.de> Added missing error handling in a few functions in ecpglib
2006-06-19Do not use already free'ed errmsg, bug found by Joachim WielandMichael Meskes
<joachim.wieland@credativ.de>
2006-06-06Fixed two more memory leaks in ecpglib.Michael Meskes
Synced parser.
2006-05-26Use E'' strings internally only when standard_conforming_strings =Bruce Momjian
'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.
2006-04-29We only need to add thread.c on non-WIN32 platforms, since get_home_pathTom Lane
doesn't use pqGetpwuid on WIN32. Rather than try to figure out why it won't build on WIN32, just remove it.
2006-04-28Arrange to strip libpq.so of symbols that aren't officially supposed toTom Lane
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.
2006-04-24Fixed memory leak bugs found by Martijn Oosterhout.Michael Meskes
2006-03-17Fixed bug 2330: Wrong error code in case of a duplicate keyMichael Meskes
2006-03-11Add CVS tag lines to files that were lacking them.Bruce Momjian
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-02-04Added C bit fields to ecpg parserMichael Meskes
Added some default rules to lexer Added log output to prepare statement Added some more stuff to a test case
2006-01-17Data transferred binary is now put into the variables verbatim.Michael Meskes
Also added a test case for a binary cursor.
2006-01-15When using GCC on AMD64 and PPC, ECPGget_variable() takes a va_list *, notNeil Conway
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.