- Notifications
You must be signed in to change notification settings - Fork26
Closed
Description
Hello, I have a legacy database that I'm looking to user2d2-postgres
w/ (Teiid) that implements a PostgreSQL compatible API. Unfortunately it doesn't support passing in blank queries as described by the PostgreSQL spec.
Debugging thread here:sfu-db/connector-x#107
Would you be open to switching the probe query foris_valid
to something more standard, likeSELECT 1;
, or at least make this configurable? This would allow me (and others) to retain connection pooling functionality in that case.
I noticedSELECT 1;
is actually what is recommended upstream in r2d2 for connection pool implementors, and understand the empty query is probably slightly faster round trip.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels