Clean up generation of default names for constraints, indexes, and serial

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 45616f5bbbb87745e0e82b00e77562d6502aa042
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-06-10T17:56:03Z
Releases: 8.0.0
Clean up generation of default names for constraints, indexes, and serial
sequences, as per recent discussion.  All these names are now of the
form table_column_type, with digits added if needed to make them unique.
Default constraint names are chosen to be unique across their whole schema,
not just within the parent object, so as to be more SQL-spec-compatible
and make the information schema views more useful.

Files