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

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Aleksander Alekseev <aleksander@timescale.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-08-05T15:28:48Z
Lists: pgsql-hackers
On Mon, Aug 05, 2024 at 04:19:45PM +0300, Aleksander Alekseev wrote:
> Thanks, PFA patch v3.

This looks pretty good to me.  The only point that I think deserves more
discussion is the return type.  Does bytea make the most sense here?  Or
should we consider int/bigint?

-- 
nathan



Commits

  1. Add user-callable CRC functions.

  2. Add user-callable SHA-2 functions