diff options
author | Fujii Masao <fujii@postgresql.org> | 2015-07-02 10:35:38 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2015-07-02 10:35:38 +0900 |
commit | fb174687f7a730edcf301949785a6ac0dbfd70d0 (patch) | |
tree | aeacb3bcf839aefba61500c8fee43e6fb38627a0 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 1e24cf645d24aab3ea39a9d259897fd0cae4e4b6 (diff) | |
download | postgresql-fb174687f7a730edcf301949785a6ac0dbfd70d0.tar.gz postgresql-fb174687f7a730edcf301949785a6ac0dbfd70d0.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 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions