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 1gicaW-00057W-8a for pgsql-committers@arkaria.postgresql.org; Sun, 13 Jan 2019 10:01:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gicaU-00074I-OV for pgsql-committers@arkaria.postgresql.org; Sun, 13 Jan 2019 10:01:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gicaU-00074B-FE for pgsql-committers@lists.postgresql.org; Sun, 13 Jan 2019 10:01:50 +0000 Received: from lb3-smtp-cloud8.xs4all.net ([194.109.24.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gicaR-0006DW-0C for pgsql-committers@lists.postgresql.org; Sun, 13 Jan 2019 10:01:49 +0000 Received: from webmailclassic.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:211]) by smtp-cloud8.xs4all.net with ESMTPA id icaMg3mMdNR5yicaMgEWKn; Sun, 13 Jan 2019 11:01:43 +0100 Received: from nat-pool.ips-0000-nat0x.kabeltex.nl ([82.151.32.170]) by webmailclassic.xs4all.nl with HTTP (HTTP/1.1 POST); Sun, 13 Jan 2019 11:01:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 13 Jan 2019 11:01:42 +0100 From: Erik Rijkers To: Michael Paquier Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Improve error messages for incorrect types of logical replicatio In-Reply-To: References: Message-ID: <9a9cf621389ddad0945295f7b4354984@xs4all.nl> X-Sender: er@xs4all.nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfCyzt2sCQDQPAuXU0HTvA9IP80O3JGcxuCmNIiAowL+xJcA6KnQFefQF2OTzMm6bD8SL/9ZIeY0Ts4dGPcJgDze4e5D9xkJw+OM9PPzu8237Mn6AQDj7 g3WFodwblbHWWl3JkgXczOKyj7zj8J4UOGYQuTxcHWP9khkK2Ch1iRxJSohgU1SZaQ6m+LHJEU/xyYHHmvsl+e/YAAdP07xeRhvWPR5uff84PGsVYHs/OOPz Fv2Nk+q/jNhUFer7ppkDIXjKXtExORrzb2YReOJloMw= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-01-13 08:45, Michael Paquier wrote: > Improve error messages for incorrect types of logical replication > targets > > Discussion: > https://postgr.es/m/41799bee-40eb-7bb5-80b1-325ce17518bc@lab.ntt.co.jp > > master > https://git.postgresql.org/pg/commitdiff/373bda61d2d620e704815553978726c9be9e1209 > > Modified Files > -------------- > src/backend/executor/execReplication.c | 22 ++++++++++++++++++++-- Good idea, but now one message (for RELKIND_FOREIGN_TABLE) omits 'target'. So I think errmsg("cannot use relation \"%s.%s\" as logical replication" should be: errmsg("cannot use relation \"%s.%s\" as logical replication target" Do you agree? Thanks, Erik Rijkers