Make transaction-rollback=true the default for test-suite (#1663)

Change test-suite to use db-tx-rollback-all = true by default
This commit is contained in:
Wolfgang Walther
2020-12-03 18:54:33 +01:00
committed by GitHub
parent 10a70d4e52
commit 609c9aead8
21 changed files with 708 additions and 495 deletions
+13 -3
View File
@@ -365,6 +365,16 @@ CREATE FUNCTION callcounter() RETURNS bigint
SELECT nextval('test.callcounter_count');
$_$;
CREATE FUNCTION reset_sequence(name TEXT, value INTEGER) RETURNS void
SECURITY DEFINER
LANGUAGE plpgsql AS $_$
BEGIN
EXECUTE FORMAT($exec$
ALTER SEQUENCE %s RESTART WITH %s
$exec$, name, value);
END
$_$;
--
-- Name: singlejsonparam(json); Type: FUNCTION; Schema: test; Owner: -
--
@@ -1825,8 +1835,8 @@ create table v1.parents (
);
create table v1.children (
id serial primary key
, name text
id int primary key
, name text
, parent_id int
, constraint parent foreign key(parent_id)
references v1.parents(id)
@@ -1843,7 +1853,7 @@ create table v2.parents (
);
create table v2.children (
id serial primary key
id int primary key
, name text
, parent_id int
, constraint parent foreign key(parent_id)