AFAIK, we don't support ecpg with MSVC, only with MingW. Meaning it
hasn't been verified to work. But it should be Ok to generate LIB files
from the DLL and use those - just not tested. I don't see why it
shouldn't work...
If it does work we should consider adding MSVC import libraries in the
MSI build. Dave - we do this for some other package already, don't we?
//Magnus
> -----Original Message-----
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]=20
> Sent: Tuesday, November 30, 2004 8:49 PM
> To: Tom O'Connell
> Cc: pgsql-bugs@postgresql.org
> Subject: Re: [BUGS] BUG #1319: Windows LIB file libecpg.lib=20
> not in build or package
>=20
>=20
> Is there some problem with using ecpg on Win32? I was not=20
> aware of one.
>=20
> --------------------------------------------------------------
> -------------
>=20
> PostgreSQL Bugs List wrote:
> >=20
> > The following bug has been logged online:
> >=20
> > Bug reference: 1319
> > Logged by: Tom O'Connell
> >=20
> > Email address: toconnell@bphnx.com
> >=20
> > PostgreSQL version: 8.0 Beta
> >=20
> > Operating system: Windows 2000 Professional
> >=20
> > Description: Windows LIB file libecpg.lib not in=20
> build or package
> >=20
> > Details:=20
> >=20
> > The PostgreSQl version 8 BETA 4 package does not contain a=20
> libecpg.lib file.=20
> > The build does not contain a Windows DEF file for libecpg.=20=20=20
> >=20
> > I was able to create the DEF file and LIB file for libecpg. I have=20
> > run a few tests and the interface is working.
> >=20
> > A lib file is shipped in ..\lib\ms for the libpq interface.=20=20
> >=20
> >=20
> > ---------------------------(end of=20
> > broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >=20
> > http://www.postgresql.org/docs/faqs/FAQ.html
> >=20
>=20
> --=20
> Bruce Momjian | http://candle.pha.pa.us
> pgman@candle.pha.pa.us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square,=20
> Pennsylvania 19073
>=20
> ---------------------------(end of=20
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>=20
>=20