• Bruce Momjian's avatar
    This trivial patches fixes the error message returned by CREATE INDEX · fbb1966c
    Bruce Momjian authored
    when it finds an existing relation with the same name as the
    to-be-created index.
    
    Old error message:
    
    nconway=# create table foo (a int);
    CREATE TABLE
    nconway=# create index foo on foo (a);
    ERROR:  index named "foo" already exists
    
    I replaced 'index' with 'relation' in the error message.
    
    Neil Conway
    fbb1966c
index.c 54.2 KB