Re: Debugging custom type libraries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Debugging custom type libraries
Дата
Msg-id 19275.1234988540@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Debugging custom type libraries  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> First step, you must connect with psql and then attach gdb to the
> running process (there's a function to get the pid of your backend).
> Next, you can use "LOAD foo" in psql to trigger the loading of your
> module, gdb should then be able to see it (assuming you have debug
> symbols everywhere).

On some platforms it's necessary to do the LOAD first (before attaching
with gdb).  Experiment...

            regards, tom lane

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: COPY questions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Appending \o output instead of overwriting the output file