CVS log for pgsql/src/timezone/strftime.c

[BACK] Up to [PostgreSQL CVS Repository] / pgsql / src / timezone

Request diff between arbitrary revisions - Display revisions graphically


Keyword substitution: kv
Default branch: MAIN


Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 11 18:43:32 2010 UTC (15 years, 7 months ago) by tgl
Branches: REL8_4_STABLE
CVS tags: REL8_4_4, REL8_4_3
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +2 -2 lines
Sync timezone code with tzcode 2010c from the Olson group.  This fixes some
corner cases that come up in certain timezones (apparently, only those with
lots and lots of distinct TZ transition rules, as far as I can gather from
a quick scan of their archives).  Per suggestion from Jeevan Chalke.

Back-patch to 8.4.  Possibly we need to push this into earlier releases
as well, but I'm hesitant to update them to the 64-bit tzcode without
more thought and testing.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Mar 11 18:43:24 2010 UTC (15 years, 7 months ago) by tgl
Branches: MAIN
CVS tags: REL9_1_ALPHA1, REL9_0_STABLE, REL9_0_RC1, REL9_0_BETA4, REL9_0_BETA3, REL9_0_BETA2, REL9_0_BETA1, REL9_0_ALPHA5_BRANCH, REL9_0_ALPHA5, REL9_0_0, HEAD
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Sync timezone code with tzcode 2010c from the Olson group.  This fixes some
corner cases that come up in certain timezones (apparently, only those with
lots and lots of distinct TZ transition rules, as far as I can gather from
a quick scan of their archives).  Per suggestion from Jeevan Chalke.

Back-patch to 8.4.  Possibly we need to push this into earlier releases
as well, but I'm hesitant to update them to the 64-bit tzcode without
more thought and testing.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 11 14:49:15 2009 UTC (16 years, 4 months ago) by momjian
Branches: MAIN
CVS tags: REL9_0_ALPHA4_BRANCH, REL9_0_ALPHA4, REL8_5_ALPHA3_BRANCH, REL8_5_ALPHA3, REL8_5_ALPHA2_BRANCH, REL8_5_ALPHA2, REL8_5_ALPHA1_BRANCH, REL8_5_ALPHA1, REL8_4_RC2, REL8_4_RC1, REL8_4_2, REL8_4_1, REL8_4_0
Branch point for: REL8_4_STABLE
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +13 -13 lines
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
provided by Andrew.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Feb 19 12:06:35 2008 UTC (17 years, 8 months ago) by mha
Branches: MAIN
CVS tags: REL8_4_BETA2, REL8_4_BETA1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2 lines
Fix function prototype to silence compiler warnings.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Feb 16 21:16:04 2008 UTC (17 years, 8 months ago) by tgl
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +61 -18 lines
Update timezone code to track the upstream changes since 2003.  In particular
this adds support for 64-bit tzdata files, which is needed to support DST
calculations beyond 2038.  Add a regression test case to give some minimal
confidence that that really works.

Heikki Linnakangas

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jul 14 14:52:27 2006 UTC (19 years, 3 months ago) by momjian
Branches: MAIN
CVS tags: REL8_3_STABLE, REL8_3_RC2, REL8_3_RC1, REL8_3_BETA4, REL8_3_BETA3, REL8_3_BETA2, REL8_3_BETA1, REL8_3_9, REL8_3_8, REL8_3_7, REL8_3_6, REL8_3_5, REL8_3_4, REL8_3_3, REL8_3_2, REL8_3_11, REL8_3_10, REL8_3_1, REL8_3_0, REL8_2_STABLE, REL8_2_RC1, REL8_2_BETA3, REL8_2_BETA2, REL8_2_BETA1, REL8_2_9, REL8_2_8, REL8_2_7, REL8_2_6, REL8_2_5, REL8_2_4, REL8_2_3, REL8_2_2, REL8_2_17, REL8_2_16, REL8_2_15, REL8_2_14, REL8_2_13, REL8_2_12, REL8_2_11, REL8_2_10, REL8_2_1, REL8_2_0
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2 lines
Remove 576 references of include files that were not needed.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jul 14 04:59:30 2006 UTC (19 years, 3 months ago) by momjian
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -0 lines
Revert part of recent include patch not ready for application.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jul 14 04:44:46 2006 UTC (19 years, 3 months ago) by momjian
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -2 lines
Add additional includes needed on some platforms.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Oct 15 02:49:51 2005 UTC (20 years ago) by momjian
Branches: MAIN
CVS tags: REL8_1_STABLE, REL8_1_9, REL8_1_8, REL8_1_7, REL8_1_6, REL8_1_5, REL8_1_4, REL8_1_3, REL8_1_21, REL8_1_20, REL8_1_2, REL8_1_19, REL8_1_18, REL8_1_17, REL8_1_16, REL8_1_15, REL8_1_14, REL8_1_13, REL8_1_12, REL8_1_11, REL8_1_10, REL8_1_1, REL8_1_0RC1, REL8_1_0BETA4, REL8_1_0
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +25 -26 lines
Standard pgindent run for 8.1.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jun 20 08:00:51 2005 UTC (20 years, 4 months ago) by neilc
Branches: MAIN
CVS tags: REL8_1_0BETA3, REL8_1_0BETA2, REL8_1_0BETA1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
Cosmetic improvements to the timezone code: remove the use of the
'register' qualifier, make some function declarations more consistent,
and so on.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Apr 19 03:13:59 2005 UTC (20 years, 6 months ago) by momjian
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Attached patch gets rid of the global timezone in the following steps:

* Changes the APIs to the timezone functions to take a pg_tz pointer as
an argument, representing the timezone to use for the selected
operation.

* Adds a global_timezone variable that represents the current timezone
in the backend as set by SET TIMEZONE (or guc, or env, etc).

* Implements a hash-table cache of loaded tables, so we don't have to
read and parse the TZ file everytime we change a timezone. While not
necesasry now (we don't change timezones very often), I beleive this
will be necessary (or at least good) when "multiple timezones in the
same query" is eventually implemented. And code-wise, this was the time
to do it.


There are no user-visible changes at this time. Implementing the
"multiple zones in one query" is a later step...

This also gets rid of some of the cruft needed to "back out a timezone
change", since we previously couldn't check a timezone unless it was
activated first.

Passes regression tests on win32, linux (slackware 10) and solaris x86.

Magnus Hagander

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 29 05:07:02 2004 UTC (21 years, 2 months ago) by momjian
Branches: MAIN
CVS tags: REL8_0_STABLE, REL8_0_9, REL8_0_8, REL8_0_7, REL8_0_6, REL8_0_5, REL8_0_4, REL8_0_3, REL8_0_25, REL8_0_24, REL8_0_23, REL8_0_22, REL8_0_21, REL8_0_20, REL8_0_2, REL8_0_19, REL8_0_18, REL8_0_17, REL8_0_16, REL8_0_15, REL8_0_14, REL8_0_13, REL8_0_12, REL8_0_11, REL8_0_10, REL8_0_1, REL8_0_0RC5, REL8_0_0RC4, REL8_0_0RC3, REL8_0_0RC2, REL8_0_0RC1, REL8_0_0BETA5, REL8_0_0BETA4, REL8_0_0BETA3, REL8_0_0BETA2, REL8_0_0
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +26 -27 lines
Pgindent run for 8.0.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jun 3 02:08:07 2004 UTC (21 years, 5 months ago) by tgl
Branches: MAIN
CVS tags: REL8_0_0BETA1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -16 lines
Adjust our timezone library to use pg_time_t (typedef'd as int64) in
place of time_t, as per prior discussion.  The behavior does not change
on machines without a 64-bit-int type, but on machines with one, which
is most, we are rid of the bizarre boundary behavior at the edges of
the 32-bit-time_t range (1901 and 2038).  The system will now treat
times over the full supported timestamp range as being in your local
time zone.  It may seem a little bizarre to consider that times in
4000 BC are PST or EST, but this is surely at least as reasonable as
propagating Gregorian calendar rules back that far.

I did not modify the format of the zic timezone database files, which
means that for the moment the system will not know about daylight-savings
periods outside the range 1901-2038.  Given the way the files are set up,
it's not a simple decision like 'widen to 64 bits'; we have to actually
think about the range of years that need to be supported.  We should
probably inquire what the plans of the upstream zic people are before
making any decisions of our own.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri May 21 20:59:10 2004 UTC (21 years, 5 months ago) by tgl
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +77 -68 lines
pgindent did a pretty awful job on the timezone code, particularly with
respect to doubly-starred comment blocks.  Do some manual cleanup.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 21 12:30:25 2004 UTC (21 years, 5 months ago) by momjian
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +371 -360 lines
Pgindent timezone file, per request from Tom.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 21 05:08:06 2004 UTC (21 years, 5 months ago) by tgl
Branches: MAIN
Integrate src/timezone library for all platforms.  There is more we can
and should do now that we control our own destiny for timezone handling,
but this commit gets the bulk of the picayune diffs in place.
Magnus Hagander and Tom Lane.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

PostgreSQL CVSweb <[email protected]>