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

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: [HACKERS] Something for the TODO list: deprecating abstime andfriends
Дата
Msg-id
20180928223240.kgwc4czzzekrpsid@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
[HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime andfriends Andres Freund <andres@anarazel.de>
Re: [HACKERS] Something for the TODO list: deprecating abstime andfriends David Fetter <david@fetter.org>
Re: [HACKERS] Something for the TODO list: deprecating abstime andfriends Andres Freund <andres@anarazel.de>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime andfriends Andres Freund <andres@anarazel.de>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime andfriends David Fetter <david@fetter.org>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Greg Stark <stark@mit.edu>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Something for the TODO list: deprecating abstime and friends Robert Haas <robertmhaas@gmail.com>
Hi,

On 2017-12-13 00:05:06 -0800, Andres Freund 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 overboard, but we just today got
> > a question about its usage, so I'm afraid it's not quite dead yet.
> > What shall we do with that?
> 
> Looking at the code I'd be pretty strongly inclined to scrap it.
> 
> 
> Before I'd discovered this thread, I'd started to write up a
> patch. Attached. It's clearly not fully done. Questions I'd while
> hacking things up:
> - what to do with contrib/spi/timetravel - I'd just removed it from the
>   relevant Makefile for now.
> - nabstime.c currently implements timeofday() which imo is a pretty
>   weird function. I'd be quite inclined to remove it at the same time as
>   this.

Here's a refreshed version of this patch.  First patch removes
contrib/spi/timetravel, second patch removes abstime, reltime, tinterval
together with timeofday().

I think we should just go ahead and commit something like this soon.

- Andres
В списке pgsql-hackers по дате отправления
От: Mark Wong
Дата:
От: Andres Freund
Дата:
FAQ