On Wed, 2009-04-01 at 18:28 +0200, Adam GROSZER wrote:
> 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?

Yes.

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to