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-07-26 09:01:40
Message-ID: CAJ7c6TOfiX_tG3zSNOsgNcjfwYy5rFr=21i9gG9u2qqQOcG-rA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> This sounds generally reasonable to me, especially given the apparent
> demand. Should we also introduce crc32c() while we're at it?

Might be a good idea. However I didn't see a demand for crc32c() SQL
function yet. Also I'm not sure whether the best interface for it
would be crc32c() or crc32(x, version='c') or perhaps crc32(x,
polinomial=...). I propose keeping the scope small this time.

--
Best regards,
Aleksander Alekseev

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-07-26 09:07:25 Re: consider -Wmissing-variable-declarations
Previous Message Li, Yong 2024-07-26 08:57:42 Re: Make COPY format extendable: Extract COPY TO format implementations