pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Clean up some SCRAM attribute processing
Date: Wed, 21 Aug 2019 07:18:17 +0000
Message-ID: <E1i0Ksr-0001Nz-Cy@gemulon.postgresql.org> (raw)

Clean up some SCRAM attribute processing

Correct the comment for read_any_attr().  Give a clearer error message
when parsing at the end of the string, when the client-final-message
does not contain a "p" attribute (for some reason).

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/2fb8a15b-de35-682d-a77b-edcc9c52fa12%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/db1f28917bac5e008dcb2653a54e73d2d0571e06

Modified Files
--------------
src/backend/libpq/auth-scram.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)



Message-ID: <E1i0Ksr-0001Nz-Cy@gemulon.postgresql.org>
Permalink:  ../E1i0Ksr-0001Nz-Cy@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1i0Ksr-0001Nz-Cy@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Clean up some SCRAM attribute processing
  In-Reply-To: <E1i0Ksr-0001Nz-Cy@gemulon.postgresql.org>
  References: <E1i0Ksr-0001Nz-Cy@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox