mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Remove deferred from test tables where unneeded
This commit is contained in:
parent
ff6ab48e00
commit
1e15bdc874
@ -679,7 +679,7 @@ func TestTxBeginFuncNestedTransactionCommit(t *testing.T) {
|
||||
drop table if exists pgxpooltx;
|
||||
create temporary table pgxpooltx(
|
||||
id integer,
|
||||
unique (id) initially deferred
|
||||
unique (id)
|
||||
);
|
||||
`
|
||||
|
||||
@ -726,7 +726,7 @@ func TestTxBeginFuncNestedTransactionRollback(t *testing.T) {
|
||||
drop table if exists pgxpooltx;
|
||||
create temporary table pgxpooltx(
|
||||
id integer,
|
||||
unique (id) initially deferred
|
||||
unique (id)
|
||||
);
|
||||
`
|
||||
|
||||
|
@ -308,7 +308,7 @@ func TestBeginFunc(t *testing.T) {
|
||||
createSql := `
|
||||
create temporary table foo(
|
||||
id integer,
|
||||
unique (id) initially deferred
|
||||
unique (id)
|
||||
);
|
||||
`
|
||||
|
||||
@ -337,7 +337,7 @@ func TestBeginFuncRollbackOnError(t *testing.T) {
|
||||
createSql := `
|
||||
create temporary table foo(
|
||||
id integer,
|
||||
unique (id) initially deferred
|
||||
unique (id)
|
||||
);
|
||||
`
|
||||
|
||||
@ -518,7 +518,7 @@ func TestTxBeginFuncNestedTransactionCommit(t *testing.T) {
|
||||
createSql := `
|
||||
create temporary table foo(
|
||||
id integer,
|
||||
unique (id) initially deferred
|
||||
unique (id)
|
||||
);
|
||||
`
|
||||
|
||||
@ -561,7 +561,7 @@ func TestTxBeginFuncNestedTransactionRollback(t *testing.T) {
|
||||
createSql := `
|
||||
create temporary table foo(
|
||||
id integer,
|
||||
unique (id) initially deferred
|
||||
unique (id)
|
||||
);
|
||||
`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user