summaryrefslogtreecommitdiff
path: root/src/timezone/pgtz.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-07-17 18:26:23 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-07-17 18:26:23 -0400
commit59cea8f36be725533a0f94607f498b7628aa4b9d (patch)
tree2738a70a26c3aedb32bad3012165c24727dc0345 /src/timezone/pgtz.h
parente0d13dc6fd71cc647af8aaa82179f1b878f41437 (diff)
Sync our copy of the timezone library with IANA release tzcode2019b.
A large fraction of this diff is just due to upstream's somewhat random decision to rename a bunch of internal variables and struct fields. However, there is an interesting new feature in zic: it's grown a "-b slim" option that emits zone files without 32-bit data and other backwards-compatibility hacks. We should consider whether we wish to enable that.
Diffstat (limited to 'src/timezone/pgtz.h')
-rw-r--r--src/timezone/pgtz.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timezone/pgtz.h b/src/timezone/pgtz.h
index ff83bffc7ef..3ddc4a65acc 100644
--- a/src/timezone/pgtz.h
+++ b/src/timezone/pgtz.h
@@ -25,11 +25,11 @@
struct ttinfo
{ /* time type information */
- int32 tt_gmtoff; /* UT offset in seconds */
+ int32 tt_utoff; /* UT offset in seconds */
bool tt_isdst; /* used to set tm_isdst */
- int tt_abbrind; /* abbreviation list index */
+ int tt_desigidx; /* abbreviation list index */
bool tt_ttisstd; /* transition is std time */
- bool tt_ttisgmt; /* transition is UT */
+ bool tt_ttisut; /* transition is UT */
};
struct lsinfo