This project is archived and is in readonly mode.

#213 ✓invalid
Nicholas Chammas

How do I make a multi-connection data load atomic?

Reported by Nicholas Chammas | May 5th, 2014 @ 09:30 PM

This is not a bug. This is a design or best practices question. If this is off-topic here, please direct me appropriately.

Here is my question: http://stackoverflow.com/q/23354034/877069

The question is about Amazon Redshift, which exposes a PostgreSQL interface, but it should be equally applicable to PostgreSQL.

Basically, I am trying to load data in parallel using ThreadedConnectionPool.

Is there a convenient way to make the activity across all the connections in the pool atomic?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Shared Ticket Bins

Pages