Re: some SCRAM read_any_attr() confusion

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: some SCRAM read_any_attr() confusion
Date: 2019-08-21 07:18:50
Message-ID: 1d869d12-0543-f817-e955-b614f9112354@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-08-17 14:57, Michael Paquier wrote:
> On Sat, Aug 17, 2019 at 10:11:27AM +0200, Peter Eisentraut wrote:
>> I was a bit confused by some of the comments around the SCRAM function
>> read_any_attr(), used to skip over extensions.
>>
>> The comment "Returns NULL if there is attribute.", besides being
>> strangely worded, appears to be wrong anyway, because the function never
>> returns NULL.
>
> This may have come from an incorrect merge with a past version when
> this code has been developed. +1 for me for your suggestions and your
> patch.

committed

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2019-08-21 07:23:50 Re: ICU for global collation
Previous Message Michael Paquier 2019-08-21 07:12:24 Re: Add "password_protocol" connection parameter to libpq