Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOoCh-001J46-52 for pgsql-general@arkaria.postgresql.org; Wed, 03 Jul 2024 00:50:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sOoCe-0056mj-An for pgsql-general@arkaria.postgresql.org; Wed, 03 Jul 2024 00:50:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOoCd-0056mb-Vk for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2024 00:50:32 +0000 Received: from smtp72.iad3b.emailsrvr.com ([146.20.161.72]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOoCc-0007MF-52 for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2024 00:50:31 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp10.relay.iad3b.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id 62A88E0208; Tue, 2 Jul 2024 20:50:28 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: Logical replication with temporary tables From: Christophe Pettus In-Reply-To: Date: Tue, 2 Jul 2024 17:49:57 -0700 Cc: pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <0FE55AC1-25C2-4B5B-A312-5F8EB4756B4B@thebuild.com> References: To: Stuart Campbell X-Mailer: Apple Mail (2.3774.600.62) X-Classification-ID: cf4ce98d-5803-45cc-9403-ac2c8f812363-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jul 2, 2024, at 17:47, Stuart Campbell = wrote: > My question is whether there is some workaround that will let me = create indexes on a temporary table, and also let me drop the temporary = table, in a way that doesn't end up "degrading" replication? (Presumably = that means avoiding writing to the WAL?) This is a question for AWS. Community PostgreSQL doesn't have any of = these concepts, and this is all proprietary modifications to PostgreSQL = by Amazon.=