disqus / pgshovel

A change data capture system for PostgreSQL
Apache License 2.0
11 stars 3 forks source link

Add command to upgrade (or initialize) a database that doesn't have any replication sets. #6

Open tkaemming opened 9 years ago

tkaemming commented 9 years ago

The upgrade_cluster function and associated command only upgrade databases that have active replication sets on them, which means a database that previously had a set but no longer has one doesn't have any direct upgrade path. This also prevents adding new sets to that database after a cluster upgrade occurs, since that database will be out of sync with the rest of the cluster.