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

From: Torsten Zühlsdorff <mailinglists(at)toco-domains(dot)de>
To: Vitaly Burovoy <vitaly(dot)burovoy(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extracting fields from 'infinity'::TIMESTAMP[TZ]
Date: 2015-11-18 16:41:10
Message-ID: 564CAA26.8010703@toco-domains.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Catalin Iacob 2015-11-18 16:49:22 Re: proposal: multiple psql option -c
Previous Message Erik Rijkers 2015-11-18 16:07:56 Re: Re: In-core regression tests for replication, cascading, archiving, PITR, etc.