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 1thWDX-003QwY-Dh for pgsql-general@arkaria.postgresql.org; Mon, 10 Feb 2025 16:01:03 +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 1thWDW-002TtA-5S for pgsql-general@arkaria.postgresql.org; Mon, 10 Feb 2025 16:01:02 +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 1thWDV-002Tt2-RJ for pgsql-general@lists.postgresql.org; Mon, 10 Feb 2025 16:01:01 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1thWDT-0003Sy-37 for pgsql-general@lists.postgresql.org; Mon, 10 Feb 2025 16:01:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 51AG0v2P2196053; Mon, 10 Feb 2025 11:00:57 -0500 From: Tom Lane To: Mukesh Tanuku cc: rob stone , pgsql-general@lists.postgresql.org Subject: Re: PG-15.6: timeout parameters erroring out In-reply-to: References: <2106557.1739163733@sss.pgh.pa.us> <788aca1329878b3fbc93da929bd54b758ec5e4b4.camel@tpg.com.au> Comments: In-reply-to Mukesh Tanuku message dated "Mon, 10 Feb 2025 19:04:12 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2196051.1739203257.1@sss.pgh.pa.us> Date: Mon, 10 Feb 2025 11:00:57 -0500 Message-ID: <2196052.1739203257@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Mukesh Tanuku writes: > Is this issue specifically reported in only the PG 15 version? more syntax > sensitivity. PG 15 and up report the syntax error differently. regression=# set foo = 15min; ERROR: trailing junk after numeric literal at or near "15min" LINE 1: set foo = 15min; ^ In v14 that'd look like regression=# set foo = 15min; ERROR: syntax error at or near "min" LINE 1: set foo = 15min; ^ There are variants of this (lack of space between a number and an identifier) that will be rejected by 15+ although older versions accepted them. But in a SET command I think no version will take it. regards, tom lane