[GENERAL] C-Language Function on VC2005: could not load library ERROR

2010-04-08 Thread chaoyong wang
Hi,I'm using VC2005 to create PG C-language Fun in my contrib xml_index, which import other library, and I have add the include and lib directory by changing Mkvcbuild.pm and config.pl. But after I executed the following commands:build DEBUGperl install.pl C:\Program

[GENERAL] How to add an external lib to PG

2010-03-21 Thread chaoyong wang
Hi, I build PG on VS2005, which files should I change to use a external lib in my own contrib, for example, Berkeley DB 4.8.26? Until now, I have tried the following 2 ways, but both failed. 1. Add the target include and lib 1). src/tools/msvc/config.pl add a

[GENERAL] 2 questions when using vs2005 to debug PG

2010-03-08 Thread chaoyong wang
Hi,I'm using vs2005 to debug PG, and I have 2 questions to ask:1. I want to add a function to contrib/xml2/xpath.c I changed xpath.c, pgxml.sql, pgxml.sql.in at the same time, then I builded and installed as the document said.When I execute psql test pgxml.sql, all functions created

[GENERAL] 2 questions to ask

2010-03-08 Thread chaoyong wang
Hi, I'm using vs2005 to debug PG, and I have 2 questions to ask: 1. I want to add a function to contrib/xml2/xpath.c I changed xpath.c, pgxml.sql, pgxml.sql.in at the same time, then I builded and installed as the document said.When I execute psql test pgxml.sql, all functions created