CREATE INDEX error message

Поиск
Список
Период
Сортировка
От Neil Conway
Тема CREATE INDEX error message
Дата
Msg-id 87r8gn8r0u.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответы Re: CREATE INDEX error message  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: CREATE INDEX error message  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
This trivial patches fixes the error message returned by CREATE INDEX
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.

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] pg_attribute.attisinherited ?
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: [HACKERS] pg_attribute.attisinherited ?