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 1p2cz4-0003ta-Ok for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Dec 2022 18:48:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p2cz3-00074T-Ll for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Dec 2022 18:48:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2cz3-00074K-CG for pgsql-hackers@lists.postgresql.org; Tue, 06 Dec 2022 18:48:01 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2cz0-0003Jh-RF for pgsql-hackers@lists.postgresql.org; Tue, 06 Dec 2022 18:48:01 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D04815C00D6; Tue, 6 Dec 2022 13:47:57 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 06 Dec 2022 13:47:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1670352477; x= 1670438877; bh=UC2TymdeZFyzmCXkTgDkYR7/B77nGldv0WOHEEUFSks=; b=b wXEeWtaByMF6hBZeGK7smn+xipWgFmSSKejt+sRvscmyojx80b4ZtljPgth28r7n ZIZaG/jYizOgTu0ZiH/ukK6ikqMSFfl9AEx6mSVvnbvV2AkTmOenrqJOHEigL1w5 qBGHtqeI/PpiDrZwDDb04HLL0SeA1/0ruJJDWDev0ama/sojfUHXrEmfISwajOpi nlMOnyXQBsuEaK0axF3V8tKRGvqWzCTU+wc4DZIGMeZLSKEhlDYQMvQugzxk+j2K DUXntxOp3IfUMKQDeBtJWCbBZBQo/jEmnuA1694LEduNsBZCIQN7B7kUjPNL8bM1 5Gd0K0xZte6IFxLYx7efA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1670352477; x= 1670438877; bh=UC2TymdeZFyzmCXkTgDkYR7/B77nGldv0WOHEEUFSks=; b=w 31iuXolDMyVvecVzzP+Z5xh27iyiyOa3IT5VjP6n7/uN11l9srNSC6FbFQHTupMg /YVA4G4uAcgbZ4qQzLIm6tOK5eMNVpno6LKtqjs7ltvKwMhOJolbYQI7tNDWN6EO Ep56kDegjAj5R/V46pRFZAm5czb0C3I/nzfbGbxsVJ6f2c1JTABRFtfGFJIaj2c1 Bs5uQN5w3EnQPAJA3C27eIKG8ZIbmIUw6XHGTinn7RU2D3uouRqA7mFFjyPwRUT6 JxcKnvBNr0SHNJaKGijpORAujD3P8l6IGBO6q8t9GT0WOg2gigFhXEXca3Xdp4hH UERsxm/SD/g54Dm/T/P4Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeigdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpeeuleeiuefhtdeitdekheekieeutdehkeejleelkefhkeehueettdet udeffedtvdenucffohhmrghinheptghirhhruhhsqdgtihdrtghomhenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghr rgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Dec 2022 13:47:57 -0500 (EST) Date: Tue, 6 Dec 2022 10:47:56 -0800 From: Andres Freund To: =?utf-8?B?w5ZuZGVyIEthbGFjxLE=?= Cc: "shiy.fnst@fujitsu.com" , "wangw.fnst@fujitsu.com" , Amit Kapila , PostgreSQL Hackers Subject: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher Message-ID: <20221206184756.2fdpd4epvyftutoe@awork3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-11-11 17:16:36 +0100, Önder Kalacı wrote: > I rebased the changes to the current master branch, reflected pg_indent > suggestions and also made a few minor style changes. Needs another rebase, I think: https://cirrus-ci.com/task/5592444637544448 [05:44:22.102] FAILED: src/backend/postgres_lib.a.p/replication_logical_worker.c.o [05:44:22.102] ccache cc -Isrc/backend/postgres_lib.a.p -Isrc/include -I../src/include -Isrc/include/storage -Isrc/include/utils -Isrc/include/catalog -Isrc/include/nodes -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -fno-strict-aliasing -fwrapv -fexcess-precision=standard -D_GNU_SOURCE -Wmissing-prototypes -Wpointer-arith -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -Wdeclaration-after-statement -Wno-format-truncation -Wno-stringop-truncation -fPIC -pthread -DBUILDING_DLL -MD -MQ src/backend/postgres_lib.a.p/replication_logical_worker.c.o -MF src/backend/postgres_lib.a.p/replication_logical_worker.c.o.d -o src/backend/postgres_lib.a.p/replication_logical_worker.c.o -c ../src/backend/replication/logical/worker.c [05:44:22.102] ../src/backend/replication/logical/worker.c: In function ‘get_usable_indexoid’: [05:44:22.102] ../src/backend/replication/logical/worker.c:2101:36: error: ‘ResultRelInfo’ has no member named ‘ri_RootToPartitionMap’ [05:44:22.102] 2101 | TupleConversionMap *map = relinfo->ri_RootToPartitionMap; [05:44:22.102] | ^~ Greetings, Andres Freund