Re: Moving other hex functions to /common
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Sehrope Sarkuni <sehrope@jackdb.com>
Cc: Bruce Momjian <bruce@momjian.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-01-14T02:17:40Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Rework refactoring of hex and encoding routines
- aef8948f38d9 14.0 landed
On Wed, Jan 13, 2021 at 10:00:49AM -0500, Sehrope Sarkuni wrote: > The length functions in src/common/hex.c should cast srclen to uint64 prior > to the shift. The current hex_enc_len(...) in encode.c performs such a > cast. Thanks, Sehrope. I have reviewed the code this morning and fixed that, adjusted a couple of elog() strings I found inconsistent after review and ran pgindent. And applied it. -- Michael