Philip Warner writes:

> pjw=# create table pk1(f1 integer, constraint zzz primary key(f1));
> NOTICE:  CREATE TABLE/PRIMARY KEY will create implicit index 'zzz' for
> table 'pk1'
> CREATE
> pjw=# create table zzz(f1 integer);
> ERROR:  Relation 'zzz' already exists
> 
> Is there a good reason why the automatically created items do not have a
> 'pg_' in front of their names?

One thing that has always bugged me is why indexes have names at all.  I
can never think of any.  The table name and the attribute
name(s)/number(s) should suffice.

-- 
Peter Eisentraut      [EMAIL PROTECTED]       http://yi.org/peter-e/

Reply via email to