Tidy up XLogSource code in xlog.c.

Fujii Masao <fujii@postgresql.org>

Commit: 71e0d0a73773b3985db658d3c5366ce5ceef76ae
Author: Fujii Masao <fujii@postgresql.org>
Date: 2020-03-10T00:41:44Z
Releases: 13.0
Tidy up XLogSource code in xlog.c.

This commit replaces 0 used as an initial value of XLogSource variable,
with XLOG_FROM_ANY. Also this commit changes those variable so that
XLogSource instead of int is used as the type for them. These changes
are for code readability and debugger-friendliness.

Author: Kyotaro Horiguchi
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/20200227.124830.2197604521555566121.horikyota.ntt@gmail.com

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +13 −13

Discussion