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

Re: pgsql-server: Still another try at matching system

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)svr1(dot)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server: Still another try at matching system
Date: 2004-07-31 20:04:48
Message-ID: 200407312004.i6VK4m316053@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
Excellent!

---------------------------------------------------------------------------

Tom Lane wrote:
> Log Message:
> -----------
> Still another try at matching system timezone nicely.  On non-Windows
> machines, break tie scores by preferring shorter zone names over longer;
> for names of equal length, prefer the alphabetically first name.  This
> yields for example 'EST5EDT' not 'America/New_York' for US eastern time.
> On Windows, abandon the whole concept of inspecting the detailed behavior
> of the system TZ library, because it doesn't bear inspection :-(.  Instead
> use a hardwired mapping table to select our zone name based on the
> result of strftime %Z output.  Windows code from Magnus Hagander.
> 
> Modified Files:
> --------------
>     pgsql-server/src/timezone:
>         pgtz.c (r1.20 -> r1.21)
>         (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/timezone/pgtz.c.diff?r1=1.20&r2=1.21)
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-committers by date

Next:From: Tom LaneDate: 2004-07-31 20:55:46
Subject: pgsql-server: Be more consistent about reporting SPI errors in the
Previous:From: Bruce MomjianDate: 2004-07-31 20:00:27
Subject: pgsql-server: Escape backslashes from translation message rather than

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