[MacPorts] #35537: postgresql_select @ 0.1 - problem with symlinks in postgresql92

MacPorts noreply at macports.org
Sat Aug 4 22:49:43 PDT 2012


#35537: postgresql_select @ 0.1 - problem with symlinks in postgresql92
-------------------------------------+--------------------------------------
 Reporter:  tony.theodore@…          |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  2.1.2                                
 Keywords:                           |        Port:  postgresql_select                    
-------------------------------------+--------------------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/35537>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list