Re: bug? incorrect return type from extract

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: bug? incorrect return type from extract
Date: 2003-07-28 05:49:13
Message-ID: 27250.1059371353@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz> writes:
> Is correct so extract(day from current_date) return double?

extract(anything) returns double.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message LitelWang 2003-07-28 07:56:54 Can postgres supports Chinese GB18030?
Previous Message Tom Lane 2003-07-28 05:40:50 Re: Can't Build 7.3.4 on OS X