]> granicus.if.org Git - postgresql/commit
Remove pg_control's enableIntTimes field.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Feb 2017 17:23:12 +0000 (12:23 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Feb 2017 17:23:12 +0000 (12:23 -0500)
commitd28aafb6dda326688e2f042c95c93ea57963c03c
tree530fb08d5f3250b541996e0aa21930fa4684d07a
parentb6aa17e0ae367afdcea07118e016111af4fa6bc3
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
doc/src/sgml/func.sgml
src/backend/access/transam/xlog.c
src/backend/utils/misc/pg_controldata.c
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_resetwal/pg_resetwal.c
src/include/catalog/catversion.h
src/include/catalog/pg_control.h
src/include/catalog/pg_proc.h