Re: debugging C functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: debugging C functions
Дата
Msg-id Pine.LNX.4.44.0306201955570.2297-100000@peter.localdomain
обсуждение исходный текст
Ответ на debugging C functions  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Ответы Re: debugging C functions  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Список pgsql-general
Nigel J. Andrews writes:

> Attaching the debugger to the backend process I can't set a break point on my
> function, it says 'Function "blah" not defined' and when it segments somewhere
> under SPI_execp called from my function the stack trace has all the postgres
> symbols but just a '??' at the place my function is obviously sitting.

Use the command LOAD to load the dynamic object into the server process,
then set the break point, then run the function.

--
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: dropping sequences
Следующее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: debugging C functions