Re: [PATCHES] tzcode update

2008-02-13 Thread Heikki Linnakangas
Heikki Linnakangas wrote: I'll add some tests to cover timestamps > 2038. Attached is a new patch, with a couple of new regression tests. No other changes. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com pg-tzcode2007k-2.patch.gz Description: GNU Zip compressed data -

Re: [PATCHES] tzcode update

2008-02-13 Thread Heikki Linnakangas
I just noticed that I had accidentally reverted this change in the patch: /* * Note: the point of adding 4800 is to ensure we make the same * assumptions as Postgres' Julian-date routines about the placement of * leap years in centuries BC, at least back to 471

Re: [PATCHES] tzcode update

2008-02-13 Thread Tom Lane
"Heikki Linnakangas" <[EMAIL PROTECTED]> writes: > Looking closer, I don't understand how that change was supposed to do > anything. The point of that patch is to avoid an off-by-one result for years BC. The direction of rounding in integer division with a negative numerator is undefined in C (or

[PATCHES] SSL libpq patch applied

2008-02-13 Thread Bruce Momjian
I have applied the attached patch which renames a libpq NOT_USED SSL function to verify_peer_name_matches_certificate(), clarifies some of the function's variables and logic, and updates a comment. This should make SSL improvements easier in the future. -- Bruce Momjian <[EMAIL PROTECTED]>