Description: Support PostgreSQL-9.5
 This patch makes the one source code line that is different between the
 PostgreSQL-9.5 and PostgreSQL-9.6 versions of the pgaudit extension
 version-dependent via a preprocessor directive.
Author: Michael Banck <mbanck@debian.org>
Origin: other
Bug: https://github.com/pgaudit/pgaudit/issues/22
Forwarded: no
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2017-03-31

Index: pgaudit/pgaudit.c
===================================================================
--- pgaudit.orig/pgaudit.c
+++ pgaudit/pgaudit.c
@@ -39,6 +39,10 @@
 #include "utils/timestamp.h"
 #include "utils/varlena.h"
 
+#if (PG_VERSION_NUM >= 90500 && PG_VERSION_NUM < 90600)
+#define LOG_SERVER_ONLY COMMERROR
+#endif
+
 PG_MODULE_MAGIC;
 
 void _PG_init(void);
