Where Is pgAdmin3 Installed?

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sat Sep 22 08:40:45 UTC 2018


On Sat, 22 Sep 2018 at 10:27, Mike Crawford wrote:
>
> > > MacPorts doesn't have psql.
> >
> > Yes it does.
>
> No it doesn't.
>
> I've got postgresql10 installed, but it didn't come with psql,

There is a binary
    /opt/local/bin/psql10
and if you run
    sudo port select --set postgresql postgresql10
you'll have a working "psql" symlink to that binary.

> nor is psql a package in MacPorts.

This is never the correct criterium. You don't get a separate package
for each binary. It's pretty common to have multiple binaries in the
same package. (But yes, I admit that I often miss "MacPorts, please
tell me in which package I can find file X.")

> There is a question about psql and MacPorts on StackOverflow which
> suggests getting it from homebrew.

It would help to link to the question (and answer) rather than just
referring to "someone somewhere on the internet said it cannot be
done".
Installing Linux to get psql running is an equally legitimate
suggestion, but it doesn't mean that you cannot run it on MacPorts,
and in any case it doesn't mean that each StackOverflow answer is
correct or optimal.

Mojca


More information about the macports-users mailing list