diff --git a/sqlx-postgres/src/testing/mod.rs b/sqlx-postgres/src/testing/mod.rs index 2d2f203b23..778613f5d1 100644 --- a/sqlx-postgres/src/testing/mod.rs +++ b/sqlx-postgres/src/testing/mod.rs @@ -119,9 +119,9 @@ async fn test_context(args: &TestArgs) -> Result, Error> { // I couldn't find a bug on the mailing list for `CREATE SCHEMA` specifically, // but a clearly related bug with `CREATE TABLE` has been known since 2007: // https://www.postgresql.org/message-id/200710222037.l9MKbCJZ098744%40wwwmaster.postgresql.org - r#" - lock table pg_catalog.pg_namespace in share row exclusive mode; + // lock table pg_catalog.pg_namespace in share row exclusive mode; + r#" create schema if not exists _sqlx_test; create table if not exists _sqlx_test.databases (