[MacPorts] #67398: postgresql_select confusing symbolic links for postgresql95 and less

MacPorts noreply at macports.org
Tue May 9 11:46:08 UTC 2023


#67398: postgresql_select confusing symbolic links for postgresql95 and less
-----------------------+--------------------------------------------
 Reporter:  MacTrophy  |      Owner:  jyrkiwahlstedt
     Type:  defect     |     Status:  assigned
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.1
 Keywords:             |       Port:  postgresql_select postgresql95
-----------------------+--------------------------------------------
 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:
 - https://github.com/macports/macports-
 ports/blob/master/databases/postgresql94/files/postgresql94
 - https://github.com/macports/macports-
 ports/blob/master/databases/postgresql93/files/postgresql93
 - https://github.com/macports/macports-
 ports/blob/master/databases/postgresql92/files/postgresql92
 - https://github.com/macports/macports-
 ports/blob/master/databases/postgresql91/files/postgresql91
 - https://github.com/macports/macports-
 ports/blob/master/databases/postgresql90/files/postgresql90
 - https://github.com/macports/macports-
 ports/blob/master/databases/postgresql84/files/postgresql84

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

-- 
Ticket URL: <https://trac.macports.org/ticket/67398>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list