summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-05remote_wait_for_cancel: avoid unnecessary warningHEADmasterMarko Kreen
If the remote server cannot be connected and query is canceled, don't show random warning about "Unfinished connection". Patch by Fazal Majid
2013-08-24Use setseed() in RUN ON ANY regtest.Marko Kreen
Without it, the test can fail occasionally. Reported by Peter Eisentraut.
2013-07-08remote_wait_for_cancel: move pending check before poll()Marko Kreen
Otherwise it can still hang.
2013-04-15Instead 2.5.1, use 2.6 as next ver.Marko Kreen
the validator is too big change for 2.5.1
2013-04-15Comment typoMarko Kreen
2013-04-15remote_wait_for_cancel: wait only C_QUERY_READ connections.Marko Kreen
Previous check was too broad and left plproxy hanging. Reported-By: Tarvi Pillessaar
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
2013-01-31Add additional built files to .gitignorePeter Eisentraut
2013-01-04deb cleanupMarko Kreen
* use installed pg_buildext * use installed pgxs_debian_control.mk * don't override 'clean' target in debian/rules * 'make deb' forces control file regeneration This reduces crap maintained locally. It also does mean that to build against server-dev-X.Y package that is not for Debians default Postgres version, following packages need to be installed from PGDG (wiki.postgresql.org/wiki/Apt) repo: postgresql-client-common postgresql-common postgresql-server-dev-all
2012-11-27v2.5plproxy_2_5Marko Kreen
2012-11-23Merge pull request #4 from petere/masterMarko Kreen
Fix build with PostgreSQL 9.3devel
2012-11-23Fix build with PostgreSQL 9.3develPeter Eisentraut
Some needed declarations have been moved to the new header htup_details.h. stringinfo.h needs to be included explicitly now. It should always have been necessary, but might have come in through other headers.
2012-11-17Move RANGE to acceptable types, add testsMarko Kreen
2012-11-17Test for "RETURNS TABLE (..)" functionsMarko Kreen
2012-11-17Use PROVOLATILE constantMarko Kreen
2012-11-17Use TYPTYPE symbolic constantsMarko Kreen
2012-11-16Accept 't' proargmode, use symbolic names.Marko Kreen
Also throw error on unknown proargmode. Fixes crash reported by Sébastien Lardière.
2012-10-31v2.5rc1plproxy_2_5_rc1Marko Kreen
2012-10-31debclean targetMarko Kreen
2012-10-31Bump ext ver to 2.5.0, add upgrade scriptsMarko 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-05-07v2.4plproxy_2_4Marko Kreen
2012-05-07PGVER: add quotingMarko Kreen
This avoids breakage if pg_config is not found and PGVER stays empty.
2012-04-13v2.4rc2Marko Kreen
2012-04-13Proper init and cleanup for ConnectionStateMarko Kreen
Otherwise there can be garbage in struct
2012-04-13Another get_role_oid() fixupMarko Kreen
2012-04-12Use container_of() to get main struct from nodeMarko Kreen
Direct casts hardwire the assumption that node is always first member of struct.
2012-04-12Provide get_role_oid() on older PostgresMarko Kreen
2012-04-05Fix 'make tgz'plproxy_2_4_rc1Marko Kreen
2012-04-05v2.4rc1Marko Kreen
2012-04-05config.txt: missing dotMarko Kreen
2012-04-03New config var: 'default_user'Marko Kreen
This allows to fall back to old default of 'session_user'. New default is 'current_user'.
2012-04-02Clear old config before loading new one.Marko Kreen
This allows falling back to defaults when some value is dropped from config.
2012-03-29Test SQL/MED with SECURITY DEFINERMarko Kreen
2012-03-29Refresh SPLIT test - order changed.Marko Kreen
Now connections are added to active_list in order they get tagged from hash function.
2012-03-29Switch from session_user to current_user.Marko Kreen
Plus minor cleanups.
2012-03-29User mapping now almost works on sql/med tooMarko Kreen
2012-03-29rowstamp: allow usage on zeroed stampMarko Kreen
2012-03-29Per-user mapping for non-sqlmed clustersMarko Kreen
2012-03-29Put per-cluster connect strings into treeMarko Kreen
2012-03-29Convert real cluster to treeMarko Kreen
2012-03-29Use binary tree for fake cluster storageMarko Kreen
- Add aatree.[ch] - Dont run maintenance if no init is done - Simplify header deps in Makefile - Store fake cluster in binary tree
2012-03-29Create separate structure for current connectionMarko Kreen
2012-03-29Makefile cleanupsMarko Kreen
- remove plproxy.so even when building something else - Use ctags for tags
2012-03-29debian/rules clean: remove per-package dirsMarko Kreen
2012-03-09Reorganize Debian packagingMarko Kreen
Drop yada based packaging, instead use the new pg_buildext packaging, except include pg_buildext under debian/ so the package builds on lenny too. It finds any postgresql-server-dev packages and builds against them. Also import Peter Eisentraut's Makefile fixes from official Debian packaging to support multi-package builds. Now package is built for all installed server-dev versions.