Re: Failure of postgres_fdw because of TimeZone setting - Mailing list pgsql-general

From Adnan Dautovic
Subject Re: Failure of postgres_fdw because of TimeZone setting
Date
Msg-id 98F8816F-0AC2-4308-961F-4C7A4FC2C646@mailbox.org
Whole thread Raw
In response to Re: Failure of postgres_fdw because of TimeZone setting  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Failure of postgres_fdw because of TimeZone setting
Re: Failure of postgres_fdw because of TimeZone setting
List pgsql-general
Hi,

On 05. Apr 2024, at 16:13, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>Adnan Dautovic <daut@mailbox.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





pgsql-general by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: mystery with postgresql.auto.conf
Next
From: Adnan Dautovic
Date:
Subject: Re: Failure of postgres_fdw because of TimeZone setting