Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jCl9s-00042x-NL for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2020 14:19:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jCl9r-0000Hr-KJ for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2020 14:19:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jCl9a-0004jT-Qr for pgsql-hackers@lists.postgresql.org; Fri, 13 Mar 2020 14:19:10 +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 1jCl9T-00024C-Nd for pgsql-hackers@postgresql.org; Fri, 13 Mar 2020 14:19:10 +0000 Received: by mail-qk1-x741.google.com with SMTP id z25so7819789qkj.4 for ; Fri, 13 Mar 2020 07:19:03 -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=BKdICX0f9omPntvFnOsIupdLlaomZ4xJy08HG/4uJB8=; b=F0KSC2BINF40NyNV6WZyr8T9g/5FxUnuJOgb2+xOETR/lNjNUDPt0MDD2pU7D18lDC 1vR9GElZvfaXXFMUYDJUxq4UaUuGtwKd58gUrWJvaDxJqPiO3HNW8fu/FTC07YhZHLEE 6JMU4VqtYmNJLd+f/wAxDKMdln1BfSQixgUYerlUHpnjO+GiLBZfsqwhBaJjLJP9FnBB WHhM7l8M5ycUDXvtQnesZvS5RozyXY6uHnVQSNg3ZjUTlqLlthDRv6GW8qZBe0DCmzQ2 kqtnJ4SmpvAf7E56PMIbKGoST6Jca2t/ync7EPWpoGfG5o+EeFHQ3hTp4R8/W2ux7zcN VsUQ== 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=BKdICX0f9omPntvFnOsIupdLlaomZ4xJy08HG/4uJB8=; b=YvVSFDreKxIZrEZVUhOuv/DyLyvyG/wXBRkwhCTA56QL+ETXkTTEMT8vfInVHZyYQE WXVPaKFN1BuErjFcGrsHgI4ltmJmcL0Xay8sECJWy4OZv0vmf/UiePVzkn8djloA88M/ X6erSv1PU6RZZ7iv7WbeYFU+m8zdg1iwPpPD5xfFHYWpNzdk2vWIGmtQCguPhFZ4VpMl ebJBb64/j5d40WvdivUe+gw67suNaVCh5vIpoSHjj0KcKxJ3OUBAPjndVhdrtmhFyYUX fGkfe/zhFp1be6NgOrFTepJl/0hhEslgexUlfpt/73rdOsuIw07VOGRvI4NJT2nM0R8t 1SIw== X-Gm-Message-State: ANhLgQ32b6NBnBes+RCuiu+Z7z2M01VuSBVm7QCO0laVs2D+dhgrqo5d RGkqoAbD0nS9bFeGysCrUXwUvQ== X-Google-Smtp-Source: ADFU+vuT1EPhGKNJssU/SX9MfYOWT9NCvMSau5hWfkg4alRjhYuCxj3szz21In1bD1aBJJEK7PmSrw== X-Received: by 2002:a37:a78e:: with SMTP id q136mr13163070qke.252.1584109142063; Fri, 13 Mar 2020 07:19:02 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([191.125.227.65]) by smtp.gmail.com with ESMTPSA id j17sm30419566qth.27.2020.03.13.07.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2020 07:18:58 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id BB20B300898; Fri, 13 Mar 2020 11:17:38 -0300 (-03) Date: Fri, 13 Mar 2020 11:17:38 -0300 From: Alvaro Herrera To: Michael Paquier Cc: Sergei Kornilov , Tomas Vondra , Kyotaro Horiguchi , "andres@anarazel.de" , "david@pgmasters.net" , "pgsql-hackers@postgresql.org" , Peter Eisentraut Subject: Re: allow online change primary_conninfo Message-ID: <20200313141738.GA4074@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200313141204.GA3672@alvherre.pgsql> 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-Mar-13, Alvaro Herrera wrote: > What are the downsides of changing wal_receiver_create_temp_slot to > PGC_POSTMASTER? It seems pretty nasty to requires a full server > restart. Maybe we can signal all walreceivers at that point so that > they restart with the correct setting? That's much less problematic, I > would think. ... oh, that's exactly what 0002 does. So patch 0001 is only about making a temporary change to the create_temp_slot to be consistent with existing policy, before changing the policy. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services