Remove deferred from test tables where unneeded
This commit is contained in:
@@ -679,7 +679,7 @@ func TestTxBeginFuncNestedTransactionCommit(t *testing.T) {
|
|||||||
drop table if exists pgxpooltx;
|
drop table if exists pgxpooltx;
|
||||||
create temporary table pgxpooltx(
|
create temporary table pgxpooltx(
|
||||||
id integer,
|
id integer,
|
||||||
unique (id) initially deferred
|
unique (id)
|
||||||
);
|
);
|
||||||
`
|
`
|
||||||
|
|
||||||
@@ -726,7 +726,7 @@ func TestTxBeginFuncNestedTransactionRollback(t *testing.T) {
|
|||||||
drop table if exists pgxpooltx;
|
drop table if exists pgxpooltx;
|
||||||
create temporary table pgxpooltx(
|
create temporary table pgxpooltx(
|
||||||
id integer,
|
id integer,
|
||||||
unique (id) initially deferred
|
unique (id)
|
||||||
);
|
);
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -308,7 +308,7 @@ func TestBeginFunc(t *testing.T) {
|
|||||||
createSql := `
|
createSql := `
|
||||||
create temporary table foo(
|
create temporary table foo(
|
||||||
id integer,
|
id integer,
|
||||||
unique (id) initially deferred
|
unique (id)
|
||||||
);
|
);
|
||||||
`
|
`
|
||||||
|
|
||||||
@@ -337,7 +337,7 @@ func TestBeginFuncRollbackOnError(t *testing.T) {
|
|||||||
createSql := `
|
createSql := `
|
||||||
create temporary table foo(
|
create temporary table foo(
|
||||||
id integer,
|
id integer,
|
||||||
unique (id) initially deferred
|
unique (id)
|
||||||
);
|
);
|
||||||
`
|
`
|
||||||
|
|
||||||
@@ -518,7 +518,7 @@ func TestTxBeginFuncNestedTransactionCommit(t *testing.T) {
|
|||||||
createSql := `
|
createSql := `
|
||||||
create temporary table foo(
|
create temporary table foo(
|
||||||
id integer,
|
id integer,
|
||||||
unique (id) initially deferred
|
unique (id)
|
||||||
);
|
);
|
||||||
`
|
`
|
||||||
|
|
||||||
@@ -561,7 +561,7 @@ func TestTxBeginFuncNestedTransactionRollback(t *testing.T) {
|
|||||||
createSql := `
|
createSql := `
|
||||||
create temporary table foo(
|
create temporary table foo(
|
||||||
id integer,
|
id integer,
|
||||||
unique (id) initially deferred
|
unique (id)
|
||||||
);
|
);
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user