git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 16c73e7) | patch
Add macros to check if a filename is a WAL segment or other such file.
Fri, 8 May 2015 18:58:57 +0000 (21:58 +0300)
Fri, 8 May 2015 18:58:57 +0000 (21:58 +0300)
commit 179cdd098196338880bdbb39c39a788abdad4dd8
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.
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/replication/basebackup.c diff | blob | blame | history
src/bin/pg_basebackup/pg_receivexlog.c diff | blob | blame | history
src/bin/pg_resetxlog/pg_resetxlog.c diff | blob | blame | history
src/include/access/xlog_internal.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /