Re: Debugging of C functions

Поиск
Список
Период
Сортировка
От hamann.w@t-online.de
Тема Re: Debugging of C functions
Дата
Msg-id wolfgang-1131125221528.A0129553@amadeus3.local
обсуждение исходный текст
Ответ на Debugging of C functions  ("Janek Sendrowski" <janek12@web.de>)
Список pgsql-general
>> Hi,
>> �
>> How is it possible to debug user defined functions written in C.
>> I can't just include all the files and run it.
>> �
>> Does anyone have an idea?
>> �
>> Janek Sendrowski
>>

Hi,

I recall compiling with debug as normal, adding a printf followed by 30 sec sleep, and
use the pause to attach gdb.
If it is at all possible, you should try to run the database in single mode rather than
normal server operation

Regards
Wolfgang Hamann



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

Предыдущее
От: Joshua Boyd
Дата:
Сообщение: Re: Easiest way to CREATE EXTENSION when upgrading from 9.0 to 9.2?
Следующее
От: Nelson Green
Дата:
Сообщение: Inserting rows containing composite foreign keys