Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLvM3-0002qP-JQ for pgsql-general@arkaria.postgresql.org; Mon, 15 Mar 2021 22:06:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lLvM2-0006Nr-I6 for pgsql-general@arkaria.postgresql.org; Mon, 15 Mar 2021 22:06:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLvM2-0006Ng-Ad for pgsql-general@lists.postgresql.org; Mon, 15 Mar 2021 22:06:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLvM0-0002VW-2K for pgsql-general@lists.postgresql.org; Mon, 15 Mar 2021 22:06:25 +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 12FM6LjK3086042; Mon, 15 Mar 2021 18:06:21 -0400 From: Tom Lane To: Niko Ware cc: pgsql-general@lists.postgresql.org Subject: Re: sql3types.h does not include "BigInt" In-reply-to: References: Comments: In-reply-to Niko Ware message dated "Mon, 15 Mar 2021 20:34:16 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3086040.1615845981.1@sss.pgh.pa.us> Date: Mon, 15 Mar 2021 18:06:21 -0400 Message-ID: <3086041.1615845981@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Niko Ware writes: > The data types defined in sql3types.h (see below) do not include "zero" or > "bigint" (the enumerated values start at "1"). Hm. It looks like that header hasn't been touched since around SQL99 (which did not have bigint). Current versions of the spec list bigint as code 25 (cf. table 7 in part 3 SQL/CLI). If you wanted to send in a patch that'd make that work, we'd likely accept it. regards, tom lane