Ah, I didn't know that. sqlx is not well supported today, I'm afraid. It sends explicit Close mess

Ah, I didn't know that. sqlx is not well supported today, I'm afraid.

It sends explicit Close messages that chew up an extra round trip instead of just dropping the connection and letting the origin DB garbage collect the prepared statements it generated, and that's not something we support currently. The bookkeeping for that is surprisingly complicated for a tx-mode pooler, and there would be a big performance penalty for doing it naively. I've poked at it a couple times.
Was this page helpful?