pgsql: Remove timetravel extension.

2018-10-11 Thread Andres Freund
Remove timetravel extension. The extension depended on old types which are about to be removed. As the code additionally was pretty crufty and didn't provide much in the way of functionality, removing the extension seems to be the best way forward. It's fairly trivial to write functionality in pl

pgsql: Remove deprecated abstime, reltime, tinterval datatypes.

2018-10-11 Thread Andres Freund
Remove deprecated abstime, reltime, tinterval datatypes. These types have been deprecated for a *long* time. Catversion bump, for obvious reasons. Author: Andres Freund Discussion: https://postgr.es/m/[email protected] https://postgr.es/m/20171213080506.cw

pgsql: Move timeofday() implementation out of nabstime.c.

2018-10-11 Thread Andres Freund
Move timeofday() implementation out of nabstime.c. nabstime.c is about to be removed, but timeofday() isn't related to the rest of the functionality therein, and some find it useful. Move to timestamp.c. Discussion: https://postgr.es/m/[email protected] htt

Re: pgsql: Remove deprecated abstime, reltime, tinterval datatypes.

2018-10-11 Thread Andrew Dunstan
On 10/11/2018 03:02 PM, Andres Freund wrote: Remove deprecated abstime, reltime, tinterval datatypes. These types have been deprecated for a *long* time. This has broken pg_upgrade from previous versions: pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver

Re: pgsql: Remove deprecated abstime, reltime, tinterval datatypes.

2018-10-11 Thread Andres Freund
On 2018-10-11 16:54:41 -0400, Andrew Dunstan wrote: > > > On 10/11/2018 03:02 PM, Andres Freund wrote: > > Remove deprecated abstime, reltime, tinterval datatypes. > > > > These types have been deprecated for a *long* time. > > > This has broken pg_upgrade from previous versions: > >pg_re

pgsql: Add TAP tests for pg_verify_checksums

2018-10-11 Thread Michael Paquier
Add TAP tests for pg_verify_checksums All options available in the utility get coverage: - Tests with disabled page checksums. - Tests with enabled test checksums. - Emulation of corruption and broken checksums with a full scan and single relfilenode scan. This patch has been contributed mainly b