Re: Trouble with pg_dumpall import with 7.2

From: Masaru Sugawara <rk73(at)echna(dot)ne(dot)jp>
To: "Rod Taylor" <rbt(at)zort(dot)ca>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Trouble with pg_dumpall import with 7.2
Date: 2002-02-21 17:37:21
Message-ID: 20020222021424.943C.RK73@echna.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 20 Feb 2002 13:49:21 -0500
"Rod Taylor" <rbt(at)zort(dot)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 a
date()/cast() directly". It seemed ambiguous.

Regards,
Masaru Sugawara

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-02-21 17:45:07 \connect case-folding change maybe not such a good idea
Previous Message Marc Lavergne 2002-02-21 17:00:16 Re: MySQL/InnoDB benchmarks