Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 903398 Details for
Bug 916327
app-eselect/eselect-postgresql: wrongly reports "Clients only"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for incorrect "Clients Only" label
0001-Fix-clients-only-check-for-PostgreSQL-16-and-later.patch (text/plain), 1.31 KB, created by
Torbjörn Lönnemark
on 2024-09-20 00:21:19 UTC
(
hide
)
Description:
Fix for incorrect "Clients Only" label
Filename:
MIME Type:
Creator:
Torbjörn Lönnemark
Created:
2024-09-20 00:21:19 UTC
Size:
1.31 KB
patch
obsolete
>From c13873516468ea639c6c505a67bb5e61c0a3d099 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Torbj=C3=B6rn=20L=C3=B6nnemark?= <tobbez@ryara.net> >Date: Fri, 20 Sep 2024 02:09:27 +0200 >Subject: [PATCH] Fix clients-only check for PostgreSQL 16 and later >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The "postmaster" name for the server binary was deprecated with >the release of PostgreSQL 8.2. > >The compatibility symlink from "postmaster" to "postgres" was finally >removed in PostgreSQL 16, causing eselect to incorrectly label >installations built with the "server" use flag as "Clients Only". > >Update the check to look for the "postgres" binary instead of >"postmaster". > >Bug: https://bugs.gentoo.org/916327 >Signed-off-by: Torbjörn Lönnemark <tobbez@ryara.net> >--- > postgresql.eselect | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/postgresql.eselect b/postgresql.eselect >index 4283ee9..df78c69 100644 >--- a/postgresql.eselect >+++ b/postgresql.eselect >@@ -142,7 +142,7 @@ do_list() { > > # Unless a file exists that's controlled by the 'server' use flag, > # report that it's client only. >- [[ -e "${bindir}/postmaster" ]] || provider+=' (Clients Only)' >+ [[ -e "${bindir}/postgres" ]] || provider+=' (Clients Only)' > > case "${slot}" in > "$(active_slot)" ) >-- >2.46.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 916327
: 903398