rempgr: don't link to backend functions

The intent was to avoid maintaining duplicate code, but this approach
makes it difficult to build Debian packages (see GitHub #261).

As the functions in question are quite compact and unlikely to change,
we'll just use the adapted versions provided for 9.5 and earlier.
This commit is contained in:
Ian Barwick
2017-01-04 16:51:27 +09:00
parent 175ee8acfc
commit 5deb6c8ce4
2 changed files with 6 additions and 16 deletions

View File

@@ -62,13 +62,7 @@
#include "check_dir.h"
#include "strutil.h"
#include "version.h"
#if (PG_VERSION_NUM < 90600)
#include "compat.h"
#else
#include "fe_utils/string_utils.h"
#include "postgres_fe.h"
#endif
#ifndef RECOVERY_COMMAND_FILE
#define RECOVERY_COMMAND_FILE "recovery.conf"