Re: [HACKERS] Something for the TODO list: deprecating abstime and friends

2018-09-28 Thread Tom Lane
Andres Freund writes: > Here's a refreshed version of this patch. First patch removes > contrib/spi/timetravel, second patch removes abstime, reltime, tinterval > together with timeofday(). I'd kind of like to keep timeofday(); it's the only simple way to get a time display that includes "native

Re: [HACKERS] Something for the TODO list: deprecating abstime and friends

2017-12-17 Thread David Fetter
On Wed, Dec 13, 2017 at 12:05:06AM -0800, Andres Freund wrote: > On 2017-07-15 18:00:34 -0400, Tom Lane wrote: > > * contrib/spi/timetravel depends on abstime columns to represent what > > would nowadays be better done as a tstzrange. I'd have thought we > > could maybe toss that example module ov

Re: [HACKERS] Something for the TODO list: deprecating abstime and friends

2017-12-13 Thread Mark Dilger
> On Dec 13, 2017, at 12:07 AM, Andres Freund wrote: > > Hi, > > On 2017-07-17 12:54:31 -0700, Mark Dilger wrote: >> These types provide a 4-byte datatype for storing real-world second >> precision timestamps, as occur in many log files. > > These seem to be getting less common IME, most produ

Re: [HACKERS] Something for the TODO list: deprecating abstime and friends

2017-12-13 Thread Andres Freund
Hi, On 2017-07-17 12:54:31 -0700, Mark Dilger wrote: > These types provide a 4-byte datatype for storing real-world second > precision timestamps, as occur in many log files. These seem to be getting less common IME, most products have higher resolution these days. If this were nicely written, m