[ZODB-Dev] _p_oid

Adam GROSZER agroszer at gmail.com
Wed Apr 1 12:28:24 EDT 2009


Hello,

Does anyone know how _p_oid is generated?

I'm asking because we would like to use _p_oid as a unique key to
store BLOB-like files on the filesystem.
Of course more threads/processes/machines are in the picture.
So the question is once an object gets a _p_oid assigned, is it
guaranteed to be unique over all instances accessing the same DB?

thanks

-- 
Best regards,
 Adam GROSZER                          mailto:agroszer at gmail.com
--
Quote of the day:
It is the province of knowledge to speak, and its a privilege of wisdom to listen. 
- Oliver Wendell Homes 



More information about the ZODB-Dev mailing list