]> granicus.if.org Git - postgresql/commit
Move relpath() to libpgcommon
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Feb 2013 01:46:17 +0000 (22:46 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Feb 2013 01:46:17 +0000 (22:46 -0300)
commita73018392636ce832b09b5c31f6ad1f18a4643ea
tree45ff73dc25699e9156147948e7f4ba2a85961a33
parent6e3fd964632e95c7359457b7d67aa20c72a71679
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.
19 files changed:
src/backend/Makefile
src/backend/access/rmgrdesc/smgrdesc.c
src/backend/access/rmgrdesc/xactdesc.c
src/backend/access/transam/xlogutils.c
src/backend/catalog/catalog.c
src/backend/commands/tablespace.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/localbuf.c
src/backend/storage/file/fd.c
src/backend/storage/file/reinit.c
src/backend/storage/smgr/md.c
src/backend/utils/adt/dbsize.c
src/backend/utils/adt/misc.c
src/backend/utils/cache/relcache.c
src/common/Makefile
src/common/relpath.c [new file with mode: 0644]
src/include/catalog/catalog.h
src/include/common/relpath.h [new file with mode: 0644]
src/tools/msvc/Mkvcbuild.pm