[MacPorts] #20810: postgresql_select port request

MacPorts noreply at macports.org
Thu May 12 20:57:39 PDT 2011


#20810: postgresql_select port request
-------------------------------+--------------------------------------------
 Reporter:  apinstein@…        |       Owner:  mww@…            
     Type:  request            |      Status:  new              
 Priority:  Normal             |   Milestone:                   
Component:  ports              |     Version:                   
 Keywords:                     |        Port:  postgresql_select
-------------------------------+--------------------------------------------

Comment(by ryandesign@…):

 Hmm, it hadn't occurred to me that the existence of a system version of
 something would be a criteria for having a _select port for it. My thought
 process was: There are multiple versions of PostgreSQL available in
 MacPorts that can be installed simultaneously. Users want to type "psql"
 to run a particular one of them. (Or perhaps they want to have scripts
 referencing /opt/local/bin/psql.) The solution I was proposing was to be
 able to "port select" one of them to create the appropriate symlink(s).

 I have similar separate ideas for the MySQL and PHP ports, which I will
 bring up on macports-dev later.

 The alternative would be to just tell the user to put
 /opt/local/lib/postgresql83/bin or whatever into their PATH. But then I
 would ask: why do we let users "select" some software packages (like
 Python), and for others (like Apache) we make them modify the PATH?

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


More information about the macports-tickets mailing list