Re: [PATCH] Pull general SASL framework out of SCRAM

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: [PATCH] Pull general SASL framework out of SCRAM
Дата
Msg-id 83053b47978225c7fdb72a0d9b23755fbd40d4db.camel@vmware.com
обсуждение исходный текст
Ответ на Re: [PATCH] Pull general SASL framework out of SCRAM  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: [PATCH] Pull general SASL framework out of SCRAM
Список pgsql-hackers
On Sun, 2021-07-11 at 13:16 +0900, Michael Paquier wrote:
> On Fri, Jul 09, 2021 at 11:31:48PM +0000, Jacob Champion wrote:
> > On Thu, 2021-07-08 at 16:27 +0900, Michael Paquier wrote:
> > > +     *    outputlen: The length (0 or higher) of the client response buffer,
> > > +     *               invalid if output is NULL.
> > 
> > nitpick: maybe "ignored" instead of "invalid"?
> 
> Thanks, applied as 44bd012 after using your suggestion.

Thanks!

> Another thing I noticed after more review is that the check in
> fe-auth.c to make sure that a message needs to be generated if the
> exchange is not completed yet has no need to depend on "success", only
> "done".

Ah, right. I think the (!done && !success) case is probably indicative
of an API smell, but that's probably something to clean up in a future
pass.

--Jacob

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: enable_resultcache confusion
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Fix comments of heap_prune_chain()