Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 916327

Summary: app-eselect/eselect-postgresql: wrongly reports "Clients only"
Product: Gentoo Linux Reporter: fariouche <fariouche>
Component: Current packagesAssignee: Aaron W. Swenson <titanofold>
Status: CONFIRMED ---    
Severity: normal CC: hyedad, kaikaikai, ostroffjh, pgsql-bugs, sean-gentoo, titanofold
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description fariouche 2023-10-27 09:59:23 UTC
Since (at least) version 16 of postgresql, postmaster does not exist.
This makes the eselect report this:
Available PostgreSQL Slots
  14                        14.9
  16 *                      16.0 (Clients Only)

This is a minor bug as it seem to be display only
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-27 12:21:55 UTC
I imagine this is because USE=server was dropped.
Comment 2 Karl Hakimian 2023-11-17 13:24:12 UTC
This same thing is happening to me. Looks like eselect is looking for postmaster in the bin directory which in earlier releases was a link pointing to postgres. No such link exists in 16.
Comment 3 Aaron W. Swenson gentoo-dev 2024-02-28 03:21:02 UTC
(In reply to Karl Hakimian from comment #2)
> This same thing is happening to me. Looks like eselect is looking for
> postmaster in the bin directory which in earlier releases was a link
> pointing to postgres. No such link exists in 16.

You nailed it.

Much longer time ago it wasn't a symlink. It just wasn't thought about until now.