Fix inaccurate mention of index comments in CREATE FOREIGN TABLE docs
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: pgsql-docs@lists.postgresql.org
Date: 2025-06-18T05:34:55Z
Lists: pgsql-docs
Attachments
- v1-0001-doc-Fix-incorrect-description-of-INCLUDING-COMMEN.patch (text/plain) patch v1-0001
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
Commits
-
doc: Fix incorrect description of INCLUDING COMMENTS in CREATE FOREIGN TABLE.
- b57d70770818 18.0 landed
-
Add support for LIKE in CREATE FOREIGN TABLE
- 302cf1575923 18.0 cited