Search Postgresql Archives

Re: Debugging custom type libraries

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

 



Martijn van Oosterhout <kleptog@xxxxxxxxx> writes:
> First step, you must connect with psql and then attach gdb to the
> running process (there's a function to get the pid of your backend).
> Next, you can use "LOAD foo" in psql to trigger the loading of your
> module, gdb should then be able to see it (assuming you have debug
> symbols everywhere).

On some platforms it's necessary to do the LOAD first (before attaching
with gdb).  Experiment...

			regards, tom lane

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