Search Postgresql Archives

Debugging custom type libraries

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

 



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.

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