Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6Zrf-000Ssu-6u for pgsql-general@arkaria.postgresql.org; Mon, 13 May 2024 17:53:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s6Zrf-003F4S-6v for pgsql-general@arkaria.postgresql.org; Mon, 13 May 2024 17:53:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6Zre-003F4I-Q9 for pgsql-general@lists.postgresql.org; Mon, 13 May 2024 17:53:30 +0000 Received: from mout-u-107.mailbox.org ([2001:67c:2050:101:465::107]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6Zrb-0002Dl-NI for pgsql-general@lists.postgresql.org; Mon, 13 May 2024 17:53:29 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4VdRt92DZ4z9sf0; Mon, 13 May 2024 19:53:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ewie.name; s=MBO0001; t=1715622801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Q9yL7xBIdTBKCJZs4tVIgLcyssSMQpytuppuLhFzf1Q=; b=PBpjG354TYb2d11c+z6WmLLwZvJ5HBLjydWfNsPiUn4xsUpM1mWpRa1xKP0k4iNba+9HOz fxMzGLf8mAo1McXs3InnhanEsjhJ5m7jZweT6aZBmKfvzvMCbCgpq9Ztku1nqaO53w/pnX XbFD7VR3EW4Q03FHHE8Z56cYtYgIx7d6ZT9UvAKIqkMA/PiFY7IxYbb7VqjUvsdUGz71qI RhXJNTujXi8ppJoW6u7e3aV6SKN92LLY34p4BmlQOWfqMAnhyFE+Z7q0DKZQokUHdOnrTY G8jDlZez8OcSqedncfyECAmflFJGrjg8aQoxzs8rW6CR8t22mbe/N7BDfXH4rA== Date: Mon, 13 May 2024 19:53:19 +0200 From: Erik Wienhold To: Christophe Pettus Cc: "pgsql-generallists.postgresql.org" Subject: Re: UTC is not a time zone? Message-ID: References: <327870A4-F35C-462C-9F64-E0838374AFDF@thebuild.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <327870A4-F35C-462C-9F64-E0838374AFDF@thebuild.com> X-Rspamd-Queue-Id: 4VdRt92DZ4z9sf0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-05-13 19:37 +0200, Christophe Pettus wrote: > PostgreSQL 16.3 on MacOS Sonoma. A long-running process (which held a > connection open the entire time) failed with: > > 2024-05-13 09:12:44.719 PDT,"cyan","cyan",35926,"[local]",664214f9.8c56,3,"SELECT",2024-05-13 06:26:17 PDT,3/444460,0,ERROR,22023,"invalid value for parameter ""TimeZone"": ""UTC""",,,,,"while setting parameter ""TimeZone"" to ""UTC"" > parallel worker"," select count(1), count(1) filter (where visited > 0) from framework_seenchoice ",,,"","client backend",,0 > > It's not (easily) repeatable, and the system was not touched while the > process was running (no installing new binaries, etc.). Does this > look familiar to anyone? Could be the same issue as [1] (also on macOS). Can you trigger that error with: SET timezone = 'UTC'; And what's the output of: SELECT * FROM pg_timezone_names ORDER BY name; [1] https://www.postgresql.org/message-id/5DF49366-10D1-42A4-99BF-F9A7DC3AB0F4%40mailbox.org -- Erik