| От | Glen Eustace |
|---|---|
| Тема | Re: Wht the SEQ Scan ? |
| Дата | |
| Msg-id | 1032049787.22255.14.camel@agree-6 обсуждение исходный текст |
| Ответ на | Re: Wht the SEQ Scan ? (Stephan Szabo <sszabo@megazone23.bigpanda.com>) |
| Список | pgsql-general |
On Sun, 2002-09-15 at 12:20, Stephan Szabo wrote: > The one in this case is probably the smallint/bigint problem with > constants being converted to int4 when unquoted. > Try client='10143' or client=CAST(10143 as smallint) in the where > clauses instead of client=10143 and see if that gives you usage of the > index. Brilliant, got it in one. Thanks. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Glen and Rosanne Eustace, GodZone Internet Services, a division of AGRE Enterprises Ltd., P.O. Box 8020, Palmerston North, New Zealand 5301 Ph/Fax: +64 6 357 8168, Mob: +64 21 424 015
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера