> On Feb 15, 2020, at 10:24, Reuben Rissler <sil...@emypeople.net> wrote:
> This is interesting, to say the least. I use psycopg2 a lot, but I never got 
> around to researching psycopg2 for this type of action. I can't help you out 
> on how to get this into psycopg2 officially, and I don't even know if / when 
> I'll use it, but it is nice to know I'm not the only one who has thought in 
> patterns like this.

This has been implemented by the Django atomic() context manager for quite some 
time, in fact.
--
-- Christophe Pettus
   x...@thebuild.com



Reply via email to