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 1uRlRy-00Fzuc-5E for pgsql-docs@arkaria.postgresql.org; Wed, 18 Jun 2025 05:35:06 +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 1uRlRw-00G49w-7N for pgsql-docs@arkaria.postgresql.org; Wed, 18 Jun 2025 05:35:04 +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 1uRlRv-00G3oR-Uv for pgsql-docs@lists.postgresql.org; Wed, 18 Jun 2025 05:35:04 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uRlRt-002eFS-02 for pgsql-docs@lists.postgresql.org; Wed, 18 Jun 2025 05:35:02 +0000 Received: from [192.168.11.9] (p1696134-ipoe.ipoe.ocn.ne.jp [118.0.93.133]) by oss.nttdata.com (Postfix) with ESMTPSA id DAED461AD6 for ; Wed, 18 Jun 2025 14:34:55 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Content-Type: multipart/mixed; boundary="------------eTfxHyMUwKeVjTX25xvZ621S" Message-ID: Date: Wed, 18 Jun 2025 14:34:55 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: pgsql-docs@lists.postgresql.org From: Fujii Masao Subject: Fix inaccurate mention of index comments in CREATE FOREIGN TABLE docs List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------eTfxHyMUwKeVjTX25xvZ621S Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Commit 302cf157592 added support for LIKE in CREATE FOREIGN TABLE. In this feature, since indexes are not created for foreign tables, comments on indexes are not copied either. However, the CREATE FOREIGN TABLE docs incorrectly states that index comments are copied when using INCLUDING COMMENTS, as shown below: ------------------------------ INCLUDING COMMENTS Comments for the copied columns, constraints, and indexes will be copied. ------------------------------ This isn't accurate for foreign tables, so we should remove the mention of indexes. Patch attached. Regards, -- Fujii Masao NTT DATA Japan Corporation --------------eTfxHyMUwKeVjTX25xvZ621S Content-Type: text/plain; charset=UTF-8; name="v1-0001-doc-Fix-incorrect-description-of-INCLUDING-COMMEN.patch" Content-Disposition: attachment; filename*0="v1-0001-doc-Fix-incorrect-description-of-INCLUDING-COMMEN.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSBlNmEwMjNiNTZmNzkwYzk5OTU0NjNkNzVlNjEwMWU1ZWFmNDllOThiIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBGdWppaSBNYXNhbyA8ZnVqaWlAcG9zdGdyZXNxbC5v cmc+CkRhdGU6IFdlZCwgMTggSnVuIDIwMjUgMTM6NTY6MTQgKzA5MDAKU3ViamVjdDogW1BB VENIIHYxXSBkb2M6IEZpeCBpbmNvcnJlY3QgZGVzY3JpcHRpb24gb2YgSU5DTFVESU5HIENP TU1FTlRTIGluCiBDUkVBVEUgRk9SRUlHTiBUQUJMRS4KCkNvbW1pdCAzMDJjZjE1NzU5MiBh ZGRlZCBzdXBwb3J0IGZvciBMSUtFIGluIENSRUFURSBGT1JFSUdOIFRBQkxFLgpJbiB0aGlz IGZlYXR1cmUsIHNpbmNlIGluZGV4ZXMgYXJlIG5vdCBjcmVhdGVkIGZvciBmb3JlaWduIHRh YmxlcywKY29tbWVudHMgb24gaW5kZXhlcyBhcmUgbm90IGNvcGllZCBlaXRoZXIuCgpIb3dl dmVyLCB0aGUgZG9jdW1lbnRhdGlvbiBpbmNvcnJlY3RseSBzdGF0ZWQgdGhhdCB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