Don't use BLCKSZ for the physical length of the pg_control file, but
Tom Lane <tgl@sss.pgh.pa.us>
Don't use BLCKSZ for the physical length of the pg_control file, but instead a dedicated symbol. This probably makes no functional difference for likely values of BLCKSZ, but it makes the intent clearer. Simon Riggs, minor editorialization by Tom Lane.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +11 −12 |
| src/bin/pg_resetxlog/pg_resetxlog.c | modified | +13 −13 |
| src/include/catalog/pg_control.h | modified | +10 −1 |