|
|
/ Software / PGStorage |
PGStorage
PGStorage is a ZODB backend that persists to a PostgreSQL database. PGStorage stores simple pickles in the database, so it is compatible with most Zope applications and is much simpler than Ape. Undo and packing are supported.
PGStorage also takes the place of ZEO. Any number of Zope instances can connect to a single PostgreSQL database. Furthermore, the replication options available for PostgreSQL may take the place of ZRS (Zope Replication Services.)
Before installing PGStorage, install psycopg2. Then unpack the PGStorage archive and put the PGStorage package inside the lib/python/ZODB package in Zope. Change Zope to use PGStorage by replacing the main database in zope.conf with something similar to the following:
%import ZODB.PGStorage <zodb_db main> connection-class ZODB.PGStorage.PGConnection mount-point / <pgstorage> </pgstorage> </zodb_db>
PGStorage is licensed under ZPL 2.1 and requires Zope 2.8 or later. Release 0.1 is an alpha release, but it passes the standard ZODB test suite.
Download: PGStorage-0.1.tar.gz
Released: 11 Feb 2006
MD5 sum: cd89bd0b848c92bd5e8ad2797a8761d7
