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/file/fd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/storage/file/fd.c') diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index ff7e221cde9..ba1b84eadef 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -71,6 +71,7 @@ #include "access/xact.h" #include "catalog/catalog.h" #include "catalog/pg_tablespace.h" +#include "common/relpath.h" #include "pgstat.h" #include "storage/fd.h" #include "storage/ipc.h" -- cgit v1.2.3