Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (Postfix) with ESMTP id 2FA87475F33 for ; Wed, 27 Mar 2002 12:43:06 -0500 (EST) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id BD272D600; Wed, 27 Mar 2002 09:43:08 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id B2CE25C01; Wed, 27 Mar 2002 09:43:08 -0800 (PST) Date: Wed, 27 Mar 2002 09:43:08 -0800 (PST) From: Stephan Szabo To: Cc: Subject: Re: timestamp in 7.2 In-Reply-To: <3CA1C15A.29615.58FACD5@localhost> Message-ID: <20020327094218.S38816-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200203/326 X-Sequence-Number: 3860 On Wed, 27 Mar 2002 mark@vestnesis.lv wrote: > Hello all. > > I'v migrated my data to 7.2. > Now I'm testing aplications, but looks like timestamp function in > postgres is broken: > klienti=# select date(now()); > date > ------------ > 2002-03-27 > (1 row) > > klienti=# select timestamp(date(now())); > ERROR: parser: parse error at or near "date" > > I need to make querys with timestamp(date,time); > But timestamp don't work even with sample from manual: > > klienti=# select timestamp(date '1998-02-24',time '23:07'); > ERROR: parser: parse error at or near "date" timestamp is more reserved than before, I believe it'll work as "timestamp"(...). The other form is now for specifying the precision of a timestamp.