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

pgsql: Andrew pointed out that the current fix didn't handle dates that

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Andrew pointed out that the current fix didn't handle dates that
Date: 2005-07-23 14:25:35
Message-ID: 20050723142535.2357C529FC@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Andrew pointed out that the current fix didn't handle dates that were
near daylight savings time boudaries.  This handles it properly, e.g.

        test=> select '2005-04-03 04:00:00'::timestamp at time zone
        'America/Los_Angeles';
                timezone
        ------------------------
         2005-04-03 07:00:00-04
        (1 row)

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        date.c (r1.118 -> r1.119)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/date.c.diff?r1=1.118&r2=1.119)
        datetime.c (r1.156 -> r1.157)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c.diff?r1=1.156&r2=1.157)
        formatting.c (r1.92 -> r1.93)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c.diff?r1=1.92&r2=1.93)
        nabstime.c (r1.141 -> r1.142)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/nabstime.c.diff?r1=1.141&r2=1.142)
        timestamp.c (r1.143 -> r1.144)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c.diff?r1=1.143&r2=1.144)
    pgsql/src/include/utils:
        datetime.h (r1.55 -> r1.56)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/datetime.h.diff?r1=1.55&r2=1.56)

pgsql-committers by date

Next:From: User AndrewdDate: 2005-07-23 14:40:23
Subject: pgbuildfarm - client-code: save config log and CVS log where possible.
Previous:From: Bruce MomjianDate: 2005-07-23 14:20:06
Subject: Re: pgsql: In the stats test, delay for the stats collector

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