Closed suederade closed 4 years ago
Indeed. I'll update the docs ASAP.
@joshuahlang Thanks! Can I ask another quick question around the pools. What actually creates the transaction? I know some of them can use with
on the connection to create a transaction (psycopg2), but I'm not sure that works in this case. pymssql
I believe makes it on an execute, but I can't seem to find in the docs where a transaction begins.
ctds relies on SQL Server to create the transaction internally, using the IMPLICIT_TRANSACTIONS feature. How this is utilized by ctds is documented here: https://zillow.github.io/ctds/transactions.html
Oh, totally glossed over the documentation to the implicit transactions. My bad and thanks!
The docs located here https://zillow.github.io/ctds/pooling.html seem to be incorrect on how to make a connection pool.
Current:
This results in this error:
What only works for me is this: