You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The access at Postgres.terminate_backend.input[0] causes a crash:
CREATE OR REPLACEFUNCTIONpy_backend_control() RETURNS text LANGUAGE python AS
$python$
import Postgres
def main():
# validate what we can, and be done. :(
assert isinstance(Postgres.terminate_backend, Postgres.Function)
assert Postgres.terminate_backend.input[0]['atttypid'] ==Postgres.CONST["INT4OID"]
assert isinstance(Postgres.cancel_backend, Postgres.Function)
assert Postgres.cancel_backend.input[0]['atttypid'] ==Postgres.CONST["INT4OID"]
return 'success'
$python$;
-- pretty weak test :(SELECT py_backend_control();
The text was updated successfully, but these errors were encountered:
The access at Postgres.terminate_backend.input[0] causes a crash:
The text was updated successfully, but these errors were encountered: