Search Postgresql Archives

Re: Link error: LNK2019: unresolved external symbol _pg_detoast_datum

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

 



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

[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