pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql-redislog Don't depend on TRUE/FAL...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cc2cb746890d
branches: trunk
changeset: 345840:cc2cb746890d
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Dec 19 22:11:27 2019 +0000
description:
Don't depend on TRUE/FALSE, they are gone in newer PostgreSQL.
diffstat:
databases/postgresql-redislog/distinfo | 3 +-
databases/postgresql-redislog/patches/patch-redislog.c | 33 ++++++++++++++++++
2 files changed, 35 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r 49fadd377aca -r cc2cb746890d databases/postgresql-redislog/distinfo
--- a/databases/postgresql-redislog/distinfo Thu Dec 19 22:10:35 2019 +0000
+++ b/databases/postgresql-redislog/distinfo Thu Dec 19 22:11:27 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/11/10 15:07:02 fhajny Exp $
+$NetBSD: distinfo,v 1.2 2019/12/19 22:11:27 joerg Exp $
SHA1 (redislog-0.2.tar.gz) = 080c1327996f3ff36416e6efe4481af005e49b00
RMD160 (redislog-0.2.tar.gz) = 6bbba7d732dc22ff4bef50c830afb654941e91e4
SHA512 (redislog-0.2.tar.gz) = 8e6c93147e95f69340ccb20965294a83411ada685cd75ba4a7a0be9380298f93f627f07acd8744b4ea65f3d905dba772b68e495ded3836e3a850ffbaec146553
Size (redislog-0.2.tar.gz) = 11684 bytes
+SHA1 (patch-redislog.c) = 0fe6ff78e30b6ef9c2a85b62092d796decb82732
diff -r 49fadd377aca -r cc2cb746890d databases/postgresql-redislog/patches/patch-redislog.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql-redislog/patches/patch-redislog.c Thu Dec 19 22:11:27 2019 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-redislog.c,v 1.1 2019/12/19 22:11:27 joerg Exp $
+
+--- redislog.c.orig 2019-12-19 19:52:09.231017694 +0000
++++ redislog.c
+@@ -65,8 +65,8 @@ int Redislog_timeout = 1000;
+ char *Redislog_key = NULL;
+ int Redislog_min_error_statement = ERROR;
+ int Redislog_min_messages = WARNING;
+-bool Redislog_ship_to_redis_only = TRUE;
+-bool Redislog_shuffle_hosts = TRUE;
++bool Redislog_ship_to_redis_only = true;
++bool Redislog_shuffle_hosts = true;
+ char *Redislog_fields = NULL;
+
+ static MemoryContext redislog_cfg_memory_context;
+@@ -1353,7 +1353,7 @@ _PG_init(void)
+ "in case no Redis service is available. "
+ "By default it is set to false.",
+ &Redislog_ship_to_redis_only,
+- FALSE,
++ false,
+ PGC_SUSET,
+ GUC_NOT_IN_SAMPLE,
+ NULL,
+@@ -1365,7 +1365,7 @@ _PG_init(void)
+ "Shuffle the list of available Redis server in order to"
+ "balance events servers",
+ &Redislog_shuffle_hosts,
+- TRUE,
++ true,
+ PGC_SUSET,
+ GUC_NOT_IN_SAMPLE,
+ NULL,
Home |
Main Index |
Thread Index |
Old Index