hi I install postgresql-9.1.5 from source code on windows successfully. But there is not "libecpg_compat.lib" and "libpgtypes.lib" in the installed lib directory . If someone used functions of pgtypes or ecpg_compat library in ecpg programs,the ecpg program build will fail.
So i modify src/tools/msvc/Install.pm to resolve this problem. The diff file refer to the attachment "Install.pm.patch". Regards, Jiang Guiqing
diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm index 6036714..91e6a53 100644 --- a/src/tools/msvc/Install.pm +++ b/src/tools/msvc/Install.pm @@ -86,7 +86,7 @@ sub Install 'Import libraries', $target . '/lib/', "$conf\\", "postgres\\postgres.lib", "libpq\\libpq.lib", "libecpg\\libecpg.lib", - "libpgport\\libpgport.lib"); + "libpgport\\libpgport.lib","libpgtypes\\libpgtypes.lib","libecpg_compat\\libecpg_compat.lib"); CopySetOfFiles( 'timezone names', [ glob('src\timezone\tznames\*.txt') ],
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers