From: | "Taras Kopets" <tkopets(at)gmail(dot)com> |
---|---|
To: | "Ale Raza" <araza(at)esri(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Link error: LNK2019: unresolved external symbol _pg_detoast_datum |
Date: | 2006-10-20 12:56:37 |
Message-ID: | ce3f16fd0610200556k4adeb1fcodc094460b671358@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
Ale Raza wrote:
>> Ok, it means I can not use MS VC complier/linker, only choice is Mingw or
Cygwin.
I think you can use MS VC, you can try to find some info from here:
http://www.postgresql.org/docs/8.0/interactive/xfunc-c.html
Read user comments at the bottom.
Ale Raza wrote:
>> Wondering if you know which process (Postmaster.exe or Postgres.exe)
>> I have to attach in order to debug this type of functions.
>> I have more complex functions where I need debugger.
In documentation it is said:
"The first time a user-defined function in a particular loadable object file
is called in a session, the dynamic loader loads that object file into
memory so that the function can be called", so I think you should try to
attach to postgres.exe (I'm not sure).
Have a nice day,
Taras Kopets
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2006-10-20 13:22:22 | Re: why not kill -9 postmaster |
Previous Message | Ron Peterson | 2006-10-20 12:44:04 | c function returning high resolution timestamp |