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.89) (envelope-from ) id 1h1dqV-000855-AA for pgsql-general@arkaria.postgresql.org; Wed, 06 Mar 2019 21:12:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1dqT-0007eK-Vo for pgsql-general@arkaria.postgresql.org; Wed, 06 Mar 2019 21:12:57 +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 1h1dqS-0007eD-QU for pgsql-general@lists.postgresql.org; Wed, 06 Mar 2019 21:12:57 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1dqP-0007BN-8N for pgsql-general@lists.postgresql.org; Wed, 06 Mar 2019 21:12:56 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id DB041203E1; Wed, 6 Mar 2019 16:12:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 06 Mar 2019 16:12:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=m kBzgdIF2WGTB6SxQx21ozkyCJFSKvdXiFVkC3pmBPU=; b=YM390IZoKC/ypn2jk OIKF5S3NTQ2PCUizfeJssKMVFuTIMESLTkvoh3gXd3c9VP2wbHYmf9llD5lkX7Xa bkyJ1TZbbYmYNuJRkOqc3LgmrEZWTcS2UCl8JKQ2jhx8LXyRC6V36PxfQH0BUbH4 iCi4JYMxDdQuEuR8OJwq8MvuOaV52L0/c689hefS4q81kRxe5S9QjMwH64+cUwME tmGcx7/pnhmvhVmqbBF/xBz3V6lhA2y1FD/z0TO2dgMymJmBXd5JiP/h1pRDYRkx 6sfqGTjT6OyAg3MrmZvF8v2eCtUE2Za1MCRsYX0As/hEooroHKBP3V4q453xMHNl o7niA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=mkBzgdIF2WGTB6SxQx21ozkyCJFSKvdXiFVkC3pmB PU=; b=VQSH/kUMLor0WEeM1nJhVaPj3V22iw8KNzQRBEQ2awUnkt91FTbMSUdpI IP4UPk54pvHFyHf1nI2FKMZH/enTzZb5gVrZsvkwvp5RAI6APYZfRX/U4+MqqhLI EhHZCymw53iJ17t70tU0bnWiMpocm3nS3pa9tJqE5wLN9eqTxFy7cM7pJp2Qh4Vj ZwX8FaBCdBwPirYHnGJmZnIW9hJPE2pxZNrGgR42G+9whY1u9r/WMYLgIty3684W IAMU4hyd9haP7zf33ElaEMGoyo3LXjqBqlyfRHYakFnnWGhuvPA3tMOwkqLb3OHG vVSV0+mkp5CjL/Ay3HhK9hKfErk5w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrfeeigdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeehnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpedvnhguqhhurggurhgrnhhtrdgtohhmpdhpohhsthhgrhgvshhq lhdrohhrghenucfkphepjedurddvuddvrdduhedtrddvtddvnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuvehl uhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 5711510310; Wed, 6 Mar 2019 16:12:48 -0500 (EST) Subject: Re: write on standby To: Andreas Kretschmer , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Wed, 6 Mar 2019 13:12:47 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/5/19 9:16 PM, Andreas Kretschmer wrote: > > > Am 06.03.19 um 00:34 schrieb Julie Nishimura: >> Hello there, >> Is it possible for a test app to connect to the standby dB of an >> active-Standby dB pair? > > that's possible, but ... > > >> While both continue to be connected and replicating? What if it’s >> needed to write tmp tables that are later dropped? > > ... that's not. Not with streaming replication, but ... > > >> Can it be done in hot standby scenario on standby? Version is 9.6.2 >> > > ... it would be possible with logical replication (trigger based > solutions like slony or lindiste or logical replication using pglogical > from us, 2ndQ). > > https://www.2ndquadrant.com/en/resources/pglogical/ > > > You can also use BDR2 with PG9.6, but this is only available for our > customers. Out of curiosity how did: https://www.postgresql.org/message-id/20150831193033.GL2912%40alvherre.pgsql https://www.postgresql.org/message-id/CAH+GA0qO0q9NJhKxaoo8CV-QR9Cuw6LtDGDb33pq16rU88F_dA@mail.gmail.com get to?: https://www.2ndquadrant.com/en/resources/postgres-bdr-2ndquadrant/ > > > Regards, Andreas > -- Adrian Klaver adrian.klaver@aklaver.com