Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhqFb-0004hz-IW for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Jul 2018 05:52:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhqFZ-0002gW-92 for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Jul 2018 05:52:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhqFY-0002gJ-UU for pgsql-hackers@lists.postgresql.org; Tue, 24 Jul 2018 05:52:45 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhqFW-0002QI-AY for pgsql-hackers@postgresql.org; Tue, 24 Jul 2018 05:52:43 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id D6649721; Tue, 24 Jul 2018 01:52:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 24 Jul 2018 01:52:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=A1adaOJVyaI3hYTOBcrX7GaKES5YUfv4jJDAd0AqFpc=; b=q4W76f74 5amLsCoEI+9j4B5LTAIMnzKvXiLJr2s/BERueM2M51esGAH8rm5yeDiagi37dPke WOxENkxAAY2Jcq26i4fpOZMErfrgW57DOH4Tw46Lhfq0PSKlJXDt+m3lbw8hr0vl 83f2pC4ANPBWrZ8Kd4zkauHhN63LgiUaUlxmV7GL4p6LK0HlJ8PeR1MESQ5Ucoe9 tzais3uoKq7PTUKtW2ffRLAL+yh+sC35pWqb5DP0H0rIvCD5ei7Wcvj88soaHLIu OoknadTNZld5yG+/mXcdUNxnBsJUhP9dybROrlOcxLjTRjm2mpm1Z6wb0xkYQOWW NaB5JUpsH7rWEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=A1adaOJVyaI3hYTOBcrX7GaKES5YU fv4jJDAd0AqFpc=; b=tHtZ102qLGM6g5iwZ41jzuY10o5disuJyvpRhyEeDPHUT +KP14TWWsgE4Z015K37JtkhHmgeCczOl1fB/cFRWLapo+pEOawAY4SsfTHXzYCjC ppBuSZwqUUMp2NJIyYDRzmc2/Jq7klsdgcYjcF8d+Etdv7vtgulb3rID30zuK/hd dZ3279ZoMKleGhWGDE2m70/PhmIqpt9/KCfvUVmwh+LWO0cW2aWHtgVGiRZWW7wA NGEdK8hnQXnO8H8bbHOFQIiBaRNntYCMzfsSHtwLYlJHFwnj6ENx1nd/g4eNYuIH fdnfJozuq6VX3L/AEZrDuxXXS5hcIiUaNJPhwnu1Q== X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 8EFE7E4445; Tue, 24 Jul 2018 01:52:37 -0400 (EDT) Date: Tue, 24 Jul 2018 14:52:35 +0900 From: Michael Paquier To: Alvaro Herrera Cc: Robert Haas , Jeremy Schneider , PostgreSQL-development , "Albin, Lloyd P" Subject: Re: BUG #15182: Canceling authentication due to timeout aka Denial of Service Attack Message-ID: <20180724055235.GD4736@paquier.xyz> References: <20180724041403.GF4035@paquier.xyz> <20180724053413.lxrl72gvh55eiz3e@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SO98HVl1bnMOfKZd" Content-Disposition: inline In-Reply-To: <20180724053413.lxrl72gvh55eiz3e@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --SO98HVl1bnMOfKZd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 24, 2018 at 01:34:13AM -0400, Alvaro Herrera wrote: > But I don't see why RangeVarCallbackOwnsTable isn't sufficient. The set of relkinds checked by truncate_check_rel and RangeVarCallbackOwnsTable is different (toast and matviews). And in the case of VACUUM, partitioned tables can call RangeVarGetRelidExtended when one is listed as part of a manual VACUUM command. -- Michael --SO98HVl1bnMOfKZd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAltWvqMACgkQnvQgOdby QH1wOw/+MUfTYvxFXzapssP8Nw4iaO3rXdZ8fq6rnjzVy/hQJWuXDRmw6U5rR4/B c/ZDjk7blRw7pqVXgtY+mpOOPL6cyQHgYhQRc2FY78bXGNoqJdbkuRR9KMm4pCdK vI0VRsyJRwssMoWCnEbaapG6YQviRDahc/dVKtTVK2ungONqGuVFMVTJ4eCduFWb aX5Vn737zLFPdF+Xw0hbW1bNjY4t7citXFloV2HAsUshErGTVlEa4DscrQbVckxM jEFxtv+ClI7DKbNQxqtU7nTKqRYvsNcJ2QRfBD763kTEy+Cz12n18ATCZzLgUth7 X9yfUA59tHVMkiz3BaeLwccHCcxKBGN7YvEHHRrILP0johQHNItU6k3/thGnUNEZ jtpE2gJJXNqT3locHqArf5KrDQ+HJTMEZzqGGCBr0VvfaPLOTlpQf5mVsRUlYTnV uMi9cSU2kOWKsFpX0Dq3SLnC31KZJ4u3sasa29gJPPbhZM7K7qKe70XYvV0wK7mG AS0FhVs5H3OjodTqSH2fmsucMvzkR9rDnOSHmEq0pSmVcSIWocXxBNWQm+/nad2T clrtK4m00WuXqgp573Xl0+jajnGR4lyqXSMHRMn+mmKFpv6LPnn49L5smnfjcPRA hJBXnuT758lFu68ICClBlp/9rcMauJWVzRBi8KJBgQydlbyn6is= =Fl/T -----END PGP SIGNATURE----- --SO98HVl1bnMOfKZd--