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.92) (envelope-from ) id 1jGkje-0004bo-Ud for pgsql-committers@arkaria.postgresql.org; Tue, 24 Mar 2020 14:40:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jGkjd-0006ut-0q for pgsql-committers@arkaria.postgresql.org; Tue, 24 Mar 2020 14:40:53 +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 1jGki9-0004lb-9u for pgsql-committers@lists.postgresql.org; Tue, 24 Mar 2020 14:39:21 +0000 Received: from lb2-smtp-cloud7.xs4all.net ([194.109.24.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jGki6-0004dJ-IM for pgsql-committers@lists.postgresql.org; Tue, 24 Mar 2020 14:39:20 +0000 Received: from webmailclassic.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:203]) by smtp-cloud7.xs4all.net with ESMTPA id Gki4jFSkELu1fGki4jwadX; Tue, 24 Mar 2020 15:39:16 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1585060756; bh=Sb1xLDuQ8Yq37he0ljG3mDF+Dsro/+VWKYd6D0NU8w8=; h=MIME-Version:Content-Type:Date:From:To:Subject:Message-ID:From: Subject; b=YDCHNuKZj768xLvmLhqvwS5WvLer0gqI7qWqyJm4mlF1y1D7+sL0/3n88ygnpnUOn z8O/mX3IXZStTkxlPBwALhDp7YpMEro5/yQE9jvGrHWEA+eeeuVXkEUOWz5HddsJ5z gAEwH/ZR+/tr3dNGJsuANvMr149m84UkdiS3MN2tz4eAprs8dvJ+w4DgUg4Zhblb4n oFHDYtgEznXzFZ6s+5804QnXl1h5VYVLTNvAWVDi33w4T70EilL7OQD9Gr9aLtnIbz ZkeRvnlFnLIRS7y6diQXMeYE+1EvUX5H/KKGgzyEH0xDni887mRUk9bxpsdSfr91hI lUFv9Z7mB3D+Q== Received: from 2001:983:39b6:1:2c47:2c6d:d700:3bfd by webmailclassic.xs4all.nl with HTTP (HTTP/1.1 POST); Tue, 24 Mar 2020 15:39:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 24 Mar 2020 15:39:16 +0100 From: Erik Rijkers To: Peter Eisentraut Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Some refactoring of logical/worker.c In-Reply-To: References: Message-ID: <1849f82eaac5f2edb59ecaa6b79112ac@xs4all.nl> X-Sender: er@xs4all.nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfH/6li/+Rlphg3KhRdNwAZM6BwCdFlXu7NqDz45e3T2Bme0fk76u1z/pq6mRlZ5Z77IksrPzH2gvfXJTiEORU0k3RnZoNbmkKETov8vgY7wHxKyv3mIv 1ELzKbv7viFXCqcuiQL1R7TjUvaYc8ndMSIOTX70J/sBKuRF/tRwvLykbGyR5+jpysjWRHPxaY7Zw7lVSIIU8+OzNhdu4jN/jAeS9P3MTfoz6jr71u5osfvi Ek1ou5zt7JGi9AwnOEf+3gNzxRh8i1K3ZODmh+BEwqg= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-03-24 15:17, Peter Eisentraut wrote: > Some refactoring of logical/worker.c > > Discussion: > https://www.postgresql.org/message-id/flat/CA+HiwqH=Y85vRK3mOdjEkqFK+E=ST=eQiHdpj43L=_eJMOOznQ@mail.gmail.com > > Branch > ------ > master > > Details > ------- > https://git.postgresql.org/pg/commitdiff/97ee604d9bcedf0066986521a7ee15e3aa87be34 > > Modified Files > -------------- > src/backend/replication/logical/worker.c | 174 > ++++++++++++++++++++----------- > 1 file changed, 115 insertions(+), 59 deletions(-) gcc 9.3.0 mutters under its breath, worker.c: In function ‘apply_handle_update_internal’: worker.c:791:22: warning: unused variable ‘remoterel’ [-Wunused-variable] 791 | LogicalRepRelation *remoterel = &relmapentry->remoterel; | Otherwise the build is fine (documentation build too, including .pdf, thanks Tom) Erik Rijkers