Question about debugging bootstrapping and catalog entries

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Question about debugging bootstrapping and catalog entries
Дата
Msg-id 87odq1bfn3.fsf@enterprisedb.com
обсуждение исходный текст
Ответы Re: Question about debugging bootstrapping and catalog entries  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Question about debugging bootstrapping and catalog  (Gavin Sherry <swm@linuxworld.com.au>)
Re: Question about debugging bootstrapping and catalog entries  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
I've been fooling with catalog entries here and I've obviously done something
wrong. But I'm a bit frustrated trying to debug initdb. Because of the way it
starts up the database in a separate process I'm finding it really hard to
connect to the database and get a backtrace. And the debugging log is being
spectacularly unhelpful in not telling me where the problem is.

Are there any tricks people have for debugging bootstrapping processing? I
just need to know what index it's trying to build here and that should be
enough to point me in the right direction:

creating template1 database in /var/tmp/db7/base/1 ... FATAL:  could not create unique index
DETAIL:  Table contains duplicated values.


--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: quoting problem
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Question about debugging bootstrapping and catalog entries