diff options
author | Alvaro Herrera | 2013-02-22 01:46:17 +0000 |
---|---|---|
committer | Alvaro Herrera | 2013-02-22 01:46:17 +0000 |
commit | a73018392636ce832b09b5c31f6ad1f18a4643ea (patch) | |
tree | 45ff73dc25699e9156147948e7f4ba2a85961a33 /src/backend/commands/tablespace.c | |
parent | 6e3fd964632e95c7359457b7d67aa20c72a71679 (diff) |
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.
Diffstat (limited to 'src/backend/commands/tablespace.c')
-rw-r--r-- | src/backend/commands/tablespace.c | 1 |
1 files changed, 1 insertions, 0 deletions
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" |