Re: [PoC] Let libpq reject unexpected authentication requests

From: Jacob Champion <jchampion(at)timescale(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Subject: Re: [PoC] Let libpq reject unexpected authentication requests
Date: 2023-03-10 23:16:20
Message-ID: CAAWbhmgNoAp2gfdzrH0BmYbmsMo-k4FjN2OAhtLm0VjaS_9=Cg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 10, 2023 at 3:09 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> >> + reason = libpq_gettext("server did not complete authentication"),
> >> -+ result = false;
> >> ++ result = false;
> >> + }
> >
> > This reindentation looks odd.
>
> That's because the previous line has a comma. So the reindent is
> right, not the code.

Whoops. :(

> Could you send a new patch with all these adjustments? That would
> help a lot.

Will do!

Thanks,
--Jacob

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2023-03-11 00:00:19 Re: postgres_fdw, dblink, and CREATE SUBSCRIPTION security
Previous Message Melanie Plageman 2023-03-10 23:11:23 Re: Should vacuum process config file reload more often