Re: How to use index in WHERE int = float

Поиск
Список
Период
Сортировка
От Andrus
Тема Re: How to use index in WHERE int = float
Дата
Msg-id get5hp$1o7e$1@news.hub.org
обсуждение исходный текст
Ответ на Re: How to use index in WHERE int = float  (Sam Mason <sam@samason.me.uk>)
Ответы Re: How to use index in WHERE int = float  (Sam Mason <sam@samason.me.uk>)
Список pgsql-general
> PG 8.3 would
> even throw it out, unless dokumnr was explicitly cast to a float8 as
> well.

I tried in 8.3

create temp table dok ( dokumnr serial primary key );
select * from dok where dokumnr='1'::float8

and this run without error.

So i do'nt understand how 8.3 throws out.

Andrus.


В списке pgsql-general по дате отправления:

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: How to use index in WHERE int = float
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Storage location of temporary files