summaryrefslogtreecommitdiff
path: root/test/sql
AgeCommit message (Collapse)Author
2013-08-24Use setseed() in RUN ON ANY regtest.Marko Kreen
Without it, the test can fail occasionally. Reported by Peter Eisentraut.
2013-01-31Add language validatorPeter Eisentraut
Refactor some internals to make this possible. Mainly, FunctionCallInfo is not available when validating, so avoid accessing that if not required. Rename plproxy_compile() to plproxy_compile_and_cache() and the previously internal fn_compile() to plproxy_compile(). This matches their purpose better and allows the validator to call plproxy_compile() without invoking execution-time dependent code. Many error test cases have changed because the validator catches errors when the function is created, not when it is called. Raise the extension version to 2.5.1 to be able to upgrade from non-validator installations.
2013-01-31Add more test cases for error conditionsPeter Eisentraut
2012-11-17Move RANGE to acceptable types, add testsMarko Kreen
2012-11-17Test for "RETURNS TABLE (..)" functionsMarko Kreen
2012-10-12Rename table alter testMarko Kreen
2012-10-12After sending cancel req, wait for remote errorMarko Kreen
Previously, as soon as cancel requests were send, plproxy re-throwed the error, without waiting for reaction from backend. Such behaviour creates 2 problems: - If plproxy backend is closed immediately, the bouncer will see plproxy close before cancel from backend, thus seeing mid-tx close, thus dropping the connection. - If new query comes in to plproxy backend, plproxy itself will see dirty connection, closing it, thus also causing close of server connection in bouncer. In both cases it can cause server connection drop in pooler. New behaviour of waiting query result should fix it.
2012-10-11Table invalidationMarko Kreen
On each call, recheck type relation rowstamp. If it proves to be noticeable, we can use syscache callback infrastructure for that, but it will be much more complex.
2012-10-11Support for dropped fieldsMarko Kreen
2012-03-29Test SQL/MED with SECURITY DEFINERMarko Kreen
2012-03-08Makefile and tests cleanupMarko Kreen
- Use CREATE EXTENSION in 9.1+ tests - set verbosity to 'terse' to have less noise - Less messy Makefile rules
2012-02-26Fix sql file location in test/Marko Kreen
2012-02-25Move SQL files to sql/ subdirectory.David E. Wheeler
2012-02-25Move tests to test subdirectory.David E. Wheeler