Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: BUG #15182: Canceling authentication due to timeout aka Denialof Service Attack - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: BUG #15182: Canceling authentication due to timeout aka Denialof Service Attack
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: BUG #15182: Canceling authentication due to timeout aka Denial ofService Attack  ("Bossart, Nathan" <[email protected]>)
Responses Re: BUG #15182: Canceling authentication due to timeout aka Denial ofService Attack
List pgsql-hackers
On Thu, Jul 26, 2018 at 03:06:59PM +0000, Bossart, Nathan wrote:
> I took a look at 0001.

Thanks for the lookup.  0003 is the most simple in the set by the way.

> On 7/26/18, 12:24 AM, "Michael Paquier" <[email protected]> wrote:
> -    myrelid = RelationGetRelid(rel);
> +    myrelid = RangeVarGetRelidExtended(rv, AccessExclusiveLock,
> +        false, RangeVarCallbackForTruncate, NULL);
>
> Should the flags argument be 0 instead of false?

Yes, those should be 0.  All patches are missing that.  It does not have
a bad consequence on the patch, still that's incorrect.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: why doesn't pg_create_logical_replication_slot throw an error if theencoder doesn't exist
Next
From: Tom Lane
Date:
Subject: Re: How can we submit code patches that implement our (pending) patents?