Opened 10 years ago
Closed 10 years ago
#44440 closed update (invalid)
postgresql94-server @9.4beta2_0 needs upgrade, but binaries go in beta 1 location.
Reported by: | iangow (Ian Gow) | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | postgresql94 |
Description
postgresql94-server @9.4beta2_0 apparently needs an "upgrade" from beta 1:
http://www.postgresql.org/about/news/1533/ "Beta 2 includes changes to pg_control and to the system catalogs. As such, users who have been testing Beta 1 will need to upgrade in order to test Beta 2. We suggest using pg_upgrade for this upgrade in order to test that as well."
But it seems that the beta 2 version overwrites the binaries for the beta 1 version, so (I think) tools like pg_upgrade, which wants the old binaries, don't work. I reverted to beta 1, but I'm not sure how to migrate to beta 2 if Macports puts the beta 2 binaries in the beta 1 location.
Change History (3)
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jwa@… added |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
Port: | postgresql94 added |
Type: | defect → update |
Version: | 2.3.1 |
comment:2 Changed 10 years ago by jyrkiwahlstedt
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Sounds like this is not a bug.
Note: See
TracTickets for help on using
tickets.
The binaries will go to the same location. Then, you should move the bin and data directories to another location (rename them). After the upgrade to beta2 (and init the new cluster), pg_upgrade should work quite well. Read carefully pg_upgrade man page…