primary keys after the fact!
Also, we need to add regression tests for alter table / add primary key
and alter table / drop constraint. These shouldn't be added until 7.3
tho
methinks...
Chris
</para>
</refsect1>
+ <para>
+ To add an automatically named primary key constraint to a table, noting
+ that a table can only ever have one primary key:
+ <programlisting>
+ALTER TABLE distributors ADD PRIMARY KEY (dist_id);
+ </programlisting>
+ </para>
+ </refsect1>
+
<refsect1 id="R1-SQL-ALTERTABLE-3">
<title>
Compatibility