1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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.
This commit is contained in:
Alvaro Herrera
2013-02-21 22:46:17 -03:00
parent 6e3fd96463
commit a730183926
19 changed files with 237 additions and 168 deletions

View File

@ -16,6 +16,7 @@
#include "catalog/catalog.h"
#include "catalog/storage_xlog.h"
#include "common/relpath.h"
void

View File

@ -16,6 +16,7 @@
#include "access/xact.h"
#include "catalog/catalog.h"
#include "common/relpath.h"
#include "storage/sinval.h"
#include "utils/timestamp.h"

View File

@ -20,6 +20,7 @@
#include "access/xlog.h"
#include "access/xlogutils.h"
#include "catalog/catalog.h"
#include "common/relpath.h"
#include "storage/smgr.h"
#include "utils/guc.h"
#include "utils/hsearch.h"