Re: pg_upgrade: out of memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_upgrade: out of memory
Дата
Msg-id 22246.1348841733@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_upgrade: out of memory  ("Carrington, Matthew (Produban)" <Matthew.Carrington@Produban.co.uk>)
Ответы Re: pg_upgrade: out of memory
Список pgsql-general
"Carrington, Matthew (Produban)" <Matthew.Carrington@Produban.co.uk> writes:
> I've tried to explore the issue a bit more using 9.2.1. Here's a trace of the build and dump tests ...

As long as you're building your own copy, how about building with
--enable-debug and getting a stack trace showing where the error is
being thrown?  Setting a breakpoint at exit_horribly() ought to do
the trick.  To be concrete:

    gdb pg_dump
    gdb> b exit_horribly
    gdb> run --port 65432 ... rest of command line for pg_dump ...
    ... wait for breakpoint to be hit, then ...
    gdb> bt
    ... copy and paste the printout here ...
    gdb> quit

            regards, tom lane


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

Предыдущее
От: "ac@hsk.hk"
Дата:
Сообщение: Re: replicate or multi-master for 9.1 or 9.2
Следующее
От: "Carrington, Matthew (Produban)"
Дата:
Сообщение: Re: pg_upgrade: out of memory