<div dir="ltr"><div><div><div><div>Well, maybe we can install binaries (or everythng) for
PostgreSQL package into version specific directory
(/usr/lib/postgresql/9.3)?<br><br></div>It even doesn't need to be
separate package, my intention is just to enable people to install
new Postgresql version, transfer data, and remove old version if they want to.<br><br>For example:<br><br></div>1) I would prepare new PostgreSQL 9.2 build with binaries in version specific directories and symlinks in /usr/bin<br>
</div> (so functionally we have the same situation as with current package)<br></div> rc.postgresql script will be modified to honour environment variable PG_VERSION, so we can start "other" PostgreSQL versions<br>
<br><div><div>2) User installs this PostgreSQL 9.2 package<br></div><div><br>3) New PostgreSQL 9.3 package is released, we can install it over the old version, it only overwrites shared symlinks in bin directory. At this point old version can be (re)started using: PG_VERSION=9.2 /etc/rc.d/rc.postgresql <br>
</div><div><div class="gmail_extra"><br></div><div class="gmail_extra">4) User configures PostgreSQL 9.3 data dir, TCP ports in configurations etc.<br> <br></div><div class="gmail_extra">5) User has option to upgrade/transfer data and test new PostgreSQL version<br>
<br></div><div class="gmail_extra">6) User can remove old PostgreSQL 9.2 package and its data directory (or keep it)<br><br><br></div><div class="gmail_extra">As for third party software, we can continue as before, just target the latest major PostgreSQL version. I'll try to email maintainers of all packages with postgres tag before new major PostgreSQL version, so we can have our cake and eat it too.<br>
<br><br></div><div class="gmail_extra">Best regards,<br>Adis<br></div></div></div></div>