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 1jo8qY-0003D3-8w for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Jun 2020 17:06:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jo8qX-0000gy-5a for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Jun 2020 17:06:01 +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 1jo8qW-0000gr-Qg for pgsql-hackers@lists.postgresql.org; Wed, 24 Jun 2020 17:06:00 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jo8qP-0000N0-HK for pgsql-hackers@postgresql.org; Wed, 24 Jun 2020 17:06:00 +0000 Received: by mail-qk1-x741.google.com with SMTP id l188so2492669qkf.10 for ; Wed, 24 Jun 2020 10:05:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=+NqO3iTNeNskno4HxMsLZ2QBcBKMtBtdnt9k3uLSQvs=; b=vlqATkmiYGriPxzD1uFQuz1GQzNlYZWxR3gxA00AjchmJBVr5UDrtDX4HbsETZWUyM BO44ltyWji4l5asOC/uJbrFW2wTsFwxdtX9yKz6Ju/ZlDwn7J+WLrC8YWVkFaNht6SYC 8FPCIXHYCW3424zds5PRpGruimU980U8MxQkvsD1OHxuGOYcv3O3Hz/L1qtLJ0VG8eWS zsRWvOKawTXJb2oqOR1l3Z4Yzbz2t0dLI8oweTtEYEoxXfKk1hHmeT3M0N5kwdGSuPId xt/qnI5ZL0+hrDfH4AqgC7oZahlpi8jtzQbPyoTeF1E6ENFF+Ol2rtd2tLSGS8ZIynd7 Dl3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=+NqO3iTNeNskno4HxMsLZ2QBcBKMtBtdnt9k3uLSQvs=; b=bEeCsV1x5sFH/9F3c7bXPswKJrprIoLX6k2mUr8YCBX7396UU6h0E45+ECEEFVWybl ZZtQ7OfgBmalUSOUOy1XMHYc48ClsI7K6dlRmXlPF0Ic9kAduIuQ7BH+dNe0nBOR9mZi /XiT1YbjMlpaeQpuLUlB3XErIR7q37GtUugYmZAQV4TdFSEnsAcsA7a8IIV7FMVbbfBv oXKojkWrGbB5eIhRKIYEr/b0qOFkE3Qdpg06fU2n2pgB4YHaFdzZlmd2h7AdGB89eY/7 8PDW41iI44Fyeq+EXbFFYwuenmkByJu3FiYcnnuA28cECIuZbYlVUmh3rl9W1OM52xtT TfPw== X-Gm-Message-State: AOAM530wsAMEdqL+L/+N0cLf1ZxdzomG1bRU2sx8MWkQ8hpwRussrGwj 0d/t2qNzSAP9AO+mnmBfKBE9tg== X-Google-Smtp-Source: ABdhPJz9Tya10uI9jqQxt6UwZZWY75FXBwfBS0BguiNJzaOwiGXaAnA9/E/6QLw07BMYeAsQVr15Pw== X-Received: by 2002:a05:620a:788:: with SMTP id 8mr16043124qka.127.1593018351570; Wed, 24 Jun 2020 10:05:51 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id t36sm4208789qtj.58.2020.06.24.10.05.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 10:05:50 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 154AF2A3A97; Wed, 24 Jun 2020 13:05:49 -0400 (-04) Date: Wed, 24 Jun 2020 13:05:49 -0400 From: Alvaro Herrera To: Stephen Frost Cc: Kyotaro Horiguchi , michael@paquier.xyz, andres@anarazel.de, jkatz@postgresql.org, davecramer@postgres.rocks, masao.fujii@oss.nttdata.com, masahiko.sawada@2ndquadrant.com, sitnikov.vladimir@gmail.com, pgsql-hackers@postgresql.org, pg@bowt.ie Subject: Re: SIGSEGV from START_REPLICATION 0/XXXXXXX in XLogSendPhysical () at walsender.c:2762 Message-ID: <20200624170549.GA24654@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200624165016.GR3125@tamriel.snowman.net> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Jun-24, Stephen Frost wrote: > Doesn't mean it makes sense or that we should be supporting that. What > we should have is a way to allow administrators to configure a system > for exactly what they want to allow, and it doesn't seem like we're > doing that today and therefore we should fix it. This isn't the only > area we have that issue in. The way to do that, for the case under discussion, is to reject using a logical replication connection for physical replication commands. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services