Index: alter_table.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v
retrieving revision 1.36
diff -c -r1.36 alter_table.sgml
*** alter_table.sgml 2002/02/16 23:45:48 1.36
--- alter_table.sgml 2002/02/17 10:32:59
***************
*** 295,300 ****
--- 295,309 ----
+
+ 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