[pybsddb] Checking put() transaction results: what is the proper way in bsddb3?
Rafael Sierra
rafaeljsg14 at gmail.com
Tue Mar 2 16:16:55 CET 2010
On Tue, Mar 2, 2010 at 12:10 PM, Denis Papathanasiou
<denis.papathanasiou at gmail.com> wrote:
>
>> Is this
>> http://www.jcea.es/programacion/pybsddb_doc/introduction.html#exceptions-provided
>> ?
>
> Is that the complete list?
>
> There are some error conditions from the transaction example in C, e.g.
> DB_READ_UNCOMMITTED, which are not on that list.
That's odd...you already got that exception? Here I have only:
>>> [p for p in dir(bsddb.db) if 'Error' in p]
['DBAccessError', 'DBAgainError', 'DBBusyError',
'DBCursorClosedError', 'DBError', 'DBFileExistsError',
'DBInvalidArgError', 'DBKeyEmptyError', 'DBKeyExistError',
'DBLockDeadlockError', 'DBLockNotGrantedError', 'DBNoMemoryError',
'DBNoServerError', 'DBNoServerHomeError', 'DBNoServerIDError',
'DBNoSpaceError', 'DBNoSuchFileError', 'DBNotFoundError',
'DBOldVersionError', 'DBPageNotFoundError', 'DBPermissionsError',
'DBRepHandleDeadError', 'DBRepUnavailError', 'DBRunRecoveryError',
'DBSecondaryBadError', 'DBVerifyBadError']
>
> _______________________________________________
> pybsddb mailing list
> pybsddb at jcea.es
> https://mailman.jcea.es:28443/listinfo/pybsddb
> http://www.jcea.es/programacion/pybsddb.htm
>
--
Rafael Sierra
http://blog.stiod.com
More information about the pybsddb
mailing list