Search Postgresql Archives

Re: Debugging of C functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> 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



-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux