Re: [PATCH] Add crc32(text) & crc32(bytea)

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Subject: Re: [PATCH] Add crc32(text) & crc32(bytea)
Date: 2024-08-07 10:19:19
Message-ID: CAJ7c6TPyMttFZFtHp7Lb97gTV5ytSRyeE8AgZeb7ayo34qnSgg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> 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.

OK, here is the corrected patch v4.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v4-0001-Add-crc32-bytea-crc32c-bytea.patch application/octet-stream 6.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2024-08-07 10:22:13 Re: pgsql: Introduce hash_search_with_hash_value() function
Previous Message Pavel Stehule 2024-08-07 10:02:52 Re: pgsql: Introduce hash_search_with_hash_value() function