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 1r8NeZ-009aot-Io for pgsql-docs@arkaria.postgresql.org; Wed, 29 Nov 2023 16:43:11 +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 1r8NeX-00BoOQ-Hp for pgsql-docs@arkaria.postgresql.org; Wed, 29 Nov 2023 16:43:09 +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 1r8NeV-00BoOI-UE for pgsql-docs@lists.postgresql.org; Wed, 29 Nov 2023 16:43:09 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r8NeT-007xwp-8K for pgsql-docs@lists.postgresql.org; Wed, 29 Nov 2023 16:43:06 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 064F75C0258; Wed, 29 Nov 2023 11:43:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 29 Nov 2023 11:43:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1701276184; x= 1701362584; bh=y47a6zTWOQ+/F5vCMUs9UrZOsqhjxUmJfixaKwpLTsI=; b=l JiPM6b+LzFc/QyJqeDK5MCdHSfIPa9VeKuy1in7JwUDfiGpo/KhsrL0YKBnupy16 OfO7UKkvOqvRZHMonQeyLqtZB7iXgBetJinMgvCYMD97foyqvVOsBSLGZLcUi+c1 /Fde/M39RX+/nE93hpOzPn1jtZ+v7gNU62iYiEEgCkGMzC2nCtgKBsaHlROIelgt DTIQsCZQV5IVvB84B6UAbzvsY74mtVlAW5F/Sa4dj3fHPujWZRT8ZwPzrwM8iZ2i lSHSiU9kWaVUc+F6djZP3r5pq/6htWTU8heaIEQKfqcXHS0sj6BzGns112GeqwOg SemCnlEWxlsjr04ka6ruA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeihedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepledvkedvueelteefffevjefgfeeuleehjedtieevjeel ffegfeelgedvteekvdetnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh dpphhoshhtghhrrdgvshenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Nov 2023 11:43:02 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1701276174; bh=7+Zt7X4MompT2sDMiSzf0klUoJ74zngR+Rwi2BVjXUM=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=SC7Re4HZoEvyDzOOjFAnv3SAkFczzfuybMyAL/5ncKuOm12cmFXCYg3uXOlMc9US9 1c85V7jf/EBg+PjmlyYB+tM63HGeVNJRbi7O6NWqRP63dqDUkSol8Pfl3THk2ezfRT sLLxPc/ecmhQ+oqDz2bEfL2+7Mw+cFQAZ7B9/grTYetDm5k/JbFeNJSHNgM2kpARKF lLQfOvZ0gu9VemVCcr3jOTdiuUF3Q5hR+YK5aYF2YLYJDzeN2pmz/q+U/Ite12q9qo +IJGyazfpZ+Az5EKKyFRNGuEFjpFSGRUZA/mIjLDgqslh6GmF1zJDNsEGP0w0/x7dQ ZUU1/BR9bHNmQ== Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 4CBA512F; Wed, 29 Nov 2023 17:42:54 +0100 (CET) Date: Wed, 29 Nov 2023 17:42:54 +0100 From: Alvaro Herrera To: Tom Lane Cc: Eric Hanson , Peter Eisentraut , pgsql-docs@lists.postgresql.org Subject: Re: "name" vs "alias" in datatype table Message-ID: <202311291642.xumbxwgwquip@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <308440.1701275206@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-Nov-29, Tom Lane wrote: > Eric Hanson writes: > > The larger point being, the "name" vs "alias" paradigm presented in this > > table does not accurately represent PostgreSQL, and conveys an inaccurate > > picture of the relationship between type names. int4 is not an "alias". > > I agree that this could be improved, mainly because it's far from > clear what the internal name of each type is (and there's at least > one case where the internal name is not shown at all). Maybe we could split this into multiple *tables*. The main one would be what we already have except the aliases column is removed, and serial types removed; the second table would list serial pseudo-types, without aliases; the third one would have unofficial names (internal names and other aliases) for types listed in the other two. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "The ability of users to misuse tools is, of course, legendary" (David Steele) https://postgr.es/m/11b38a96-6ded-4668-b772-40f992132797@pgmasters.net