Skip site navigation (1) Skip section navigation (2)

python - pq: Add the 'Queue' class for managing protocol transactions.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - pq: Add the 'Queue' class for managing protocol transactions.
Date: 2007-11-08 18:25:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Add the 'Queue' class for managing protocol transactions.

This was originally in fe/, but it has been moved here as users of
'pq' are more than likely going to need something like this. The move here
demands some generalizations, so it's not an exact copy, but most of the
state-conscience code is the same. Notably, none of the thread safeties have been
carried over. This intentional omission was done in order to save cycles for
users that have no need for such safeties. Users in need of such a feature can
either subclass the Queue class or wrap instances with a protective object.

Modified Files:
    pq/src: (r1.10 -> r1.11)

pgsql-committers by date

Next:From: James William PyeDate: 2007-11-08 18:58:04
Subject: python - pq: Remove the Block interface and fix bugs in Passive.
Previous:From: James William PyeDate: 2007-11-08 18:13:16
Subject: python - pq: Raise exception instances.

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group