pgsql: doc: Fix example command for ALTER FOREIGN TABLE ... OPTIONS.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Fix example command for ALTER FOREIGN TABLE ... OPTIONS.
Date: 2023-06-08 11:17:29
Message-ID: E1q7Ddx-000kGZ-9p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

doc: Fix example command for ALTER FOREIGN TABLE ... OPTIONS.

In the documentation, previously the example command for
ALTER FOREIGN TABLE ... OPTIONS incorrectly included both
the option name and value with the DROP operation.
The correct syntax for the DROP operation requires only
the name of the option to be specified. This commit fixes
the example by removing the option value from the DROP operation.

Back-patch to all supported versions.

Author: Mehmet Emin KARAKAS <emin100(at)gmail(dot)com>
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/CANQrdXAHzbcEYhjGoe5A42OmfvdQhHFJzyKj9gJvHuDKyOF5Ng@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8c9f56a6a43ec1954c23e98aa1292a0977eecd1c

Modified Files
--------------
doc/src/sgml/ref/alter_foreign_table.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-06-08 15:24:41 pgsql: Fix small overestimation of base64 encoding output length.
Previous Message Fujii Masao 2023-06-08 11:17:17 pgsql: doc: Fix example command for ALTER FOREIGN TABLE ... OPTIONS.