Using Demostorage with Relstorage

Hi,

for local development it is possible to use the demostorage which connects to a global zeoserver and never writes to it. How is this possible when we want to use RelStorage together with Postgres? I was not able to find any option to use the demostorage with RelStorage.

Or is there an other way to achieve the same result? It would be totally okay if the demostorage gets cleared everytime the instance restarts. So maybe it is possible to start a transaction when the instance starts and in the end it will never be committed. Sounds a bit weird but as there is already a database system in the background maybe it can be used like this. I don't know.

1 Like

I would open an ticket with this question at https://github.com/zodb/relstorage/issues - I am curious too if (and how) this works - but it should.

1 Like

I've created a new issue: https://github.com/zodb/relstorage/issues/410

1 Like

Plone Foundation Code of Conduct