Re: pgsql 'prefix'

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: pgsql 'prefix'
Дата
Msg-id 330B79B9-69ED-48DE-8254-0BBB97FE13A6@hi-media.com
обсуждение исходный текст
Ответ на Re: How is the right query for this condition ?  (Harald Fuchs <hari.fuchs@gmail.com>)
Список pgsql-general
Hi,

Le 23 nov. 2009 à 17:04, Harald Fuchs a écrit :
> SELECT id, record
> FROM myrecords
> WHERE record @> '127'
> ORDER BY length(record::text) DESC
> LIMIT 1;

In prefix 1.0.0 you can say ORDER BY length(record) DESC directly...
--
Dimitri Fontaine
PostgreSQL DBA, Architecte


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

Предыдущее
От: "Jean-Yves F. Barbier"
Дата:
Сообщение: Re: limiting resources to users
Следующее
От: Postgres User
Дата:
Сообщение: Postgres database performance on 6 core Opteron vs 4 core Xeon