dmagda / pg-compute-node

A client-side PostgreSQL extension that lets you execute JavaScript functions on the database directly from the application logic.
Apache License 2.0
24 stars 1 forks source link

Support the DEV deployment mode #3

Open dmagda opened 1 year ago

dmagda commented 1 year ago

In case a single database instance is shared during the development, then each developer needs to be able to create/modify/run its own version of compute logic.

This requires supporting the DEV deployment mode. The mode is similar to AUTO in a way that the logic is automatically redeployed if necessary. But the DEV mode will use temporal tables of Postgres to ensure developers work with their own version of the logic. A temporal table will be created and maintained per session.