diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4faeb503..a38ef15a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -2,7 +2,7 @@ License and Contributions
=========================
`repmgr` is licensed under the GPL v3. All of its code and documentation is
-Copyright 2010-2017, 2ndQuadrant Limited. See the files COPYRIGHT and LICENSE for
+Copyright 2010-2018, 2ndQuadrant Limited. See the files COPYRIGHT and LICENSE for
details.
The development of repmgr has primarily been sponsored by 2ndQuadrant customers.
diff --git a/COPYRIGHT b/COPYRIGHT
index 431c7a5c..0809391d 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,4 +1,4 @@
-Copyright (c) 2010-2017, 2ndQuadrant Limited
+Copyright (c) 2010-2018, 2ndQuadrant Limited
All rights reserved.
This program is free software: you can redistribute it and/or modify
diff --git a/compat.c b/compat.c
index 2f56ced9..d3f6ea8a 100644
--- a/compat.c
+++ b/compat.c
@@ -6,7 +6,7 @@
* supported PostgreSQL versions. They're unlikely to change but
* it would be worth keeping an eye on them for any fixes/improvements.
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
diff --git a/compat.h b/compat.h
index e5984b17..557f3815 100644
--- a/compat.h
+++ b/compat.h
@@ -1,6 +1,6 @@
/*
* compat.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
diff --git a/configfile.c b/configfile.c
index 8c02d640..bfab0f2a 100644
--- a/configfile.c
+++ b/configfile.c
@@ -1,7 +1,7 @@
/*
* config.c - parse repmgr.conf and other configuration-related functionality
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/configfile.h b/configfile.h
index 59185b76..df47b42f 100644
--- a/configfile.h
+++ b/configfile.h
@@ -1,7 +1,7 @@
/*
* configfile.h
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
*
* This program is free software: you can redistribute it and/or modify
diff --git a/configure b/configure
index e9daa5f5..c05a93ab 100755
--- a/configure
+++ b/configure
@@ -11,7 +11,7 @@
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
#
-# Copyright (c) 2010-2017, 2ndQuadrant Ltd.
+# Copyright (c) 2010-2018, 2ndQuadrant Ltd.
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##
@@ -1326,7 +1326,7 @@ Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
-Copyright (c) 2010-2017, 2ndQuadrant Ltd.
+Copyright (c) 2010-2018, 2ndQuadrant Ltd.
_ACEOF
exit
fi
diff --git a/configure.in b/configure.in
index 5edd413c..a32a78d1 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
AC_INIT([repmgr], [4.0.1], [pgsql-bugs@postgresql.org], [repmgr], [https://2ndquadrant.com/en/resources/repmgr/])
-AC_COPYRIGHT([Copyright (c) 2010-2017, 2ndQuadrant Ltd.])
+AC_COPYRIGHT([Copyright (c) 2010-2018, 2ndQuadrant Ltd.])
AC_CONFIG_HEADER(config.h)
diff --git a/controldata.c b/controldata.c
index 3061d42b..7bc7cfa4 100644
--- a/controldata.c
+++ b/controldata.c
@@ -1,6 +1,6 @@
/*
* controldata.c
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
diff --git a/controldata.h b/controldata.h
index 70c9d9db..53a0e61a 100644
--- a/controldata.h
+++ b/controldata.h
@@ -1,6 +1,6 @@
/*
* controldata.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
diff --git a/dbutils.c b/dbutils.c
index 2354a997..28bc622d 100644
--- a/dbutils.c
+++ b/dbutils.c
@@ -1,7 +1,7 @@
/*
* dbutils.c - Database connection/management functions
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
*
* This program is free software: you can redistribute it and/or modify
diff --git a/dbutils.h b/dbutils.h
index 2997957d..bd815790 100644
--- a/dbutils.h
+++ b/dbutils.h
@@ -1,7 +1,7 @@
/*
* dbutils.h
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/dirutil.c b/dirutil.c
index a6a627e2..b694eb0c 100644
--- a/dirutil.c
+++ b/dirutil.c
@@ -3,7 +3,7 @@
* dirmod.c
* directory handling functions
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/dirutil.h b/dirutil.h
index 21ae7261..49af540b 100644
--- a/dirutil.h
+++ b/dirutil.h
@@ -1,6 +1,6 @@
/*
* dirutil.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/doc/legal.sgml b/doc/legal.sgml
index 8d7baeea..690ababf 100644
--- a/doc/legal.sgml
+++ b/doc/legal.sgml
@@ -3,7 +3,7 @@
2017
- 2010-2017
+ 2010-2018
2ndQuadrant, Ltd.
@@ -11,7 +11,7 @@
Legal Notice
- repmgr is Copyright © 2010-2017
+ repmgr is Copyright © 2010-2018
by 2ndQuadrant, Ltd. All rights reserved.
diff --git a/errcode.h b/errcode.h
index e29e8c21..98dc715e 100644
--- a/errcode.h
+++ b/errcode.h
@@ -1,6 +1,6 @@
/*
* errcode.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/log.c b/log.c
index 143cd46d..a5afe072 100644
--- a/log.c
+++ b/log.c
@@ -1,6 +1,6 @@
/*
* log.c - Logging methods
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/log.h b/log.h
index b10a29e7..7a6ca9bb 100644
--- a/log.h
+++ b/log.h
@@ -1,6 +1,6 @@
/*
* log.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-bdr.c b/repmgr-action-bdr.c
index 54af880c..f3fe1260 100644
--- a/repmgr-action-bdr.c
+++ b/repmgr-action-bdr.c
@@ -3,7 +3,7 @@
*
* Implements BDR-related actions for the repmgr command line utility
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-bdr.h b/repmgr-action-bdr.h
index 860bfa78..c8761736 100644
--- a/repmgr-action-bdr.h
+++ b/repmgr-action-bdr.h
@@ -1,6 +1,6 @@
/*
* repmgr-action-bdr.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-cluster.c b/repmgr-action-cluster.c
index 2a9e7944..5f5e27ee 100644
--- a/repmgr-action-cluster.c
+++ b/repmgr-action-cluster.c
@@ -3,7 +3,7 @@
*
* Implements cluster information actions for the repmgr command line utility
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-cluster.h b/repmgr-action-cluster.h
index 07a7195b..e75f9a1b 100644
--- a/repmgr-action-cluster.h
+++ b/repmgr-action-cluster.h
@@ -1,6 +1,6 @@
/*
* repmgr-action-cluster.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-node.c b/repmgr-action-node.c
index 64958cc8..58fa924e 100644
--- a/repmgr-action-node.c
+++ b/repmgr-action-node.c
@@ -3,7 +3,7 @@
*
* Implements actions available for any kind of node
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-node.h b/repmgr-action-node.h
index 2ffabca1..968e9d84 100644
--- a/repmgr-action-node.h
+++ b/repmgr-action-node.h
@@ -1,6 +1,6 @@
/*
* repmgr-action-node.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-primary.c b/repmgr-action-primary.c
index 91b22436..84d106db 100644
--- a/repmgr-action-primary.c
+++ b/repmgr-action-primary.c
@@ -3,7 +3,7 @@
*
* Implements primary actions for the repmgr command line utility
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-primary.h b/repmgr-action-primary.h
index 5686e09c..c7431bc1 100644
--- a/repmgr-action-primary.h
+++ b/repmgr-action-primary.h
@@ -1,6 +1,6 @@
/*
* repmgr-action-primary.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c
index bc9f7b96..9b5cac24 100644
--- a/repmgr-action-standby.c
+++ b/repmgr-action-standby.c
@@ -3,7 +3,7 @@
*
* Implements standby actions for the repmgr command line utility
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-standby.h b/repmgr-action-standby.h
index 9c4d62b1..a15c2091 100644
--- a/repmgr-action-standby.h
+++ b/repmgr-action-standby.h
@@ -1,6 +1,6 @@
/*
* repmgr-action-standby.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-witness.c b/repmgr-action-witness.c
index af424d02..e32aaefe 100644
--- a/repmgr-action-witness.c
+++ b/repmgr-action-witness.c
@@ -3,7 +3,7 @@
*
* Implements witness actions for the repmgr command line utility
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-action-witness.h b/repmgr-action-witness.h
index 5ca94bad..ed04e35d 100644
--- a/repmgr-action-witness.h
+++ b/repmgr-action-witness.h
@@ -1,6 +1,6 @@
/*
* repmgr-action-witness.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-client-global.h b/repmgr-client-global.h
index 5ff186cd..276bfc14 100644
--- a/repmgr-client-global.h
+++ b/repmgr-client-global.h
@@ -1,6 +1,6 @@
/*
* repmgr-client-global.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr-client.c b/repmgr-client.c
index 008ab5a6..a4a787e7 100644
--- a/repmgr-client.c
+++ b/repmgr-client.c
@@ -1,7 +1,7 @@
/*
* repmgr-client.c - Command interpreter for the repmgr package
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This module is a command-line utility to easily setup a cluster of
* hot standby servers for an HA environment
diff --git a/repmgr-client.h b/repmgr-client.h
index c0cc7d12..21f1bbdd 100644
--- a/repmgr-client.h
+++ b/repmgr-client.h
@@ -1,6 +1,6 @@
/*
* repmgr-client.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgr.c b/repmgr.c
index 33063977..f975e138 100644
--- a/repmgr.c
+++ b/repmgr.c
@@ -1,7 +1,7 @@
/*
* repmgr.c - repmgr extension
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This is the actual extension code; see repmgr-client.c for the code which
* generates the repmgr binary
diff --git a/repmgr.h b/repmgr.h
index 4b9987df..0bb41ecf 100644
--- a/repmgr.h
+++ b/repmgr.h
@@ -1,6 +1,6 @@
/*
* repmgr.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgrd-bdr.c b/repmgrd-bdr.c
index 25006fe2..7cebaf0b 100644
--- a/repmgrd-bdr.c
+++ b/repmgrd-bdr.c
@@ -1,7 +1,7 @@
/*
* repmgrd-bdr.c - BDR functionality for repmgrd
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgrd-bdr.h b/repmgrd-bdr.h
index c891fc83..64aaedc0 100644
--- a/repmgrd-bdr.h
+++ b/repmgrd-bdr.h
@@ -1,6 +1,6 @@
/*
* repmgrd-bdr.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgrd-physical.c b/repmgrd-physical.c
index a7617f8e..19cc9c27 100644
--- a/repmgrd-physical.c
+++ b/repmgrd-physical.c
@@ -1,7 +1,7 @@
/*
* repmgrd-physical.c - physical replication functionality for repmgrd
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgrd-physical.h b/repmgrd-physical.h
index a20060d2..391170b3 100644
--- a/repmgrd-physical.h
+++ b/repmgrd-physical.h
@@ -1,6 +1,6 @@
/*
* repmgrd-physical.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgrd.c b/repmgrd.c
index b9407fb2..d01a10cf 100644
--- a/repmgrd.c
+++ b/repmgrd.c
@@ -1,7 +1,7 @@
/*
* repmgrd.c - Replication manager daemon
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/repmgrd.h b/repmgrd.h
index f62ab83d..df132be6 100644
--- a/repmgrd.h
+++ b/repmgrd.h
@@ -1,6 +1,6 @@
/*
* repmgrd.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*/
diff --git a/strutil.c b/strutil.c
index dbd978a6..fdfefc76 100644
--- a/strutil.c
+++ b/strutil.c
@@ -1,7 +1,7 @@
/*
* strutil.c
*
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/strutil.h b/strutil.h
index 19faffd7..547f8b1f 100644
--- a/strutil.h
+++ b/strutil.h
@@ -1,6 +1,6 @@
/*
* strutil.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/voting.h b/voting.h
index 8cd0505e..f3602224 100644
--- a/voting.h
+++ b/voting.h
@@ -1,6 +1,6 @@
/*
* voting.h
- * Copyright (c) 2ndQuadrant, 2010-2017
+ * Copyright (c) 2ndQuadrant, 2010-2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by