summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
AgeCommit message (Collapse)Author
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-25Remove individual user copyright because the code is contributed toBruce Momjian
PGDG: > Yes. In fact the copyright belongs to credativ GmbH the company that > paid Carsten for his work. As you may or may not know I'm the CEO of > that company and can assure you that his work was contributed to the > PostgreSQL project.
2006-06-23Clarified copyright noticeMichael Meskes
2006-06-21Added some more coverity report patches send in by Martijn van Oosterhout ↵Michael Meskes
<kleptog@svana.org>.
2006-06-21Fixed small typo in changelogMichael Meskes
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-31Somehow a ";" got lost which changed the logic. This btw is the first fix ↵Michael Meskes
resulting from SoC.
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-05-11Use SQL standard '' rather than \' for tutorial/sample code.Bruce Momjian
Backpatch to 8.1.X.
2006-05-11Code review for standard_conforming_strings patch. Fix it so it does notTom Lane
throw warnings for 100%-SQL-standard constructs, clean up some minor infelicities, try to un-break ecpg to the best of my ability. (It's not clear how ecpg is going to find out the setting of standard_conforming_strings, though.) I think pg_dump still needs work, too.
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-25Back out RESET CONNECTION until there is more discussion.Bruce Momjian
2006-04-25Add RESET CONNECTION, to reset all aspects of a session.Bruce Momjian
Hans-J?rgen Sch?nig
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-11Remove Christof Petig copyright. He already approved removal from anBruce Momjian
include file in the same area,.
2006-03-11Add CVS tag lines to files that were lacking them.Bruce Momjian
2006-03-08Remove Christof Petig copyright on include file, per author request.Bruce Momjian
2006-03-07Remove the stub support we had for UNION JOIN; per discussion, this isTom Lane
not likely ever to be implemented seeing it's been removed from SQL2003. This allows getting rid of the 'filter' version of yylex() that we had in parser.c, which should save at least a few microseconds in parsing.
2006-03-07'make clean' should NOT remove *~ files.Tom Lane
2006-03-06Enable standard_conforming_strings to be turned on.Bruce Momjian
Kevin Grittner
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-02-27Clean up CREATE FUNCTION syntax usage in contrib and elsewhere, inPeter Eisentraut
particular get rid of single quotes around language names and old WITH () construct.
2006-02-09C++ comments are verboten. Per gripe from Kris Jurka.Tom Lane
2006-02-09Fix broken non-YYDEBUG case.Tom Lane
2006-02-08 Added just another test case.Michael Meskes
Fixed missing continuation line character. Do not translate $-quoting. Bit field notation belongs to a variable not a variable list. Output of line number only done by one function.
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-02-04In ecpg, automatically double single quotes in $$ strings becauseBruce Momjian
internally $$ strings are converted to single-quote strings. In ecpg, output newlines in commands using standard C escapes, rather than using literal newlines, which is not portable.
2006-02-03Improve tab whitespace in file.Bruce Momjian
Add comment about $$ and '' SCONST strings.
2006-02-02More spacing cleanups.Bruce Momjian
2006-02-01Source code alignment fixes for preproc.y.Bruce Momjian
2006-02-01More alignment improvements.Bruce Momjian
2006-02-01Make pgc.l source code alignment consistent.Bruce Momjian
2006-01-24- Synced parser and keyword list.Michael Meskes
- Added another 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.
2006-01-05Remove BEOS port.Bruce Momjian
2005-12-29Revert some careless search-and-replace: "ADD" in comment text shouldNeil Conway
not be replaced with "ADD_P".
2005-12-27Protect ADD and HEADER symbols from conflicting with MIPS includes.Bruce Momjian
2005-12-09Allow installation into directories containing spaces in the name.Peter Eisentraut
2005-12-09Stamp libraries for 8.2 by updating minor library version numbers andBruce Momjian
Win32 library files.
2005-12-06ecpg/pgtypeslib seems to need snprintf.c pulled in, too.Tom Lane
2005-12-06Make Win32 build use our port/snprintf.c routines, instead of dependingTom Lane
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.
2005-12-02Added special handling of CONNECTION variable that is used by ECPG instead ↵Michael Meskes
of given to the backend.
2005-11-30- Made several variables "const char *" instead of "char *" as proposed by ↵Michael Meskes
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.
2005-11-27Add missing semicolon. Recent versions of bison seem to choke on this,Tom Lane
per buildfarm report from platypus, even though older versions let it pass.