summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc
AgeCommit message (Collapse)Author
2007-09-04Synced parser and keyword list.Michael Meskes
2007-08-29Fixed bug in Informix define handling.Michael Meskes
2007-08-22More cleaning up and removed some duplicates.Michael Meskes
2007-08-14Hopefully fixed missing CHAR_BIT symbolMichael Meskes
2007-08-14Fixed compiler warning for enum handlingMichael Meskes
2007-08-14- Finished major rewrite to use new protocol versionMichael Meskes
- Really prepare statements - Added more regression tests - Added auto-prepare mode - Use '$n' for positional variables, '?' is still possible via ecpg option - Cleaned up the sources a little bit
2007-07-25Synced parserMichael Meskes
2007-06-12Fixed reduce/recuce problem due to CURRENT_P.Michael Meskes
2007-06-12Synced parser and keyword list.Michael Meskes
2007-06-11Should not try to unlink stdout.Michael Meskes
2007-06-11Fixed one memory leak in descriptor code.Michael Meskes
Made sure ecpg deletes output file in case of an error.
2007-05-10- Synced parser and keyword listMichael Meskes
- Renamed update test so it hopefully runs on Vista
2007-04-01Complete cleaningPeter Eisentraut
2007-03-27Fix typo, ensable -> enable, per Steve Gieseking.Tom Lane
2007-03-18Fix ecpg/preproc makefile for parallel builds: parser.o must dependTom Lane
on preproc.h, else make may try to build it before preproc.h is ready. Per failures seen here and in buildfarm.
2007-03-17- Changed some whitespacing in connect statement.Michael Meskes
- Made some chars const as proposed by Stefan Huehner <stefan@huehner.org>. - Synced parser and keyword lists. - Copied two token parsing from backend parser to ecpg parser. - Also added a test case for this.
2007-02-07Replace some strncpy() by strlcpy().Peter Eisentraut
2007-02-01Wording cleanup for error messages. Also change can't -> cannot.Bruce Momjian
Standard English uses "may", "can", and "might" in different ways: may - permission, "You may borrow my rake." can - ability, "I can lift that log." might - possibility, "It might rain today." Unfortunately, in conversational English, their use is often mixed, as in, "You may use this variable to do X", when in fact, "can" is a better choice. Similarly, "It may crash" is better stated, "It might crash".
2007-01-12Simplified regression handlingMichael Meskes
Added patch by Joachim to work around OpenBSD bug in regression suite.
2007-01-11Applied Joachim's patch for a --regression option.Michael Meskes
Made this option mark the .c files, so the environment variable is no longer needed. Created a special MinGW file with the special error message. Do not print port into log file when running regression tests.
2007-01-05Update CVS HEAD for 2007 copyright. Back branches are typically notBruce Momjian
back-stamped for this.
2007-01-05Stamp major release 8.3.0, and increment library version numbers.Bruce Momjian
2006-10-23Small parser syncMichael Meskes
2006-10-04pgindent run for 8.2.Bruce Momjian
2006-09-22Fix bugs in plpgsql and ecpg caused by assuming that isspace() would onlyTom Lane
return true for exactly the characters treated as whitespace by their flex scanners. Per report from Victor Snezhko and subsequent investigation. Also fix a passel of unsafe usages of <ctype.h> functions, that is, ye olde char-vs-unsigned-char issue. I won't miss <ctype.h> when we are finally able to stop using it.
2006-09-08Replaced complex tests with small ones.Michael Meskes
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-09-03Suppress 'unused variable' warnings created by latest commit.Tom Lane
2006-09-03Synced parser.Michael Meskes
Added another regression test and fixed tcp test.
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-24Synced parserMichael Meskes
2006-08-24Fixed of by one variable size.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-18Changed lexer to no longer use the default rule.Michael Meskes
Synced parser and keyword list. Fixed parsing of CONNECT statement so it accepts a C string again.
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-08Made parser check for valid copy to/from stdin/stdout combinations.Michael Meskes
Lots of small changes in regression test suite
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-30Replaced $Header$ by $§PosgreSQL$Michael Meskes
2006-07-30Added missing $Header$ entries.Michael Meskes
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-06-26Added missing braces to prevent a segfault after usage of an undeclared cursor.Michael Meskes
2006-06-06Fixed two more memory leaks in ecpglib.Michael Meskes
Synced parser.
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-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