Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since we're talking about Ubuntu, I would use the Ubuntu tools. They make it very easy to maintain several Postgres clusters side-by-side, e.g. /var/lib/postgresql/9.4/main vs /var/lib/postgresql/9.5/main. You can also control which binaries you use with the PGCLUSTER variable, like this:

    PGCLUSTER=9.4/main pg_dump foo
    PGCLUSTER=9.5/main pg_dump foo


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: