1234567891011121314151617181920 |
- $OpenBSD: patch-sql_pgq_triggers_stringutil_c,v 1.1 2016/12/18 18:21:40 jeremy Exp $
- Fix build on PostgreSQL 9.6, patch taken from
- https://github.com/markokr/skytools/pull/56
- --- sql/pgq/triggers/stringutil.c.orig Tue Nov 1 04:28:50 2016
- +++ sql/pgq/triggers/stringutil.c Tue Nov 1 04:28:53 2016
- @@ -19,7 +19,11 @@
- #include <postgres.h>
- #include <lib/stringinfo.h>
- #include <mb/pg_wchar.h>
- +#if PG_VERSION_NUM >= 90600
- +#include <common/keywords.h>
- +#else
- #include <parser/keywords.h>
- +#endif
- #include <utils/memutils.h>
-
- #include "stringutil.h"
|