aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/option.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-05-08 21:58:57 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-05-08 21:58:57 +0300
commit179cdd098196338880bdbb39c39a788abdad4dd8 (patch)
treeba94b277b326f1599d2835f0fe50b791016dd532 /contrib/postgres_fdw/option.c
parent16c73e773bc5f2eee6a71c5ec311b8691bf9e832 (diff)
downloadpostgresql-179cdd098196338880bdbb39c39a788abdad4dd8.tar.gz
postgresql-179cdd098196338880bdbb39c39a788abdad4dd8.zip
Add macros to check if a filename is a WAL segment or other such file.
We had many instances of the strlen + strspn combination to check for that. This makes the code a bit easier to read.
Diffstat (limited to 'contrib/postgres_fdw/option.c')
0 files changed, 0 insertions, 0 deletions