Debugging custom type libraries - Mailing list pgsql-general

From Will Harrower
Subject Debugging custom type libraries
Date
Msg-id 499C4DF7.2010602@doc.ic.ac.uk
Whole thread Raw
Responses Re: Debugging custom type libraries
List 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 by date:

Previous
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: leak in libpq, getpwuid
Next
From: Bill Todd
Date:
Subject: COPY questions