Re: [pgsql-hackers-win32] Weird new time zone - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [pgsql-hackers-win32] Weird new time zone
Date
Msg-id 15586.1089951189@sss.pgh.pa.us
Whole thread Raw
In response to Re: [pgsql-hackers-win32] Weird new time zone  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-hackers
Oliver Jowett <oliver@opencloud.com> writes:
> How about scanning backwards until you have <= 1 choice or decide to
> give up?

Hmm ... that really seems like not a bad idea.  Scan all the available
timezones, score each on how far back it goes before a mismatch, take
the one that goes furthest back.  I'm not sure what to do about ties,
nor what the minimum "passing score" ought to be, but seems like the
germ of an answer.  Comments anyone?

            regards, tom lane

pgsql-hackers by date:

Previous
From: Michael Glaesemann
Date:
Subject: Converting epoch to timestamp
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: How to display privileges in psql