diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml
index 29213b96a51..ef58e94a442 100644
--- a/doc/src/sgml/ref/alter_table.sgml
+++ b/doc/src/sgml/ref/alter_table.sgml
@@ -1,5 +1,5 @@
@@ -295,6 +295,15 @@ ALTER TABLE distributors ADD CONSTRAINT dist_id_zipcode_key UNIQUE (dist_id, zip
+
+ To add an automatically named primary key constraint to a table, noting
+ that a table can only ever have one primary key:
+
+ALTER TABLE distributors ADD PRIMARY KEY (dist_id);
+
+
+
+
Compatibility