Re: Can we get sha* function over text, that could be used in index?
Peter J. Holzer <hjp-pgsql@hjp.at>
From: "Peter J. Holzer" <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Date: 2026-02-21T12:40:55Z
Lists: pgsql-general
On 2026-02-19 23:30:17 +0100, Peter J. Holzer wrote:
> Something like
> encode(s text, enc text) -> bytea
> decode(d bytea, enc text) -> text
> might be generally useful.
Please ignore this email. These are basically the same as convert_to()
and convert_from() which already exist.
hjp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"