Re: Moving other hex functions to /common

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Moving other hex functions to /common
Дата
Msg-id 20210114025534.GB15178@momjian.us
обсуждение исходный текст
Ответ на Re: Moving other hex functions to /common  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Moving other hex functions to /common  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Jan 14, 2021 at 11:17:40AM +0900, Michael Paquier wrote:
> 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.

Thanks.  All my key management regression tests pass on top of your
applied patch.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Moving other hex functions to /common
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Executing inet_server_addr/port() in parallel workers