I'm trying to setup and run multiple clusters of PostgreSQL 9.0 in the same Ubuntu/Debian machine. Debian has a package called 'postgresql-common' to facilitate managing database clusters. However, the version of the package is 8.4, and when I try to execute pg_createcluster command with version 9.0, it says - "Error: invalid version: 9.0". Can anybody please help me in this?
migrated from stackoverflow.com Jul 9 '11 at 14:08
Are you running on Debian Squeeze ? If so, add backports repository (/etc/apt/sources.list) and update your package list:
To check postgresql-common's version and create new cluster use e.g.: