Remove pg_control's enableIntTimes field.
Tom Lane <tgl@sss.pgh.pa.us>
Remove pg_control's enableIntTimes field. We don't need it any more. pg_controldata continues to report that date/time type storage is "64-bit integers", but that's now a hard-wired behavior not something it sees in the data. This avoids breaking pg_upgrade, and perhaps other utilities that inspect pg_control this way. Ditto for pg_resetwal. I chose to remove the "bigint_timestamps" output column of pg_control_init(), though, as that function hasn't been around long and probably doesn't have ossified users. Discussion: https://postgr.es/m/26788.1487455319@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +0 −5 |
| src/backend/access/transam/xlog.c | modified | +0 −21 |
| src/backend/utils/misc/pg_controldata.c | modified | +9 −14 |
| src/bin/pg_controldata/pg_controldata.c | modified | +2 −1 |
| src/bin/pg_resetwal/pg_resetwal.c | modified | +2 −6 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_control.h | modified | +1 −4 |
| src/include/catalog/pg_proc.h | modified | +1 −1 |
Documentation touched
Discussion
- Replication vs. float timestamps is a disaster 33 messages · 2017-02-18 → 2017-09-07