Skip site navigation (1) Skip section navigation (2)

s/size_t/off_t/ in sendTimeLineHistory

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: s/size_t/off_t/ in sendTimeLineHistory
Date: 2013-01-14 22:27:07
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers

When looking at the report of probable fallout from the elog stuff I
noticed this warning:

walsender.c(366): warning #186: pointless comparison of unsigned integer with zero

Which is accurate, the rather unlikely problem of a seek error could not
be noticed atm and would probably send strange stuff over the wire.


Andres Freund

 Andres Freund	         
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment: sendTimeLineHistory-off_t.patch
Description: text/x-patch (506 bytes)


pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2013-01-14 22:27:53
Subject: Re: recent ALTER whatever .. SET SCHEMA refactoring
Previous:From: Heikki LinnakangasDate: 2013-01-14 22:14:50
Subject: Re: Curious buildfarm failures

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group