Re: Index / Performance issues

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: Index / Performance issues
Дата
Msg-id Pine.LNX.4.33.0303100954280.14220-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: Index / Performance issues  (Greg Stark <gsstark@mit.edu>)
Ответы Re: Index / Performance issues
Список pgsql-performance
On 7 Mar 2003, Greg Stark wrote:

>
>
> "scott.marlowe" <scott.marlowe@ihs.com> writes:
>
> > select * from table where 8bitintfield='123456789';
>
> Or:
>
> select * from table where 8bitintfield=123456789::int8
>
>
> I'm not sure which is aesthetically more pleasing.

The cast is self documenting, so it's probably a better choice for most
setups.  On the other hand, it's not as likely to be portable.


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: OIDs as keys
Следующее
От: "Scott Buchan"
Дата:
Сообщение: Large difference between elapsed time and run time for queries