> On Oct 21, 2021, at 09:18, Magnus Hagander <mag...@hagander.net> wrote: > But yes, the biggest issue I have with it is the part that's outlined in the > Warning section of the docs there -- using it in different ways provides > completely and fundamentally different behaviour in a way that can cause bad > data. > > Things would be a lot more clear if the *connection* context didn't do > *anything* with transactions whatsoever, and the *transaction* one did all of > it. When it comes to transactions, explicit is always better than implicit > IMNSHO. +1. I have to say that had I not read the warning, the behavior would have taken me by surprise, even with a lot of psycopg2 experience.
- Re: psycopg3 transactions Paolo De Stefani
- Re: psycopg3 transactions Daniel Fortunov
- Re: psycopg3 transactions Daniele Varrazzo
- Re: psycopg3 transactions Karsten Hilbert
- Re: psycopg3 transactions Karsten Hilbert
- Re: psycopg3 transactions Magnus Hagander
- Re: psycopg3 transactions Daniele Varrazzo
- Aw: Re: psycopg3 transactions Karsten Hilbert
- Re: Re: psycopg3 transactions Daniele Varrazzo
- Re: Re: psycopg3 transactions Magnus Hagander
- Re: psycopg3 transactions Christophe Pettus
- Re: psycopg3 transactions Daniel Fortunov
- Re: psycopg3 transactions Reuben Rissler
- Aw: Re: psycopg3 transactions Karsten Hilbert
- Re: Re: psycopg3 transactions Daniel Fortunov
- Re: Re: psycopg3 transactions Karsten Hilbert
- Re: psycopg3 transactions Adrian Klaver
- Re: psycopg3 transactions Karsten Hilbert