Debugging custom type libraries

Поиск
Список
Период
Сортировка
От Will Harrower
Тема Debugging custom type libraries
Дата
Msg-id 499C4DF7.2010602@doc.ic.ac.uk
обсуждение исходный текст
Ответы Re: Debugging custom type libraries  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Hi,

I'm writing a custom type, with the associated functions (type_in,
type_out, etc) written in C, in an external shared library that Postgres
loads at runtime. I was wondering what the best way of debugging these
functions is... I can start postgres through gdb, but can't figure out
how to debug the dynamically loaded functions, or break when they are
executed. I've done my best to find the answer, but have unfortunately
failed.

Any help is much appreciated.

Many thanks,
Will.

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

Предыдущее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: leak in libpq, getpwuid
Следующее
От: Bill Todd
Дата:
Сообщение: COPY questions