Thread: [PATCH] Patch to fix missing libecpg_compat.lib and libpgtypes.lib.

[PATCH] Patch to fix missing libecpg_compat.lib and libpgtypes.lib.

From
JiangGuiqing
Date:
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





Attachment

Re: [PATCH] Patch to fix missing libecpg_compat.lib and libpgtypes.lib.

From
Peter Eisentraut
Date:
On Mon, 2012-11-19 at 14:03 +0800, JiangGuiqing wrote:
> 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".

Could someone with access to Windows verify this patch?




Re: [PATCH] Patch to fix missing libecpg_compat.lib and libpgtypes.lib.

From
Magnus Hagander
Date:
On Tue, Jan 8, 2013 at 4:16 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On Mon, 2012-11-19 at 14:03 +0800, JiangGuiqing wrote:
>> 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".
>
> Could someone with access to Windows verify this patch?

Thta version doesn't even apply to 9.1 - only to master. And the
indent on master is really bad.

That said, function looks good, so I've cleaned i tup and applied.

--Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/