> On Dec 23, 2016, at 17:23, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:
> Yet the data was available immediately in another session without a explicit COMMIT, so how is psycopg2 committing the INSERTs?
autocommit = True means psycopg2 doesn't issue an initial BEGIN, so each INSERT commits when done (just like a top-level psql session)... thus "autocommit."
--
-- Christophe Pettus
xof(at)thebuild(dot)com