pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: gkchinna.oracle@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18455: DST information is flagged wrongly
Date: Thu, 02 May 2024 11:08:23 -0400
Message-ID: <2219450.1714662503@sss.pgh.pa.us> (raw)
In-Reply-To: <18455-1f7c5337666bbd1a@postgresql.org>
References: <18455-1f7c5337666bbd1a@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> postgres=# select * from pg_timezone_names where name ilike '%dublin%';
>      name      | abbrev | utc_offset | is_dst 
> ---------------+--------+------------+--------
>  Europe/Dublin | IST    | 01:00:00   | f
> (1 row)

Huh, that is very interesting.  On my MacBook with a
build using --with-system-tzdata=/usr/share/zoneinfo,
I get:

postgres=# select * from pg_timezone_names where name ilike '%dublin%';
     name      | abbrev | utc_offset | is_dst 
---------------+--------+------------+--------
 Europe/Dublin | IST    | 01:00:00   | t
(1 row)

and the same on a RHEL box.  However, if I build using
PG's internal copy of the timezone database:

regression=# select * from pg_timezone_names where name ilike '%dublin%';
     name      | abbrev | utc_offset | is_dst 
---------------+--------+------------+--------
 Europe/Dublin | IST    | 01:00:00   | f
(1 row)

We're all on 2024a (and Europe/Dublin hasn't changed definition
recently anyway), so what's going on there?

I suspect this may be down to different options being used in
the "zic" run that builds the zone data files, but haven't
had time to look closer than that.

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <2219450.1714662503@sss.pgh.pa.us>
Permalink:  ../2219450.1714662503@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2219450.1714662503@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gkchinna.oracle@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18455: DST information is flagged wrongly
  In-Reply-To: <2219450.1714662503@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox