Re: best way to fetch next/prev record based on index
В списке pgsql-performance по дате отправления:
| От | Greg Stark |
|---|---|
| Тема | Re: best way to fetch next/prev record based on index |
| Дата | |
| Msg-id | 876587spxw.fsf@stark.xeocode.com обсуждение исходный текст |
| Ответ на | Re: best way to fetch next/prev record based on index (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: best way to fetch next/prev record based on index
|
| Список | pgsql-performance |
Tom Lane <tgl@sss.pgh.pa.us> writes: > One thing I did not like about your first pass is that it makes > unsupportable assumptions about there being a semantic relationship > between operators named, say, '<' and '<='. Hm, I think I even had caught that issue on the mailing list previously. In that case though, it seems even the existing code is insufficient. Instead of testing whether the operator with strcmp against "=" and "<>" it should perhaps be looking for an operator class and the strategy number for the operator and its negator. -- greg
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера