Opened 19 months ago

#67398 assigned defect

postgresql_select confusing symbolic links for postgresql95 and less

Reported by: MacTrophy Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: postgresql_select postgresql95

Description

Similar to this ticket https://trac.macports.org/ticket/36128, postgresql_select is mixing up the symbolic links it create for postgresql95

This is the content of /opt/local/bin

pg_amcheck -> /opt/local/lib/postgresql95/bin/pg_archivecleanup
pg_archivecleanup -> /opt/local/lib/postgresql95/bin/pg_basebackup
pg_checksums -> /opt/local/lib/postgresql95/bin/pg_config
pg_config -> /opt/local/lib/postgresql95/bin/pg_controldata
pg_controldata -> /opt/local/lib/postgresql95/bin/pg_ctl
pg_ctl -> /opt/local/lib/postgresql95/bin/pg_dump
pg_dump -> /opt/local/lib/postgresql95/bin/pg_dumpall
pg_dumpall -> /opt/local/lib/postgresql95/bin/pg_isready
pg_receivewal -> /opt/local/lib/postgresql95/bin/pg_receivexlog
pg_resetwal -> /opt/local/lib/postgresql95/bin/pg_resetxlog
pg_resetxlog -> /opt/local/lib/postgresql95/bin/pg_restore
pg_rewind -> /opt/local/lib/postgresql95/bin/pg_standby
pg_standby -> /opt/local/lib/postgresql95/bin/pg_test_fsync
pg_test_fsync -> /opt/local/lib/postgresql95/bin/pg_test_timing
pg_test_timing -> /opt/local/lib/postgresql95/bin/pg_upgrade
pg_verifybackup -> /opt/local/lib/postgresql95/bin/pg_xlogdump
pg_waldump -> /opt/local/lib/postgresql95/bin/pgbench
pg_xlogdump -> /opt/local/lib/postgresql95/bin/postgres
pgbench -> /opt/local/lib/postgresql95/bin/postmaster

If I understood correctly the problem stems from missing lines in this file: https://github.com/macports/macports-ports/blob/master/databases/postgresql95/files/postgresql95 where there should be 41 lines to match https://github.com/macports/macports-ports/blob/master/databases/postgresql_select/files/base

This problem seems to apply to earlier versions as well, those files also seem to be missing some lines:

8.3, 8.2, 8.1 and 8.0 are different I suppose postgresql_select doesn't work at all for them.

Change History (0)

Note: See TracTickets for help on using tickets.