diff --git a/configure b/configure
index ad127abac278f328e13025249d1cc06479cab0d8..897b69eab9afcb0eafa3f9445d341015f8bcbd2c 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for PostgreSQL 9.5.9.
+# Generated by GNU Autoconf 2.69 for PostgreSQL 9.5.10.
 #
 # Report bugs to <pgsql-bugs@postgresql.org>.
 #
@@ -582,8 +582,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='PostgreSQL'
 PACKAGE_TARNAME='postgresql'
-PACKAGE_VERSION='9.5.9'
-PACKAGE_STRING='PostgreSQL 9.5.9'
+PACKAGE_VERSION='9.5.10'
+PACKAGE_STRING='PostgreSQL 9.5.10'
 PACKAGE_BUGREPORT='pgsql-bugs@postgresql.org'
 PACKAGE_URL=''
 
@@ -1396,7 +1396,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures PostgreSQL 9.5.9 to adapt to many kinds of systems.
+\`configure' configures PostgreSQL 9.5.10 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1461,7 +1461,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of PostgreSQL 9.5.9:";;
+     short | recursive ) echo "Configuration of PostgreSQL 9.5.10:";;
    esac
   cat <<\_ACEOF
 
@@ -1611,7 +1611,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-PostgreSQL configure 9.5.9
+PostgreSQL configure 9.5.10
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2322,7 +2322,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by PostgreSQL $as_me 9.5.9, which was
+It was created by PostgreSQL $as_me 9.5.10, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -16214,7 +16214,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by PostgreSQL $as_me 9.5.9, which was
+This file was extended by PostgreSQL $as_me 9.5.10, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -16284,7 +16284,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-PostgreSQL config.status 9.5.9
+PostgreSQL config.status 9.5.10
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff --git a/configure.in b/configure.in
index 70983762d0c9756ee728f7413c453055a14f3e8c..72d8f7cd9c659d9daedf4b173350b2dfbb399f88 100644
--- a/configure.in
+++ b/configure.in
@@ -17,7 +17,7 @@ dnl Read the Autoconf manual for details.
 dnl
 m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
 
-AC_INIT([PostgreSQL], [9.5.9], [pgsql-bugs@postgresql.org])
+AC_INIT([PostgreSQL], [9.5.10], [pgsql-bugs@postgresql.org])
 
 m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
 Untested combinations of 'autoconf' and PostgreSQL versions are not
diff --git a/doc/bug.template b/doc/bug.template
index 9085f088c2cb8efd19772d765a798a76bde048cb..c8b260cfed37a7434d473a1ab171e05107ff114e 100644
--- a/doc/bug.template
+++ b/doc/bug.template
@@ -27,7 +27,7 @@ System Configuration:
 
   Operating System (example: Linux 2.4.18)	:
 
-  PostgreSQL version (example: PostgreSQL 9.5.9):  PostgreSQL 9.5.9
+  PostgreSQL version (example: PostgreSQL 9.5.10):  PostgreSQL 9.5.10
 
   Compiler used (example: gcc 3.3.5)		:
 
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32
index 508608ed365231a4dea17fae62e9bf0f6ad31724..13b35d0afa20404630f705d505e8b5c7bdd81a74 100644
--- a/src/include/pg_config.h.win32
+++ b/src/include/pg_config.h.win32
@@ -560,10 +560,10 @@
 #define PACKAGE_NAME "PostgreSQL"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "PostgreSQL 9.5.9"
+#define PACKAGE_STRING "PostgreSQL 9.5.10"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "9.5.9"
+#define PACKAGE_VERSION "9.5.10"
 
 /* Define to the name of a signed 128-bit integer type. */
 #undef PG_INT128_TYPE
@@ -572,10 +572,10 @@
 #define PG_INT64_TYPE long long int
 
 /* PostgreSQL version as a string */
-#define PG_VERSION "9.5.9"
+#define PG_VERSION "9.5.10"
 
 /* PostgreSQL version as a number */
-#define PG_VERSION_NUM 90509
+#define PG_VERSION_NUM 90510
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "postgresql"
diff --git a/src/interfaces/libpq/libpq.rc.in b/src/interfaces/libpq/libpq.rc.in
index 8b7ab3b8ca852b3fa33faea746a614659a501802..1b8cdae7c82ea892a081ad46610e67e9ccd5c90b 100644
--- a/src/interfaces/libpq/libpq.rc.in
+++ b/src/interfaces/libpq/libpq.rc.in
@@ -1,8 +1,8 @@
 #include <winver.h>
 
 VS_VERSION_INFO VERSIONINFO
- FILEVERSION 9,5,9,0
- PRODUCTVERSION 9,5,9,0
+ FILEVERSION 9,5,10,0
+ PRODUCTVERSION 9,5,10,0
  FILEFLAGSMASK 0x3fL
  FILEFLAGS 0
  FILEOS VOS__WINDOWS32
@@ -15,13 +15,13 @@ BEGIN
         BEGIN
             VALUE "CompanyName", "\0"
             VALUE "FileDescription", "PostgreSQL Access Library\0"
-            VALUE "FileVersion", "9.5.9\0"
+            VALUE "FileVersion", "9.5.10\0"
             VALUE "InternalName", "libpq\0"
             VALUE "LegalCopyright", "Copyright (C) 2015\0"
             VALUE "LegalTrademarks", "\0"
             VALUE "OriginalFilename", "libpq.dll\0"
             VALUE "ProductName", "PostgreSQL\0"
-            VALUE "ProductVersion", "9.5.9\0"
+            VALUE "ProductVersion", "9.5.10\0"
         END
     END
     BLOCK "VarFileInfo"
diff --git a/src/port/win32ver.rc b/src/port/win32ver.rc
index bfc4f17be8b2cd23cce6edcb1e4e7e4d9b3f569b..3ec547dc6a6682d9a221fb0df6f7310f8312e1e6 100644
--- a/src/port/win32ver.rc
+++ b/src/port/win32ver.rc
@@ -2,8 +2,8 @@
 #include "pg_config.h"
 
 VS_VERSION_INFO VERSIONINFO
- FILEVERSION    9,5,9,0
- PRODUCTVERSION 9,5,9,0
+ FILEVERSION    9,5,10,0
+ PRODUCTVERSION 9,5,10,0
  FILEFLAGSMASK  0x17L
  FILEFLAGS      0x0L
  FILEOS         VOS_NT_WINDOWS32