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 1jd7ni-0007zj-3y for pgsql-general@arkaria.postgresql.org; Mon, 25 May 2020 07:45:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jd7ng-0002Oi-3J for pgsql-general@arkaria.postgresql.org; Mon, 25 May 2020 07:45:32 +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 1jd7nf-0002I8-Pg for pgsql-general@lists.postgresql.org; Mon, 25 May 2020 07:45:31 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jd7nY-0005F8-3I for pgsql-general@postgresql.org; Mon, 25 May 2020 07:45:30 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 7BFFA1BA1; Mon, 25 May 2020 10:45:20 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v9NrhVqni49n; Mon, 25 May 2020 10:45:17 +0300 (EEST) Received: from mail.hot.ee (hot-relayhost1.estpak.ee [213.180.2.79]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id D8C4215D4; Mon, 25 May 2020 10:45:17 +0300 (EEST) Received: from dell2 (66-63-196-88.sta.estpak.ee [88.196.63.66]) (Authenticated sender: kobruleht2) by HOT-Relayhost1.estpak.ee (Postfix) with ESMTPSA id 49VpzF71Dyz2B6; Mon, 25 May 2020 10:45:12 +0300 (EEST) Message-ID: <0A785E2B61EB46419AF185662F54938C@dell2> From: "Andrus" To: "Michael Paquier" Cc: "Tom Lane" , "Adrian Klaver" , "pgsql-general" References: <2B1267647FD14565B73801AF12CA1A88@dell2> <17696.1590101245@sss.pgh.pa.us> <69057EFCD3C7477B9C0C08D48E2ECD77@dell2> <20200524231007.GB387341@paquier.xyz> <672D501EF09642EB82A7226828644214@dell2> <20200525063051.GF387341@paquier.xyz> In-Reply-To: <20200525063051.GF387341@paquier.xyz> Subject: Re: Query returns no rows in pg_basebackup cluster Date: Mon, 25 May 2020 10:44:55 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi! >> How to set logical replication for all user databases in cluster so that >> when new database is added or new tables are added to database they will >> start replicate automatically ? >I think that it would be good if you spend some time reading the >documentation on this stuff, particularly the part about restrictions, >to understand the use cases where that can become useful: >https://www.postgresql.org/docs/devel/logical-replication.html Thank you. I read it and havent found any reference to PITR recovery. For PITR recovery it should probably save sql statements to files and allow to specify recovery target time for applying sql statements to base backup. Is PITR recovery supported only using binary WAL files ? Other limits can probably be solved. Andrus.