Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib / db @ 1c65202f

Name Size
  pooled_psycopg2
__init__.py 0 Bytes
intdecimalfield.py 1.6 kB
psyco_gevent.py 2.2 kB
xctx.py 4 kB

Latest revisions

# Date Author Comment
1c65202f 01/23/2013 07:00 pm Giorgos Korfiatis

Remove a debugging print

d55d4f34 01/23/2013 06:56 pm Giorgos Korfiatis

Custom transaction context

A context which can be used as a decorator;
it commits the transaction if no exception was raised and
the rollback flag was not checked.
Executes customizable code after committing.

0f0dd7df 01/14/2013 05:50 pm Giorgos Korfiatis

Additional parameters in the field constructor

c11dc0ce 01/07/2013 05:20 pm Giorgos Korfiatis

Redefine IntDecimalField to allow support for south migration;
apply the new field to astakos.im.ProjectResourceGrant

00698e35 09/18/2012 10:31 am Christos Stavrakakis

Fix cleanup of DB pooled connections

Fix bug in cleanup of DB pooled connections before putting them back to
the pool. The way the connection was cleaned, resulted in mishandling of
the transactions.

Accoring to psycopg2 docs, in case of a READ COMMITED isolation level:...

702850c4 09/12/2012 01:17 pm Christos Stavrakakis

Enhange logging in db and http pools

c4dcfcf6 09/07/2012 03:36 pm Georgios D. Tsoukalas

port pooled psycopg2 to new pool api

ab133e68 09/07/2012 01:25 pm Vangelis Koukis

Move pooling psycopg2 wrapper to synnefo.lib.db

Move pooling psycopg2 wrapper to synnefo.lib.db,
please see commit e83ed1fb8fb4d0d19c2d3f86152fde60b3cadfd9 for all the
details on how to use the pooling wrapper for psycopg2.

View revisions

Also available in: Atom