summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/preproc
AgeCommit message (Collapse)Author
2014-05-09Fix missing dependencies in ecpg's test Makefiles.Tom Lane
Ensure that ecpg preprocessor output files are rebuilt when re-testing after a change in the ecpg preprocessor itself, or a change in any of several include files that get copied verbatim into the output files. The lack of these dependencies was what created problems for Kevin Grittner after the recent pgindent run. There's no way for --enable-depend to discover these dependencies automatically, so we've gotta put them into the Makefiles by hand. While at it, reduce the amount of duplication in the ecpg invocations.
2014-04-23ecpg: Add additional files to .gitignorePeter Eisentraut
These are test files added by f9179685371b74bf4752bf3f87846e5625cf91fa.
2014-04-09Several fixes to array handling in ecpg.Michael Meskes
Patches by Ashutosh Bapat <[email protected]>
2013-11-26ECPG: Free the malloc()'ed variables in the test so it comes out clean onMichael Meskes
Valgrind runs. Patch by Boszormenyi Zoltan <[email protected]>
2013-11-10Fix whitespace issues found by git diff --check, add gitattributesPeter Eisentraut
Set per file type attributes in .gitattributes to fine-tune whitespace checks. With the associated cleanups, the tree is now clean for git
2013-11-03Changed test case slightly so it doesn't have an unused typedef.Michael Meskes
2012-02-13Do not use the variable name when defining a varchar structure in ecpg.Michael Meskes
With a unique counter being added anyway, there is no need anymore to have the variable name listed, too.
2011-12-18Added test for cursor handling on different connections to regression testMichael Meskes
suite for ecpg.
2010-11-23Remove useless whitespace at end of linesPeter Eisentraut
2010-09-24Still more .gitignore cleanup.Tom Lane
Fix overly-enthusiastic ignores, as identified by git ls-files -i --exclude-standard
2010-09-22Add gitignore files for ecpg regression tests.Magnus Hagander
Backpatch to 8.2 as that's how far the structure looks the same.
2010-08-19Remove extra newlines at end and beginning of files, add missing newlinesPeter Eisentraut
at end of files.
2010-07-06pgindent run for 9.0, second runBruce Momjian
2010-03-22Fixed ECPG regression test to make sure it uses absolute paths for includeMichael Meskes
files instead of relative ones which break vpath builds.
2010-03-21ECPG only copied #include statements instead of processing them according toMichael Meskes
commandline option "-i". This change fixes this and adds a test case. It also honors #include_next, although this is probably never used for embedded SQL.
2010-03-09ecpg now adds a unique counter to its varchar struct definitions to make ↵Michael Meskes
these definitions unique, too. It used to use the linenumber but in the rare case of two definitions in one line this was not unique.
2010-02-26Revert pgindent changes to ecpg include files that are part of ecpgBruce Momjian
regession test output, and update pgindent script to avoid them in the future.
2010-02-26pgindent run for 9.0Bruce Momjian
2010-01-29Changed ECPG outofscope handling to always print out statements in the same ↵Michael Meskes
order so regression testing is possible, by Zoltan Boszormenyi
2010-01-26Added test case that was part of Zoltan's patch but apparently wasn't part ↵Michael Meskes
of my commit.
2010-01-26Applied patch by Boszormenyi Zoltan <[email protected]> to add out-of-scope ↵Michael Meskes
cursor support to native mode.
2010-01-22Applied patch by Boszormenyi Zoltan <[email protected]> to fix problem in ↵Michael Meskes
auto-prepare mode if the connection is closed and re-opened and the previously prepared query is issued again.
2009-12-16Fixed auto-prepare to not try preparing statements that are not preparable. BugMichael Meskes
found and solved by Boszormenyi Zoltan <[email protected]>, some small adjustments by me.
2009-11-26Added missing files.Michael Meskes
2009-11-26Added dynamic cursor names to ecpg. Almost the whole patch was done byMichael Meskes
Boszormenyi Zoltan, with only a minor tweak or two from me.
2009-05-20More variables gcc moans aboutMichael Meskes
2009-05-06Fix ecpg tests for change that disallowed Unicode literals unlessTom Lane
standard_conforming_strings is on.
2008-10-29Unicode escapes in strings and identifiersPeter Eisentraut
2008-05-20Synced parser.Michael Meskes
Made ecpg parser use backend provided keyword list. Changed whenever test so exit value is 0.
2008-03-02Fixed bug that caused arrays of varchar to be output with incomplete name.Michael Meskes
In the process expanded one test case,
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-05-27Applied Joachim's patch for ecpg_config.h creation on Vista.Michael Meskes
Changed variable test to not run into infinite loops on backend errors.
2006-09-26Added Joachim's changes for MinGW.Michael Meskes
Added SET DATESTYLE to one test so the output format is defined.
2006-09-08Not all C compilers understand the "//" comment in this test case, so I ↵Michael Meskes
removed it.
2006-09-08Replaced complex tests with small ones.Michael Meskes
2006-09-08More logic from complex/test* moved to their own testcases.Michael Meskes
2006-09-05Started to cleanup complex tests.Michael Meskes
Added some interval checks to regression suite.