Mercurial > p > roundup > code
diff roundup/hyperdb.py @ 3687:ff9f4ca42454
Postgres backend allows transaction collisions to be ignored when...
...committing clenup in the sessions database
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 29 Aug 2006 04:20:50 +0000 |
| parents | bffa231ec3bc |
| children | 01ea89743311 |
line wrap: on
line diff
--- a/roundup/hyperdb.py Sun Aug 27 11:34:12 2006 +0000 +++ b/roundup/hyperdb.py Tue Aug 29 04:20:50 2006 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: hyperdb.py,v 1.125 2006-08-22 19:33:02 schlatterbeck Exp $ +# $Id: hyperdb.py,v 1.126 2006-08-29 04:20:50 richard Exp $ """Hyperdatabase implementation, especially field types. """ @@ -728,6 +728,12 @@ Save all data changed since the database was opened or since the last commit() or rollback(). + + fail_ok indicates that the commit is allowed to fail. This is used + in the web interface when committing cleaning of the session + database. We don't care if there's a concurrency issue there. + + The only backend this seems to affect is postgres. ''' raise NotImplementedError
