Re: another error perhaps to be enhanced

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: another error perhaps to be enhanced
Дата
Msg-id CAM3SWZQNwK=Aju4UgrTFcxY=897oCNpjVaHsF8yUFEae35tRww@mail.gmail.com
обсуждение исходный текст
Ответ на Re: another error perhaps to be enhanced  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: another error perhaps to be enhanced  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
On Fri, Jun 14, 2013 at 10:54 AM, Joshua D. Drake <jd@commandprompt.com> wrote:
> Now, with the error previously shown, which one_idx needs to be reindexed?

Well, you didn't show an actual error message. But if you "\set
VERBOSITY verbose" within psql while connected to a 9.3 server, you'll
get fully qualified details of the constraint blamed for the error, if
any. Example:

postgres=# insert into a(a, b) values (3, 'test');
ERROR:  23505: duplicate key value violates unique constraint "a_pkey"
DETAIL:  Key (a)=(3) already exists.
SCHEMA NAME:  public
TABLE NAME:  a
CONSTRAINT NAME:  a_pkey
LOCATION:  _bt_check_unique, nbtinsert.c:398


-- 
Peter Geoghegan



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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: another error perhaps to be enhanced
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: fallocate / posix_fallocate for new WAL file creation (etc...)