From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jerry Sievers <gsievers19@comcast.net>
Cc: pggeneral <pgsql-general@lists.postgresql.org>
Subject: Re: Psycopg3 fails to resolve 'timezone localtime' on MacOS
Date: Thu, 05 May 2022 21:29:11 -0400
Message-ID: <2772412.1651800551@sss.pgh.pa.us> (raw)
In-Reply-To: <108B3AA1-8FBF-4C76-98BE-490156DAA5B5@comcast.net>
References: <108B3AA1-8FBF-4C76-98BE-490156DAA5B5@comcast.net>
Jerry Sievers <gsievers19@comcast.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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, gsievers19@comcast.net
Subject: Re: Psycopg3 fails to resolve 'timezone localtime' on MacOS
In-Reply-To: <2772412.1651800551@sss.pgh.pa.us>
References: <108B3AA1-8FBF-4C76-98BE-490156DAA5B5@comcast.net> <2772412.1651800551@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