Re: Extracting fields from 'infinity'::TIMESTAMP[TZ] - Mailing list pgsql-hackers

From Torsten Zühlsdorff
Subject Re: Extracting fields from 'infinity'::TIMESTAMP[TZ]
Date
Msg-id 564CAA26.8010703@toco-domains.de
Whole thread Raw
In response to Re: Extracting fields from 'infinity'::TIMESTAMP[TZ]  (Vitaly Burovoy <vitaly.burovoy@gmail.com>)
List pgsql-hackers
On 17.11.2015 09:09, Vitaly Burovoy wrote:

> I suppose behavior of monotonic values (julian, century, decade,
> isoyear, millennium and year) should be the same as for epoch (which
> obviously also monotonic value).
> Proposed patch has that behavior: +/-infinity for epoch, julian,
> century, decade, isoyear, millennium and year; NULL for other fields.

This works for me.

Greetings,
Torsten



pgsql-hackers by date:

Previous
From: Erik Rijkers
Date:
Subject: Re: Re: In-core regression tests for replication, cascading, archiving, PITR, etc.
Next
From: Catalin Iacob
Date:
Subject: Re: proposal: multiple psql option -c