Re: Failure of postgres_fdw because of TimeZone setting

From: Adnan Dautovic <daut(at)mailbox(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Failure of postgres_fdw because of TimeZone setting
Date: 2024-04-10 19:38:52
Message-ID: 98F8816F-0AC2-4308-961F-4C7A4FC2C646@mailbox.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On 05. Apr 2024, at 16:13, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>Adnan Dautovic <daut(at)mailbox(dot)org> writes:
>> SELECT * FROM pg_timezone_names ORDER BY name;
>
>>> "name" "abbrev" "utc_offset" "is_dst"
>>> "Turkey" "+03" "03:00:00" false
>>> "UCT" "UCT" "00:00:00" false
>>> "Universal" "UTC" "00:00:00" false
>>> "W-SU" "MSK" "03:00:00" false
>
>Wow. To clarify, is that the *whole* result?

I apologize for the confusion, this is an excerpt where I cut out
everything before "Turkey" and after "W-SU". Between those, the
output is complete.

>Out of curiosity, does
> SET timezone to 'GMT';
>work?

Yes, it yields:
>SET
>
>Query returned successfully in 84 msec.

The corresponding excerpt from pg_timezone_names is:
>"name" "abbrev" "utc_offset" "is_dst"
> [snip]
>"Europe/Zurich" "CEST" "02:00:00" true
>"GB-Eire" "BST" "01:00:00" true
>"Greenwich" "GMT" "00:00:00" false
>"HST" "HST" "-10:00:00" false
>"Hongkong" "HKT" "08:00:00" false
>"Iceland" "GMT" "00:00:00" false
> [snip]

By the way, the row count of pg_timezone_names is 385, but I do
not know how that compares to a more standard installation.

Kind regards,

Adnan Dautovic

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adnan Dautovic 2024-04-10 19:48:30 Re: Failure of postgres_fdw because of TimeZone setting
Previous Message Greg Sabino Mullane 2024-04-10 16:34:15 Re: mystery with postgresql.auto.conf