From a73018392636ce832b09b5c31f6ad1f18a4643ea Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 21 Feb 2013 22:46:17 -0300 Subject: Move relpath() to libpgcommon This enables non-backend code, such as pg_xlogdump, to use it easily. The previous location, in src/backend/catalog/catalog.c, made that essentially impossible because that file depends on many backend-only facilities; so this needs to live separately. --- src/backend/storage/buffer/localbuf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/storage/buffer/localbuf.c') diff --git a/src/backend/storage/buffer/localbuf.c b/src/backend/storage/buffer/localbuf.c index df15789e6a6..30dc8098ed2 100644 --- a/src/backend/storage/buffer/localbuf.c +++ b/src/backend/storage/buffer/localbuf.c @@ -16,6 +16,7 @@ #include "postgres.h" #include "catalog/catalog.h" +#include "common/relpath.h" #include "executor/instrument.h" #include "storage/buf_internals.h" #include "storage/bufmgr.h" -- cgit v1.2.3