Re: Extracting fields from 'infinity'::TIMESTAMP[TZ]

From: Vik Fearing <vik(at)2ndquadrant(dot)fr>
To: Vitaly Burovoy <vitaly(dot)burovoy(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extracting fields from 'infinity'::TIMESTAMP[TZ]
Date: 2016-01-21 13:42:23
Message-ID: 56A0E03F.70404@2ndquadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 01/05/2016 09:07 AM, Vitaly Burovoy wrote:
> On 1/4/16, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:
>> It seems we got majority approval on the design of this patch, and no
>> disagreement; the last submitted version appears to implement that.
>> There's no documentation change in the patch though. I'm marking it as
>> Waiting on Author; please resubmit with necessary doc changes.
>
> Thank you!
> Version 3 of the patch with touched documentation in the attachment.
>
> I decided to mark it as a note, because that separation
> (monotonic/oscillation fields) is not obvious and for most values the
> function "extract" works as expected (e.g. does not give an error)
> until special values are (casually?) passed.

I have reviewed this patch. It applies and compiles cleanly and
implements the behavior reached by consensus.

The documentation is a little light, but I don't see what else needs to
be said.

The code is clean and well commented. All extraction options are supported.

Regression tests are present and seemingly complete.

I looked around for other places where this code should be used and
didn't find any. I am marking this patch Ready for Committer.
--
Vik Fearing +33 6 46 75 15 36
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2016-01-21 13:48:23 Re: postgres_fdw join pushdown (was Re: Custom/Foreign-Join-APIs)
Previous Message Ashutosh Bapat 2016-01-21 13:36:24 Re: postgres_fdw join pushdown (was Re: Custom/Foreign-Join-APIs)