pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/postgresql-redislog



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Dec 19 22:11:28 UTC 2019

Modified Files:
        pkgsrc/databases/postgresql-redislog: distinfo
Added Files:
        pkgsrc/databases/postgresql-redislog/patches: patch-redislog.c

Log Message:
Don't depend on TRUE/FALSE, they are gone in newer PostgreSQL.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql-redislog/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/postgresql-redislog/patches/patch-redislog.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/postgresql-redislog/distinfo
diff -u pkgsrc/databases/postgresql-redislog/distinfo:1.1 pkgsrc/databases/postgresql-redislog/distinfo:1.2
--- pkgsrc/databases/postgresql-redislog/distinfo:1.1   Fri Nov 10 15:07:02 2017
+++ pkgsrc/databases/postgresql-redislog/distinfo       Thu Dec 19 22:11:27 2019
@@ -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

Added files:

Index: pkgsrc/databases/postgresql-redislog/patches/patch-redislog.c
diff -u /dev/null pkgsrc/databases/postgresql-redislog/patches/patch-redislog.c:1.1
--- /dev/null   Thu Dec 19 22:11:28 2019
+++ pkgsrc/databases/postgresql-redislog/patches/patch-redislog.c       Thu Dec 19 22:11:27 2019
@@ -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