Re: Failure of postgres_fdw because of TimeZone setting

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Adnan Dautovic <daut(at)mailbox(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Failure of postgres_fdw because of TimeZone setting
Date: 2024-04-04 15:15:42
Message-ID: faf7d602-57b6-47de-87ab-a61baa9ccca1@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/3/24 22:23, Adnan Dautovic wrote:
> Hi everyone,
>
>
> I have some trouble using postgres_fdw in order to display some data from a Postgres database I do not control in a Postgres database that I do control. I filled out the form from the wiki below and would appreciate any tips.
>
>
> * A description of what you are trying to achieve and what results you expect.:
> I am trying to import the public schema of a Postgres instance I do not control (I will call it "remote"), but have read-only access to, into a Postgres instance I fully control (I will call it "local"), using the foreign data wrapper postgres_fdw.

Define 'read-only', especially as it applies to the privileges on the
public schema.

Per Tom Lane's comments on timezone, log into the remote server and do:

SHOW timezone;

SET timezone = 'etc/UTC';

SET timezone = 'UTC';

>
> Does anyone have an idea for me?
>
> Kind regards,
>
>
> Adnan Dautovic
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-04-04 15:34:49 Re: Moving delta data faster
Previous Message Roman Šindelář 2024-04-04 13:42:36 Re: ALTER SUBSCRIPTION ... REFRESH cannot be executed from a function