Re: Bug #656: timestamp function generates parsing errors when used as specified in the documentation - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #656: timestamp function generates parsing errors when used as specified in the documentation
Date
Msg-id 4491.1020404332@sss.pgh.pa.us
Whole thread Raw
In response to Bug #656: timestamp function generates parsing errors when used as specified in the documentation  (pgsql-bugs@postgresql.org)
Responses Re: Bug #656: timestamp function generates parsing errors when
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> See the following session examples using the form given in the documentation.  'select timestamp(now());' fails
similarly.

I'm afraid you've got bit by our continuing pursuit of SQL standard
compliance.  The 7.2 release notes do point out:

Observe the following incompatibilities:
  *  The timestamp() function is no longer available. Use timestamp 'string' instead, or CAST.

but I notice that the last two examples in Table 4-17 "Date/Time Functions"
didn't get fixed.  (AFAICT there are no other places in current
documentation that claim you can do that.)

            regards, tom lane

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #656: timestamp function generates parsing errors when used as specified in the documentation
Next
From: sraimbault@concept-iid.fr
Date:
Subject: Documentation