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 1kzjSQ-0007L5-SD for pgsql-admin@arkaria.postgresql.org; Wed, 13 Jan 2021 16:57:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzjSO-0001V7-6F for pgsql-admin@arkaria.postgresql.org; Wed, 13 Jan 2021 16:57:16 +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 1kzjSN-0001Uz-Qr for pgsql-admin@lists.postgresql.org; Wed, 13 Jan 2021 16:57:15 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kzjSJ-0002PB-F7 for pgsql-admin@lists.postgresql.org; Wed, 13 Jan 2021 16:57:15 +0000 Received: by mail-ed1-x52c.google.com with SMTP id dk8so2700424edb.1 for ; Wed, 13 Jan 2021 08:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=8e5nPBNbxCm1c6L0h95z2JoFEc1t5oiBvFUXcxaYR30=; b=YXP7QexNsCNjUo0YUTLGDFrmLPyotQZt83uAoTCd5ARL/DdOHwCqGnqxqNkR6h5QEf W0aoQIsDVHCwuF3gthYCzbafMvQ/fCnrqEwJfLsuerGUiVy9+IsU7x2LhT0RZ6uPbG3L g8FpFdnBNlLEzzGOKIUNUE9YpURonVBZIEgEHsEfRrSa5lkL9BzEBIe8V0vQqgi3YBtR 4KzxE9SNEO+wXqcFBW2ZwaFmCGN9nH0fbX8ed5oHIlwfrM2saA8sUHbfTePH3+nyxVnF kHlWWSJgBG7evilNzlqZRuT+5Z2DMlZbAzSx9r0QCUXy3SeX3abX6IFLFJ3vhz5noTvi gOpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=8e5nPBNbxCm1c6L0h95z2JoFEc1t5oiBvFUXcxaYR30=; b=pIi+B+AW6ldwosuYD+m4YCmTy3HfgSGIKbrm4wlr4upauHsIrOtrIGsHOp+S6VdTF0 zmklkE/B+cylKv/31hENFqTP+Iaoc2hhT+uhs6aX0zNLvS3L7vu1jopMYkCJSkSwcAmo W6FyBkp+mnWZ/UGlNSQrFZJD6kRcZVGgEVQ4NjzP1e0kv1mUfnri2jsr5QlQBNEOHFnX 5Sk9BhMOriG829EZ6ylUo8SwwauR3DGVi/G80MLiVh/oFCn2kPbRqXTOadW6p3XTOIwn 2ilm6k1M7a66l/nxIerm7klklw77gg5C2EoWG1LRAzJgoKMaROHyI/eQZUpW/UhpVgKT 1rYw== X-Gm-Message-State: AOAM533IUuRKRuoekp2AOvgHiqfPuEghgsB7wrayc37SmiN6r1Hp9pBb 8Nmm4Ew++nTdaJBxyscZlQhfLQ== X-Google-Smtp-Source: ABdhPJzVe0XwGwLD31DPP2G3e2mwxCvj8Apg91Ci9enzP9hh8+eq1X9JXMp5wEUMRY+n9KkqevJS7A== X-Received: by 2002:a50:e719:: with SMTP id a25mr2524987edn.12.1610557029486; Wed, 13 Jan 2021 08:57:09 -0800 (PST) Received: from localhost.localdomain (62-47-146-151.adsl.highway.telekom.at. [62.47.146.151]) by smtp.gmail.com with ESMTPSA id r21sm1114435eds.91.2021.01.13.08.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 08:57:09 -0800 (PST) Message-ID: Subject: Re: PostgreSQL replication failover From: Laurenz Albe To: Pepe TD Vo , Jan Peters , "pgsql-admin@lists.postgresql.org" Date: Wed, 13 Jan 2021 17:57:08 +0100 In-Reply-To: <526397214.877472.1610544243527@mail.yahoo.com> References: <976875a5adf1c1cda0d55e6da0313f30dc8059f6.camel@cybertec.at> <526397214.877472.1610544243527@mail.yahoo.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 2021-01-13 at 13:24 +0000, Pepe TD Vo wrote: > you said above which I don't need to run promote to make it failover as long as I set synchronous on? That's not what I meant. Of course you have to promote the standby after shutting down the old primary server. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com