Re: Trouble with pg_dumpall import with 7.2 - Mailing list pgsql-hackers

From Masaru Sugawara
Subject Re: Trouble with pg_dumpall import with 7.2
Date
Msg-id 20020222021424.943C.RK73@echna.ne.jp
Whole thread Raw
In response to Re: Trouble with pg_dumpall import with 7.2  ("Rod Taylor" <rbt@zort.ca>)
List pgsql-hackers
On Wed, 20 Feb 2002 13:49:21 -0500
"Rod Taylor" <rbt@zort.ca> wrote:

> Couldn't you simply index on the cast of the timestamp to date?
> 
> create index ix_test on testtable (cast(things as date));
> ERROR:  parser: parse error at or near "cast"
> 
> Evidently not...
 I'm sorry.

>> I would think that you're able to create an index easily like (2), but need to >> inspect the results cautiously.
This means "create an index on an function", not "create an index on adate()/cast() directly".    It seemed ambiguous.



Regards,
Masaru Sugawara



pgsql-hackers by date:

Previous
From: Marc Lavergne
Date:
Subject: Re: MySQL/InnoDB benchmarks
Next
From: Tom Lane
Date:
Subject: \connect case-folding change maybe not such a good idea