| От | Nathan Bossart |
|---|---|
| Тема | Re: [PATCH] Add crc32(text) & crc32(bytea) |
| Дата | |
| Msg-id | ZrJW_0CVXRgXjNkv@nathan обсуждение исходный текст |
| Ответ на | Re: [PATCH] Add crc32(text) & crc32(bytea) (Aleksander Alekseev <aleksander@timescale.com>) |
| Ответы |
Re: [PATCH] Add crc32(text) & crc32(bytea)
|
| Список | pgsql-hackers |
On Tue, Aug 06, 2024 at 11:04:41AM +0300, Aleksander Alekseev wrote: > Perhaps we need get_int4() / get_int8() / get_numeric() as there seems > to be a demand [1][2] and it will allow us to easily cast a `bytea` > value to `integer` or `bigint`. This is probably another topic though. Yeah, I was surprised to learn there wasn't yet an easy way to do this. I'm not sure how much of a factor this should play in deciding the return value for the CRC functions, but IMHO it's a reason to reconsider returning text as you originally proposed. -- nathan
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера