On Sunday 21 December 2008 23:45:33 Hilco Wijbenga wrote: > I want to install PostgreSQL but I'm wondering which package to use. > The obvious choice (dev-db/postgresql) installs 8.2.7 but > dev-db/postgresql-server installs 8.3.5. (I see they even use the same > tarball.) Is postgresql-server is the proper way going forward?
Yes. postgresql-server is not something new, it's a new way of packaging an existing product. It's like the monolithic/split KDE ebuilds, the new split postgresql packages make the dev's life easier, and make it possible for you to make more modular choices about what you want support for. Plus, the old packages only go as far a version 8.3.1 Only the new packages are supported after that version > What about virtual/postgresql-server? Should I prefer that over > dev-db/postgresql-server? If you emerge the virtual you will get the default method for your platform, whatever that is > Why do we even have a virtual? I thought they were for adding a > service if you don't care which specific package supplies it. You have two packages supplying the same thing - monolithic postgresql and split postgresql. Your system does not care which ebuild you ran to get postgresql, as long as you have one. This is no different to any other virtual, besides the fact that the source tarball is the same one for both. -- alan dot mckinnon at gmail dot com