Re: Minor binary-search int overflow in timezone code - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: Minor binary-search int overflow in timezone code
Date
Msg-id 20141215193903.GA14863@msg.df7cb.de
Whole thread Raw
In response to Re: Minor binary-search int overflow in timezone code  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Minor binary-search int overflow in timezone code  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
Re: Tom Lane 2014-12-15 <21813.1418655100@sss.pgh.pa.us>
> This is totally silly.  The timecnt couldn't be anywhere near INT_MAX (in
> fact, it is not allowed to exceed TZ_MAX_TIMES, which is currently just
> 1200).  And there are bunches of other instances of similar code in PG;
> shall we put equally wishy-washy comments on them all?

Well, if it's not interesting, let's just forget it. Sorry.

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Commitfest problems
Next
From: Josh Berkus
Date:
Subject: Re: Commitfest problems