Install this version:
emerge -a =dev-db/pg-safeupdate-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-db/pg-safeupdate-9999
Or alternatively:
emerge --autounmask-write -a =dev-db/pg-safeupdate-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
POSTGRES_COMPAT=( {14..18} )
inherit git-r3 postgres-multi
DESCRIPTION="PostgreSQL extension that requires criteria for UPDATE and DELETE"
HOMEPAGE="https://github.com/eradman/pg-safeupdate"
EGIT_REPO_URI="https://github.com/eradman/${PN}.git"
LICENSE="ISC"
SLOT="0"
RESTRICT="test" # tests needs ephemeralpg
RDEPEND="${POSTGRES_DEP}"
DEPEND="${RDEPEND}"
src_prepare() {
# fix install
sed -i '/^PG_CONFIG/d' Makefile || die "sed failed"
postgres-multi_src_prepare
}