summaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorHeikki Linnakangas2015-05-08 18:58:57 +0000
committerHeikki Linnakangas2015-05-08 18:58:57 +0000
commit179cdd098196338880bdbb39c39a788abdad4dd8 (patch)
treeba94b277b326f1599d2835f0fe50b791016dd532 /src/include/postgres.h
parent16c73e773bc5f2eee6a71c5ec311b8691bf9e832 (diff)
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 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions