This commit is contained in:
2025-06-16 11:40:21 +02:00
parent 6dab8b2f18
commit fd4655d957
5 changed files with 521 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- lenses/pg_hba.aug.orig 2016-12-23 12:13:13 UTC
+++ lenses/pg_hba.aug
@@ -81,6 +81,7 @@ module Pg_Hba =
(* View: filter
The pg_hba.conf conf file *)
let filter = (incl "/var/lib/pgsql/data/pg_hba.conf" .
+ incl "/usr/local/pgsql/data/pg_hba.conf" .
incl "/var/lib/pgsql/*/data/pg_hba.conf" .
incl "/var/lib/postgresql/*/data/pg_hba.conf" .
incl "/etc/postgresql/*/*/pg_hba.conf" )

View File

@ -0,0 +1,10 @@
--- lenses/postgresql.aug.orig 2016-12-23 12:13:09 UTC
+++ lenses/postgresql.aug
@@ -70,6 +70,7 @@ let lns = (Util.empty | Util.comment | e
(* Variable: filter *)
let filter = (incl "/var/lib/pgsql/data/postgresql.conf" .
+ incl "/usr/local/pgsql/data/postgresql.conf" .
incl "/var/lib/pgsql/*/data/postgresql.conf" .
incl "/var/lib/postgresql/*/data/postgresql.conf" .
incl "/etc/postgresql/*/*/postgresql.conf" )

View File

@ -0,0 +1,11 @@
--- src/internal.c.orig 2018-08-10 20:17:35 UTC
+++ src/internal.c
@@ -431,7 +431,7 @@ const char *xstrerror(int errnum, char *buf, size_t le
const char *xstrerror(int errnum, char *buf, size_t len) {
#ifdef HAVE_STRERROR_R
-# ifdef __USE_GNU
+# if defined(__USE_GNU) && defined(__GLIBC__)
/* Annoying linux specific API contract */
return strerror_r(errnum, buf, len);
# else