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 1jd6dZ-0004nQ-L1 for pgsql-general@arkaria.postgresql.org; Mon, 25 May 2020 06:31:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jd6dY-0006pV-GA for pgsql-general@arkaria.postgresql.org; Mon, 25 May 2020 06:31:00 +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 1jd6dY-0006pO-2Y for pgsql-general@lists.postgresql.org; Mon, 25 May 2020 06:31:00 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jd6dV-0003uX-I1 for pgsql-general@postgresql.org; Mon, 25 May 2020 06:30:58 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 58E7D5C0067; Mon, 25 May 2020 02:30:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 25 May 2020 02:30:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=p7PD3coKJU+f9srTCXrdYuShlvx dJvW2DYE1/fP6q24=; b=LJX63ap+62AjQS2teJf+wmKQyF6vd/EHClINQXVE/uP a1kiuyiTF5JQSORP4WD859ETqmFifzzojYYvCN3M9OYeu80nWNX0x6HdFQV4sQRF BIM+BdEdpqseycc7RLfnjsbx2U46W/vk6YyxFxqpcZrtSUzAryq9Y4+EJaUy6d/M b0xMCQ7AeE+HxdFiUUFe7rxBLvRXrwgwlgS7A1E1rZRpDdFdaDjGufwGDdEXvIut uKMhG6gFZLe3rL0MvKYZls0aC+rRGMdbQ2xZMpz8MLLPK1ay5dHgm+EQDdRTZKQ+ Y5hGjdXGlqVfXsBxz2BpQusIBTddKDvI5WcxHxKP7nQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=p7PD3c oKJU+f9srTCXrdYuShlvxdJvW2DYE1/fP6q24=; b=QOWjokBnedPGrRubQ5eOHU ky/65uxrWyl3XOQXd1tQv3mh+PcfAwHeng7gf1+GVSiUbs24VxzLAkv16IPjce7A wGwU3MtYmVHDKRW0XAbl17dKzyVJldUMKN4Q2I28e4t4q5bGn+NbFBnCcj/UU/t7 G7BciSbyvnXj8I1zTvhrLHVxrJPug/Tp56wulbjwBH9vQwnciLB55037DhT5cCNK 7cqUzFxr6cNP8GUDrZ/mWmcEP5u5vKMkL/BXoRvr8k9RdQqaxLXTe6qht3Gjn6eX 2uPKFJminqo8cOpKRxs5YwF+FoKiEnJjlAxKNmdoyB5Bi8JTIWYaNq/c6s3qACYQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudduledguddtjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepffdufeeflefghfekudekkeev vddugfeiteekkeduleefvefhhffftdduffeiuedtnecuffhomhgrihhnpehpohhsthhgrh gvshhqlhdrohhrghenucfkphepudduuddruddtvddrudektddrudekheenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprg hquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 7C6EC3066554; Mon, 25 May 2020 02:30:54 -0400 (EDT) Date: Mon, 25 May 2020 15:30:51 +0900 From: Michael Paquier To: Andrus Cc: Tom Lane , Adrian Klaver , pgsql-general Subject: Re: Query returns no rows in pg_basebackup cluster Message-ID: <20200525063051.GF387341@paquier.xyz> References: <2B1267647FD14565B73801AF12CA1A88@dell2> <17696.1590101245@sss.pgh.pa.us> <69057EFCD3C7477B9C0C08D48E2ECD77@dell2> <20200524231007.GB387341@paquier.xyz> <672D501EF09642EB82A7226828644214@dell2> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2E/hm+v6kSLEYT3h" Content-Disposition: inline In-Reply-To: <672D501EF09642EB82A7226828644214@dell2> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --2E/hm+v6kSLEYT3h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 25, 2020 at 09:02:49AM +0300, Andrus wrote: > Will logical replication also allow two modes: > 1. PITR recovery can used if needed > 2. Hot standby: User databases in both clusters contain same data. >=20 > 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 -- Michael --2E/hm+v6kSLEYT3h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl7LZhsACgkQnvQgOdby QH1inA//TBaCsqKtlgworOIe7StD526DihMXgsqrvxZUAw2vwdB4mvGgskYgSmoM 7Nal233ipL8lB+85ZYjuDIhF+rbl4hNTEQNmgIkZ3YCFUKsO5HVBEj3IJRwqqCsJ hSscKZ1drMts0pNNADIu/aJ+xVyV9JxdVi3tGBUoKbC0lqmyMzKztMDXb2LAweje 3QPq9AFYuTjTHSJLSVmvixeRDHX0nugLBuKD+iK5IU0UMI7NMyBYj/W1PuSEkyHM DfrLmB0UvkE/iqUnDylUEGxZK7xNQNLJSf4sXnQgywkv/8zjWgxq8o9AnDYqz9PT gUjjwJcQ1YuUCd6ikCYug1X8M+oktBSN9XRa3nQ/F5YfEmkBdW0Tf2pzIAx8gbLD tHstCh/v8scNqcdlChj8tSRva0gsK8UUaK1yHz6SEe6c5ay5Rb01I/1io8ZJ0IKs IMQdYoDTNUxnNsXmZ6QtPAitAgCpPpxBsgCy2mAdwzMt05oMeeMl349/g9OeflwZ CMrwvlqZ+DBtZ4vldYLNN945DHnjQJvaAJiiU3LJe+ZpkjvIePcQrxzn4GrV9IFc y6qGc+zyQNLU7WLYdP4Ra9XeVnien0OaPqFKHhqy9D8q8ppFQDyd8KhTAZWlGyIp VKCERrxX11pH+OL0noius7K+yNmWzX1TKS3qjlTV6YHjMs8jxpA= =G7X0 -----END PGP SIGNATURE----- --2E/hm+v6kSLEYT3h--