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 1szEyX-00508J-1e for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Oct 2024 12:42: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 1szEyV-003UUB-C7 for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Oct 2024 12:42: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 1szEyU-003UU3-Ex for pgsql-hackers@lists.postgresql.org; Fri, 11 Oct 2024 12:42:31 +0000 Received: from 008.lax.mailroute.net ([199.89.1.11]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1szEyN-000Mj7-Vc for pgsql-hackers@postgresql.org; Fri, 11 Oct 2024 12:42:29 +0000 Received: from localhost (localhost [127.0.0.1]) by 008.lax.mailroute.net (Postfix) with ESMTP id 4XQ5qf6dsCz6ClY9n; Fri, 11 Oct 2024 12:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mr01; t= 1728650541; x=1731242542; bh=ks0OsFVHOTO/APdmep0EHu28DbsfPhwiomI ROMhXv70=; b=a7zWreKscX9azwEi4P5Zkiq+6DlNm/XCUefdAiphLLlFcS8Jpn0 GMtRr/j0YuURzlzR1DlSIsqcj8koWCoD1LilpJHDN107cj/p/yuZkm/KDKf1RMny jV4G3+wZvI3d6Crl4HT0okvpeQQvzkmWHDp+nNSXRk3vh7Ocqpt1HT5Ca2uwXzmT mIXtTfpbvZ1WRpPRlKLsMW1aAQDkiguXsNavXCDIu9sXZ0Vw6g1WTY39+j83lDqx iw3LXx2CI9DEQYACSo+7y6KZ7+pqy6eFbiT7C0g2AddE566IMu//s7ZZS8qsYwPi MQ0mTYuvKXJoUwIZcfqqpYrve/0UjaeLm7Q== X-Virus-Scanned: by MailRoute Received: from 008.lax.mailroute.net ([127.0.0.1]) by localhost (008.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id ptFzVw9ZWAME; Fri, 11 Oct 2024 12:42:21 +0000 (UTC) Received: from [73.103.120.3] (c-73-103-120-3.hsd1.in.comcast.net [73.103.120.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jcflack@acm.org) by 008.lax.mailroute.net (Postfix) with ESMTPSA id 4XQ5qc5pZhz6ClY9j; Fri, 11 Oct 2024 12:42:20 +0000 (UTC) Subject: Re: Doc of typmod arg perhaps deserves an update To: Steve Lau , "pgsql-hackers@postgresql.org" References: Cc: "tgl@sss.pgh.pa.us" From: Chapman Flack Message-ID: <67091D2B.5080002@acm.org> Date: Fri, 11 Oct 2024 08:42:19 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/11/24 01:33, Steve Lau wrote: > Before hitting the issue, I thought -1 will be passed if and only if > this type does not have type modifiers, as it is indeed unknown. However, > it surprises me that it could also be unknown if your type needs > type modifiers and the type modifiers have been successfully stored This older thread may be of interest: https://www.postgresql.org/message-id/162867790903161317q178e11e6ie276d1254c279dd1%40mail.gmail.com Regards, -Chap