Opened 12 years ago
Closed 12 years ago
#35537 closed defect (fixed)
postgresql_select @ 0.1 - problem with symlinks in postgresql92
Reported by: | tony.theodore@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | mww@…, jyrkiwahlstedt, daniel@… | |
Port: | postgresql92 postgresql_select |
Description
Hello,
After selecting the 9.2 version of postgresql with:
sudo port select --set postgresql postgresql92
the symlinks created in /opt/local/bin seem to be thrown out of sequence from pg_config onwards:
$ ls -l /opt/local/bin/ | grep postgresql92 [...] ecpg -> /opt/local/lib/postgresql92/bin/ecpg initdb -> /opt/local/lib/postgresql92/bin/initdb pg_config -> /opt/local/lib/postgresql92/bin/pg_basebackup pg_controldata -> /opt/local/lib/postgresql92/bin/pg_config pg_ctl -> /opt/local/lib/postgresql92/bin/pg_controldata pg_dump -> /opt/local/lib/postgresql92/bin/pg_ctl pg_dumpall -> /opt/local/lib/postgresql92/bin/pg_dump pg_resetxlog -> /opt/local/lib/postgresql92/bin/pg_dumpall pg_restore -> /opt/local/lib/postgresql92/bin/pg_receivexlog postgres -> /opt/local/lib/postgresql92/bin/pg_resetxlog postmaster -> /opt/local/lib/postgresql92/bin/pg_restore psql -> /opt/local/lib/postgresql92/bin/postgres psql92 -> /opt/local/lib/postgresql92/bin/psql reindexdb -> /opt/local/lib/postgresql92/bin/postmaster vacuumdb -> /opt/local/lib/postgresql92/bin/psql vacuumlo -> /opt/local/lib/postgresql92/bin/reindexdb
Adding the two new binaries (pg_basebackup and pg_receivexlog) to
.../ports/databases/postgresql_select/files/base
fixes this for 9.2, but I'm not sure how it would affect earlier versions.
Cheers,
Tony
Change History (3)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mww@… jwa@… added |
---|
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | daniel@… added |
---|
comment:3 Changed 12 years ago by jmroot (Joshua Root)
Port: | postgresql92 added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in r97393. For the new files to be linked, they would have to be added to the base file in postgresql_select, and all the other postgresql* ports would have to indicate they do not provide them by listing "-" as the link targets.
Note: See
TracTickets for help on using
tickets.
Has duplicate #35878.