Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXLII-0007bZ-D7 for pgsql-docs@arkaria.postgresql.org; Sat, 09 May 2020 08:57:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jXLIH-0002pN-1e for pgsql-docs@arkaria.postgresql.org; Sat, 09 May 2020 08:57:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXLIG-0002pC-RV; Sat, 09 May 2020 08:57:12 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXLIF-0000z9-3D; Sat, 09 May 2020 08:57:12 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id C79BF6F3; Sat, 9 May 2020 04:57:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 09 May 2020 04:57:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=AfsiMUpw1xi9LgoPeUlK1/QhWpt kR75mPf4See04Eqs=; b=hoiCzq1z8dXtPGMii3bBfbSsSamoX6T8/YJCT3grhkT +nX29ZWaLMvKX1lrYo8kxmi3rQmigaDEk8zMzs655N+XtrMu+NqtMHlUWx5anUhC mr75uXfBlKRpL+yu32GfojkLm2g/MlsvkYpT7pFz3Xec3dH3IIijMDfoi4rwqq0V Au9ooMhHbabFhG9v1W9bf5K6zq6Dtk52+HB64raHgZkElmVO2bkc05920ppPuxu8 vfKOIR3ccBcUV6gZ0+r19XIdOP0rK9S5JBpyLWs9DHWdZ7tvqLYfaYsBv5zKpHA0 n4oZk3gfrbSwnZOaiHYnlJePzpMVdWTTkkT+yFniGUQ== 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-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=AfsiMU pw1xi9LgoPeUlK1/QhWptkR75mPf4See04Eqs=; b=T9GJwataLDPIZiVpHdy/WB g56zLwNNUlmwSuSzG5zvEsCTvznqLF2o1m/O0B/TCJsnwjsoQzPorsuHVKyf/IF8 PeYU4dyraHqi9h7rB2y97XZ8ePrmvwCKs1BsD6WJu4P5x56iFBXTy/GsYNQaiQC2 lSgh3ca1/dhK82M6rcn8dpV4jUYQVSx6c5rOjKhID95csH/JmhEDBSDOxumM5zsz eQRrPv3l4PyHcdnhax78e1GD3SJHVszMqQF6+/s8MDgCyP48p7TubXzm0ZQrEAPA 2OiSmDFLidOkWCwq0cIvU62f3jfs9dLPqN3LQ0EbnP8Yr+k+66qRseXsyTCImoBA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrkeehgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdefhedmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnh epvdegudeuhfdtueeltedtveejheehieevueeigeelteegleejleeiueeiheegvefhnecu kfhppeduuddurddutddvrddukedtrddukeehnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 1527F3066230; Sat, 9 May 2020 04:57:03 -0400 (EDT) Date: Sat, 9 May 2020 17:57:01 +0900 From: Michael Paquier To: Kyotaro Horiguchi Cc: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, sfrost@snowman.net, chris+postgresql@qwirx.com, pgsql-docs@lists.postgresql.org, pgsql-hackers@lists.postgresql.org, peter.eisentraut@2ndquadrant.com Subject: Re: Logical replication subscription owner Message-ID: <20200509085701.GM11539@paquier.xyz> References: <17709.1588908623@sss.pgh.pa.us> <20200508050211.GA6945@alvherre.pgsql> <20200508.150326.909507514141434296.horikyota.ntt@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IpgPcFyQO6wM49Um" Content-Disposition: inline In-Reply-To: <20200508.150326.909507514141434296.horikyota.ntt@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --IpgPcFyQO6wM49Um Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 08, 2020 at 03:03:26PM +0900, Kyotaro Horiguchi wrote: > At Fri, 8 May 2020 01:02:11 -0400, Alvaro Herrera wrote in=20 >> On 2020-May-07, Tom Lane wrote: >>> FWIW, I would argue that LOGIN permits logging in on a regular SQL >>> connection, while REPLICATION should permit logging in on a >>> replication connection, and there's no reason for either to depend on >>> or require the other. >>=20 >> I agree with this. >=20 > I agree, too. Anyway, it is unreasonable that a user is banned for > the lack of replication-attribute after a successful *replication* > login. Not to make the life of everybody more complicated here, but I don't agree. LOGIN and REPLICATION are in my opinion completely orthogonal and it sounds more natural IMO that a REPLICATION user should be able to log into the server only if it has LOGIN defined. -- Michael --IpgPcFyQO6wM49Um Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl62cF0ACgkQnvQgOdby QH2emQ//Z94/jRvJ0Ox5n/41Bjxf9GTtyVVStRu49I3AxJvhYpTWtFtl4DKL4G05 UNJB56jGsif/SYYM+2H0UudhyuSmSeUiUQJyadCxBhh2z8iMAVuAgAfx0pW158xE AoVjyB0oxVRPb2hTZ3y00eO1fnIIionXM5eoGm9l69TRQS3RW0qNFFdYxD5PtJ5o Gy9cqkGVjk3Kjzfg1ryZrC9MSo2FbGcnnxyFBt9tIrAbnoW2waI5Zh9KRrS/+0gT GvMNtAiG90eVeYP5HP6OP7GqphoQbyXIbo80dNufYOd4rVLB1Jimc/F3UqA2Qw61 BCPOxmkWloOSSSBB7sMoMsRpSE3GgI7YNCFogzP96B/Qn9vxuSYhl+X0Z/z6gS3+ 3boerqzg7O8snSORw1e+pkroPeUvXJsADG9lx+K3Xd7Tcl1MPnTknecFFJfjaTkd OjKhZoWT0juv6vv7UZf9HqrcJkdvNp+rFc/nKOvtQFnMWEZTb6RvziVRv13I0k2y coBNNRFRYEFfYBt6GvDQjVC+F/P5voC0n38fYi6jTu+YzZIkb8LyaKqdhb0Pon+Z ejCsdZyRo108+mhnlrDLFwC9oVvu+2dVfM17M30zhJTfDML6wj8Q+f8q8aXtHjIP Hs+A1AWbOCxiR3BdtGID+2PtbQ3v/AgNL+s59USZle6bJ9pGoJs= =Nbc8 -----END PGP SIGNATURE----- --IpgPcFyQO6wM49Um--