On Tue, Sep 17, 2013 at 2:27 PM, Andrew Gierth
<[email protected]> wrote:
>>>>>> "Robert" == Robert Haas <[email protected]> writes:
>
>  >> Someone should do the same in WaitForBackgroundWorkerStartup so
>  >> that building with -Werror works.
>
>  Robert> I don't get a warning there.  Can you be more specific about
>  Robert> the problem?
>
> bgworker.c: In function 'WaitForBackgroundWorkerStartup':
> bgworker.c:866: warning: 'pid' may be used uninitialized in this function

Does the attached patch fix it for you?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment: bgworker-wait-fix.patch
Description: Binary data

-- 
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to