aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2015-07-02 10:35:38 +0900
committerFujii Masao <fujii@postgresql.org>2015-07-02 10:36:18 +0900
commit163e29dc380137127cf7e9c23b1596b78ad0ce81 (patch)
tree584dfda34f9d7d23dab4f3074fe7c08fefd016a6 /src/backend/utils/adt/xml.c
parentcd7030ff085f5c378e837b392cb719cf23df9d0b (diff)
downloadpostgresql-163e29dc380137127cf7e9c23b1596b78ad0ce81.tar.gz
postgresql-163e29dc380137127cf7e9c23b1596b78ad0ce81.zip
Make use of xlog_internal.h's macros in WAL-related utilities.
Commit 179cdd09 added macros to check if a filename is a WAL segment or other such file. However there were still some instances of the strlen + strspn combination to check for that in WAL-related utilities like pg_archivecleanup. Those checks can be replaced with the macros. This patch makes use of the macros in those utilities and which would make the code a bit easier to read. Back-patch to 9.5. Michael Paquier
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions