Skip to content

Commit

Permalink
Merge pull request #4233 from systeminit/jhelwig/pg-connection-poolin…
Browse files Browse the repository at this point in the history
…g-even-cleaner

Ensure recycled PG connections do not have lingering open transactions
  • Loading branch information
jhelwig authored Jul 26, 2024
2 parents 074d5c8 + bf14590 commit 26564c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/si-data-pg/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const TEST_QUERY: &str = "SELECT 1";
// We could avoid needing to discard plans by selecting exactly the columns we
// need instead of SELECT * (unless the column type changes!)
const CONNECTION_RECYCLING_METHOD: &str = r#"
ROLLBACK;
CLOSE ALL;
SET SESSION AUTHORIZATION DEFAULT;
RESET ALL;
Expand Down

0 comments on commit 26564c1

Please sign in to comment.