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/commands/tablespace.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/commands') diff --git a/src/backend/commands/tablespace.c b/src/backend/commands/tablespace.c index 9bba75be1a2..7cad0cc969d 100644 --- a/src/backend/commands/tablespace.c +++ b/src/backend/commands/tablespace.c @@ -64,6 +64,7 @@ #include "commands/comment.h" #include "commands/seclabel.h" #include "commands/tablespace.h" +#include "common/relpath.h" #include "miscadmin.h" #include "postmaster/bgwriter.h" #include "storage/fd.h" -- cgit v1.2.3