Re: Psycopg3 fails to resolve 'timezone localtime' on MacOS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jerry Sievers <gsievers19(at)comcast(dot)net>
Cc: pggeneral <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Psycopg3 fails to resolve 'timezone localtime' on MacOS
Date: 2022-05-06 01:29:11
Message-ID: 2772412.1651800551@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jerry Sievers <gsievers19(at)comcast(dot)net> writes:
> Psycopg3 fails to resolve timezone localtime on MacOS (Catalina).

I doubt Postgres will accept that zone name anywhere. It's
not a standard name as far as the tzdb data set is concerned.

(Having said that, it's far from clear to me whether this code
fragment is trying to set the PG server's timezone setting or
not. Your issue may be purely a Python one.)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniele Varrazzo 2022-05-06 01:43:17 Re: Psycopg3 fails to resolve 'timezone localtime' on MacOS
Previous Message Jerry Sievers 2022-05-06 01:03:54 Psycopg3 fails to resolve 'timezone localtime' on MacOS