Re: date_part function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Burski <John(dot)Burski(at)911ep(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: date_part function
Date: 2000-12-29 20:53:38
Message-ID: 22789.978123218@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

John Burski <John(dot)Burski(at)911ep(dot)com> writes:
> I submitted the following query:
> select date_part('dow', timestamp 'now');
> and received the following results:
> ERROR: Function 'date_part(text, timestamp)' does not exist
> Unable to identify a function which satisfies the given
> argument types
> You will have to retype your query using explicit typecasts

Odd. It works fine for me. What do you get from psql's "\df date_part"?

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message John Burski 2000-12-29 21:56:58 Re: date_part function
Previous Message David Merrill 2000-12-29 20:12:43 UUID generation