master
- Removed duplicate include of ecpgtype.h which meant I had to adapt all expected results. - Changed INFORMIX mode symbol definition yet again because the old way didn't work on NetBSD. Hopefully this one does.
Sorry, forgot the new files.
Test ECPG decadd(), decdiv(), decmul(), and decsub() for risnull() input.
Remove unnecessary parentheses in return statements
Establish conventions about global object names used in regression tests.
Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to add DESCRIBE [OUTPUT] statement to ecpg.
Prevent -Wstrict-prototypes and -Wold-style-definition warnings
ecpg: Fix zero-termination of string generated by intoasc()
Add some const decorations to prototypes
Fix MSVC warning in compat_informix/rnull.pgc
Added another test
Use <stdint.h> and <inttypes.h> for c.h integers.
Removed test case using nan as float value because printf's output for nan is OS specific with some distinguishing between signaling and quiet nans. It's not really importnat for us here anyway.
Revert "Add DECLARE STATEMENT support to ECPG."
Make some ecpg test cases more robust against unexpected errors that happen during development. Test cases themselves should not hang or segfault.
Made sure sqlca is reset for declare cursor in Informix mode as pointed out by Böszörményi Zoltán <zb@cybertec.at>.
Hopefully that's it. The remaining files for ecpg regression tests.
ecpg: Fix handling of strings in ORACLE compat code with SQLDA
Update ecpg's connect-test1 for connection-failure message changes.
Increase hard-wired timeout values in ecpg regression tests.
Applied Joachim's patch for a --regression option. 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.
ecpg: avoid adding whitespace around '&' in connection URLs.
- Enabled single-quoted connection targets. - Fixed a memory leak/segfault in unsuccessful connection. - Some changes to test files.
Add missing connection validation in ECPG
ecpg: Fix out-of-bound read in DecodeDateTime()
Add PGTYPESchar_free() to avoid cross-module problems on Windows.
De-support floating-point timestamps.
Remove some code for old unsupported versions of MSVC
Fixed NaN/Infinity problems in ECPG for float/double/numeric/decimal by making it OS independant.
Fix range check in ECPG numeric to int conversion
Un-break ecpg tests for Windows.
Joachim fixed some bugs in numeric handling in pgtypeslib. Fixed and cleaned up some regression tests. Also added a new one.
Removed compiler warning due to unneeded unsigned declaration. Removed regression test that triggers those libc precision bugs on some archs.
ecpg: refactor to eliminate cast-away-const in find_variable().
Fixed bug that caused arrays of varchar to be output with incomplete name. In the process expanded one test case,
Minor additional improvements for ecpglib/prepare.c.
Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to fix problem in auto-prepare mode if the connection is closed and re-opened and the previously prepared query is issued again.
Replaced complex tests with small ones.
Added test for cursor handling on different connections to regression test suite for ecpg.
Remove duplicate include
More logic from complex/test* moved to their own testcases.
NLS cleanup in ecpglib
Started to cleanup complex tests. Added some interval checks to regression suite.
Harmonize parameter names in ecpg code.
Changed ECPG outofscope handling to always print out statements in the same order so regression testing is possible,
Several fixes to array handling in ecpg.
Silence -Wmissing-variable-declarations in headerscheck.
Avoid re-using output variables in new ecpg test case.
Fix ecpg's mishandling of B'...' and X'...' literals.
Fix ECPG's handling of type names that match SQL keywords.
Fix possible omission of variable storage markers in ECPG.
Stop using spelling "nonexistant".
Fix locale dependency in new ecpg test case.
Fix format truncation issue from ECPG test
Fixed array handling in ecpg.
Fixed auto allocation for binary data types.
Fix ecpg crash with bytea and cursor variables.
Sync ECPG's CREATE TABLE AS statement with backend's.
Improved ECPG warning as suggested by Michael Paquier and removed test case that triggers the warning during regression tests.
Fix assorted bugs in ecpg's macro mechanism.
Replaced double-quote-fix with a hopefully better version. Use initializer string length as size for character strings. Added ecpg_config.h file that is created via configure.
Phase 2 of pgindent updates.
Applied test suite update by Joachim Wieland <joe@mcknight.de>.
Fix SQL3 type return value.
Add documentation and tests for quote marks in ECPG literal queries.
- EXECUTE can return NOT FOUND so it should be checked here too. - Changed regression test accordingly.
Fixed parsing of parameters. Added regression test for this.
- Finished major rewrite to use new protocol version - 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
Added variable handling for RETURNING clause to ecpg.
- Changed some whitespacing in connect statement. - 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.
Implement PREPARE AS statement for ECPG.
Force standard_conforming_strings to always be ON.
Fix printf format string warning on MinGW.
Second try at fixing numeric data passed through an ECPG SQLDA.
Fix error message wording
Add more SQL/JSON constructor functions
JSON_TABLE: Add support for NESTED paths and columns
SQL Property Graph Queries (SQL/PGQ)
Make two-phase tests of ECPG and main suite more concurrent-proof
Add test case for two phase commit. Also by Masahiko Sawada.
Applied another patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get memory allocation thread-safe. He also did some cleaning up.
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe descriptor handling
Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get prepare thread-safe.
Reverting accidently commited changes.
Rewrite ECPG regression test driver in C, by splitting the standard regression driver into two parts and reusing half of it. Required to run ECPG tests without a shell on MSVC builds.