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 1jgTAR-0007Ov-3B for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Jun 2020 13:10:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jgTAP-00055I-V3 for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Jun 2020 13:10:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jgTAP-000555-OH for pgsql-hackers@lists.postgresql.org; Wed, 03 Jun 2020 13:10:49 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jgTAN-0003w5-Af for pgsql-hackers@postgresql.org; Wed, 03 Jun 2020 13:10:48 +0000 Received: from hnk.local (p1864124-ipbf1405funabasi.chiba.ocn.ne.jp [123.216.143.124]) by oss.nttdata.com (Postfix) with ESMTPSA id 32C1D601D8; Wed, 3 Jun 2020 22:10:42 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at oss.nttdata.com Subject: Re: SIGSEGV from START_REPLICATION 0/XXXXXXX in XLogSendPhysical () at walsender.c:2762 To: Dave Cramer , Michael Paquier Cc: Masahiko Sawada , Kyotaro Horiguchi , Vladimir Sitnikov , PostgreSQL-development References: <20200528.181139.1631626601933187948.horikyota.ntt@gmail.com> <20200529072138.GG44192@paquier.xyz> <20200529.175653.1322451159722162490.horikyota.ntt@gmail.com> <20200602042456.GA3594@paquier.xyz> <20200603051910.GG89559@paquier.xyz> From: Fujii Masao Message-ID: <3183662b-2e0b-4410-3bb8-4f4e4b029dd5@oss.nttdata.com> Date: Wed, 3 Jun 2020 22:10:41 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020/06/03 20:33, Dave Cramer wrote: > > > > On Wed, 3 Jun 2020 at 01:19, Michael Paquier > wrote: > > On Tue, Jun 02, 2020 at 02:23:50PM +0900, Fujii Masao wrote: > > On 2020/06/02 13:24, Michael Paquier wrote: > >> Still unconvinced as this restriction stands for logical decoding > >> requiring a database connection but it is not necessarily true now as > >> physical replication has less restrictions than a logical one. > > > > Could you tell me what the benefit for supporting physical replication on > > logical rep connection is? If it's only for "undocumented" > > backward-compatibility, IMO it's better to reject such "tricky" set up. > > But if there are some use cases for that, I'm ok to support that. > > Well, I don't really think that we can just break a behavior that > exists since 9.4 as you could break applications relying on the > existing behavior, and that's also the point of Vladimir upthread. For the back branches, I agree with you. Even if it's undocumented behavior, basically we should not get rid of it from the back branches unless there is very special reason. For v13, if it has no functional merit, I don't think it's so bad to get rid of that undocumented (and maybe not-fully tested) behavior. If there are applications depending it, I think that they can be updated. > I don't see this is a valid reason to keep doing something. If it is broken then fix it. > Clients can deal with the change. +1 Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION