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 1ojJsk-0005uT-N6 for pgsql-general@arkaria.postgresql.org; Fri, 14 Oct 2022 12:33:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ojJsj-0007l4-DO for pgsql-general@arkaria.postgresql.org; Fri, 14 Oct 2022 12:33:41 +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 1ojJsj-0007kv-2j for pgsql-general@lists.postgresql.org; Fri, 14 Oct 2022 12:33:41 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ojJsg-0000Dc-LX for pgsql-general@postgresql.org; Fri, 14 Oct 2022 12:33:40 +0000 Received: by mail-ed1-x536.google.com with SMTP id s2so6680481edd.2 for ; Fri, 14 Oct 2022 05:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ZmShQL+ACdOzqWSAI45FwQQYZx/3YBNJ9NkG7wgC1BI=; b=jJmnl14Yr9AvcFppkBDyZOYVmwqp+4dvSaJksdTgQUu0RqF8scW3rssz7oh2uFScko +TDYvy3sg8JriKDcWZugRLyDBOapvW0L+ODtTsUXYkJbm1TN1jfrSXA0CuYN+B03LEfN C0rr+rzMBPed++Dj3IZm8lMDu93BgOWstJwpWkBAPfJO3D1b1G+TDQGCbtATYWPvYKsa 2/3rWyEpWwuZ9av6USw9PNSiyS8kvhMIFk95ncyq0ySXO6trXaWlH934zttJ3JIghAnW tcEcz2SlCy6E8QV9hO2/k+azh+wCvEjxvicUdoFj0FaLWyxhhUFa35MKHt3V3Z4xM86i EppQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ZmShQL+ACdOzqWSAI45FwQQYZx/3YBNJ9NkG7wgC1BI=; b=zygizKswz88MV45FHXZKuhAh16K32gdFNrXYGR4NCxwcmr3ujEkM0fWma4gm9b28en n+ZzWJSFeqt1ODTatJLRFdjRTdHMy+5A9uYnIZiHcuYDxgWyJpNWfAOOrT6mmDKvHIU1 fCI4Rpul4bh7ZjoHpjjtEp4C3VH82lM3jAE+6E/N+H0wWvziFASL3RfgL1zovgFScTBa WHtv9dlNYltfotoBoOGJVAGDuFFjz2GcW+yBjAqVt6//n8vc+/DYq1IWgYd8XfNLGkUa oWJJu6oPRIwM3Qr/PicWVspaYnaFzU04sg13J4SnohwgiIUYl9+B2L0HNv4uviTOyBVs jKUg== X-Gm-Message-State: ACrzQf3gE1HySqXZ6EaOhq7OhH5Oq+3H436ctcw/6eaDiXbYn5O2J7O+ V+r+Rstavk6Hh1gSoSgQzLLbBQ== X-Google-Smtp-Source: AMsMyM7jP3ro8QBKraY9f5Hah74kOUYfLWlztq7sTmwl/N/GLDgQ8HFnwScJVIfg25a7AZ3izp7zxQ== X-Received: by 2002:a50:ff09:0:b0:456:fd61:83b3 with SMTP id a9-20020a50ff09000000b00456fd6183b3mr3976297edu.166.1665750817333; Fri, 14 Oct 2022 05:33:37 -0700 (PDT) Received: from localhost.localdomain ([2001:871:5e:cddf:dd82:2817:4f1:8514]) by smtp.gmail.com with ESMTPSA id dk24-20020a0564021d9800b0045b910b0542sm1769368edb.15.2022.10.14.05.33.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 05:33:37 -0700 (PDT) Message-ID: Subject: Re: does postgres has snapshot standby feature? From: Laurenz Albe To: milist ujang , pgsql-general@postgresql.org Date: Fri, 14 Oct 2022 14:33:36 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2022-10-14 at 16:20 +0700, milist ujang wrote: > read about removing standby.signal file behavior in pg14 from  > https://dbaclass.com/article/how-to-open-postgres-standby-database-for-read-writesnapshot-standby/ > > I was shocked about the hidden feature of snapshot standby, does it really exist? > I could not find anything about snapshot standby in docs so far. The referenced article talks about "pg_rewind", so look under that name. > I have removed the standby.signal file in pg12 but got strange behavior until I have to recreate the standby. If you removed the file, you did something wrong. You have to promote the standby properly. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com