Observed Compilation warning in WIN32 build - Mailing list pgsql-hackers

From Rajeev rastogi
Subject Observed Compilation warning in WIN32 build
Date
Msg-id BF2827DCCE55594C8D7A8F7FFD3AB7713DDBD22D@SZXEML508-MBX.china.huawei.com
Whole thread Raw
Responses Re: Observed Compilation warning in WIN32 build  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers

I observed below WIN32 compilation warnings in postmaster.c (seems introduced by commit ea9df812d8502fff74e7bc37d61bdc7d66d77a7f “Relax the requirement that all lwlocks be stored in a single array.”).

 

                1>.\src\backend\postmaster\postmaster.c(5625) : warning C4133: '=' : incompatible types - from 'LWLockPadded *' to 'LWLock *'

1>.\src\backend\postmaster\postmaster.c(5856) : warning C4133: '=' : incompatible types - from 'LWLock *' to 'LWLockPadded *'

 

Attached is the patch with the fix.

 

Thanks and Regards,

Kumar Rajeev Rastogi

 

Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pg_basebackup and pg_stat_tmp directory
Next
From: Rajeev rastogi
Date:
Subject: Re: Patch: Show process IDs of processes holding a lock; show relation and tuple infos of a lock to acquire