Skip site navigation (1) Skip section navigation (2)

Re: BUG #4739: strange behavior of EXTRACT(quarter from INTERVAL)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Roman Kononov" <kononov(at)ftml(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4739: strange behavior of EXTRACT(quarter from INTERVAL)
Date: 2009-03-28 16:34:02
Message-ID: 18439.1238258042@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Roman Kononov" <kononov(at)ftml(dot)net> writes:
> Description:        strange behavior of EXTRACT(quarter from INTERVAL)

Somehow I can't get excited about the definition of EXTRACT(quarter)
for zero or negative intervals.  If you have an actual use-case for
this, what do you think it should do?

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Roman KononovDate: 2009-03-28 16:52:21
Subject: Re: BUG #4739: strange behavior of EXTRACT(quarter from INTERVAL)
Previous:From: Roman KononovDate: 2009-03-28 05:33:36
Subject: BUG #4739: strange behavior of EXTRACT(quarter from INTERVAL)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group