Re: [PERFORM] Link error when use Pgtypes function in windows

2011-05-19 Thread Robert Haas
On Fri, May 13, 2011 at 12:22 PM, Maciek Sakrejda wrote: >> Does someone can help me? > > You may want to try pgsql-general instead of this list. Yeah, this isn't a performance question. But I wonder if the problem might be that the OP needs to link with the ecpg library, not just libpq. -- Ro

Re: [PERFORM] Link error when use Pgtypes function in windows

2011-05-13 Thread Maciek Sakrejda
> Does someone can help me? You may want to try pgsql-general instead of this list. --- Maciek Sakrejda | System Architect | Truviso 1065 E. Hillsdale Blvd., Suite 215 Foster City, CA 94404 (650) 242-3500 Main www.truviso.com -- Sent via pgsql-performance mailing list (pgsql-performance@postgre

[PERFORM] Link error when use Pgtypes function in windows

2011-05-13 Thread Fanbin Meng
Hi: I installed PostgreSQL9.0 from EnterpriseDB with“one click installer” in windows 7 & 32bit. and use microsoft visual studio 2010 c++. I added the libpq.lib to the link property of the project, also included the lib folder and path. Successfully compiled .c and .cpp file after transfer .pg