| От | Tom Lane |
|---|---|
| Тема | Re: Improve the comparison of NUMERIC data |
| Дата | |
| Msg-id | 6936.1131471245@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Improve the comparison of NUMERIC data (Atsushi Ogawa <atsushi.ogawa@gmail.com>) |
| Ответы |
Re: Improve the comparison of NUMERIC data
|
| Список | pgsql-patches |
Atsushi Ogawa <atsushi.ogawa@gmail.com> writes:
> An attached patch enables the comparison of Numeric values without
> executing conversion to NumericVar.
This is likely to be broken entirely by the recent proposals to modify
the on-disk representation of Numeric.
Rather than trying to share code, it'd likely be better to make a
separate routine that can directly compare two values in the packed
(on-disk) representation, and modify the externally-callable entry
points to use that. That way avoids imposing constraints on how
different the packed and unpacked representations can be.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера