Re: Trouble with pg_dumpall import with 7.2

Поиск
Список
Период
Сортировка
От Masaru Sugawara
Тема Re: Trouble with pg_dumpall import with 7.2
Дата
Msg-id 20020222021424.943C.RK73@echna.ne.jp
обсуждение исходный текст
Ответ на Re: Trouble with pg_dumpall import with 7.2  ("Rod Taylor" <rbt@zort.ca>)
Список 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 по дате отправления:

Предыдущее
От: Marc Lavergne
Дата:
Сообщение: Re: MySQL/InnoDB benchmarks
Следующее
От: Tom Lane
Дата:
Сообщение: \connect case-folding change maybe not such a good idea