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 1ue6kg-0057kf-87 for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Jul 2025 06:45:26 +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 1ue6kf-005VK4-Cu for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Jul 2025 06:45:25 +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 1ue6kf-005VJw-3L for pgsql-hackers@lists.postgresql.org; Tue, 22 Jul 2025 06:45:25 +0000 Received: from relay15.mail.gandi.net ([2001:4b98:dc4:8::235]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1ue6kd-0009lT-09 for pgsql-hackers@lists.postgresql.org; Tue, 22 Jul 2025 06:45:24 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 75A21442EC; Tue, 22 Jul 2025 06:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postgresfriends.org; s=gm1; t=1753166717; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OhYxdXaI15pR16byh9P8hESB4Nwdg/JfqA5szDWp/Kw=; b=LZ3UCw115UvSm8Tb2LTjjgsKK9jGQpMMO7AdGfJsIhDV+x0EYsLaOgf5jFOcTabaBHQ4ed kgQ23ql+j/0Uz/Ab3XBcf6ygu83tpeAjDeQ+3dIoafNo+kKh5emd9m23FNl5YZQ2/CsKR7 j9PFfWo8AYbCcbwNaeIB4ggOWasjMqizM2ivFfPYbLn0YC4vdnqHVlkLuEa7+I2lbFB+91 NYYGfT3UZ1GFuFpBJLhiZ3vs5qZw31iinq3qhzOsGBIIQOXiYsJ6iFdWsu8MlgtL7c8h0w JEb3m/H/CWoYXYnBdhMwFaTLPgdnQSI9jriVpHmuLS+cR1fyUNEQme7lMEE/lQ== Message-ID: <04afcd1f-ed7d-4c0a-add1-50e3719ccbf9@postgresfriends.org> Date: Tue, 22 Jul 2025 08:45:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: CAST(... ON DEFAULT) - WIP build on top of Error-Safe User Functions To: jian he , Corey Huinker Cc: Isaac Morland , pgsql-hackers@lists.postgresql.org References: Content-Language: en-US From: Vik Fearing In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejgedviecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeggihhkucfhvggrrhhinhhguceovhhikhesphhoshhtghhrvghsfhhrihgvnhgushdrohhrgheqnecuggftrfgrthhtvghrnhepjedtuefhuddtuddugefhgeeuleetveekheevgeekgfejvdffffelteelffekkeegnecuffhomhgrihhnpegvihhsvghnthhrrghuthdrohhrghenucfkphepvdgrtddvmeekgedvkeemudduvgdtmedvjedtudemrgegvgdumeegvdhfgeemrgelrgekmeekvgeikeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrgdtvdemkeegvdekmeduudgvtdemvdejtddumegrgegvudemgedvfhegmegrlegrkeemkegvieekpdhhvghloheplgfkrfggieemvdgrtddvmeekgedvkeemudduvgdtmedvjedtudemrgegvgdumeegvdhfgeemrgelrgekmeekvgeikegnpdhmrghilhhfrhhomhepvhhikhesphhoshhtghhrvghsfhhrihgvnhgushdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopehjihgrnhdruhhnihhvvghrshgrlhhithihsehgmhgrihhlrdgtohhmpdhrtghpthhtoheptghor hgvhidrhhhuihhnkhgvrhesghhmrghilhdrtghomhdprhgtphhtthhopehishgrrggtrdhmohhrlhgrnhgusehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 22/07/2025 03:59, jian he wrote: > Based on my reading of [4], it seems CAST(EXPRESSION AS TYPE DEFAULT > def_expr ON ERROR) > is not included in SQL:2023. > > [4]https://peter.eisentraut.org/blog/2023/04/04/sql-2023-is-finished-here-is-whats-new It was accepted into the standard after 2023 was released.  I am the author of this change in the standard, so feel free to ask me anything you're unsure about. -- Vik Fearing