From 16b38fd753af4654ff6399938f6dcc11dbfb625d Mon Sep 17 00:00:00 2001 From: "Chao Li (Evan)" Date: Thu, 18 Dec 2025 15:18:22 +0800 Subject: [PATCH v2] docs: reflect optional COLUMN keyword in ALTER TABLE descriptions The ALTER TABLE description entries for ADD COLUMN and DROP COLUMN omitted the fact that the COLUMN keyword is optional. Adjust the command summaries to match the documented syntax by marking COLUMN as optional. This is a documentation-only change; no behavior is altered. Author: Chao Li --- doc/src/sgml/ref/alter_table.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index 1bd479c917a..d69e5de8451 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -163,7 +163,7 @@ WITH ( MODULUS numeric_literal, REM - ADD COLUMN [ IF NOT EXISTS ] + ADD [ COLUMN ] [ IF NOT EXISTS ] This form adds a new column to the table, using the same syntax as @@ -175,7 +175,7 @@ WITH ( MODULUS numeric_literal, REM - DROP COLUMN [ IF EXISTS ] + DROP [ COLUMN ] [ IF EXISTS ] This form drops a column from a table. Indexes and -- 2.39.5 (Apple Git-154)