Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1tem-0008VN-Je for pgsql-general@arkaria.postgresql.org; Sun, 25 Aug 2019 14:38:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i1tel-00015G-9W for pgsql-general@arkaria.postgresql.org; Sun, 25 Aug 2019 14:38:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1tek-000159-Sx for pgsql-general@lists.postgresql.org; Sun, 25 Aug 2019 14:38:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i1tei-0006DJ-Lp for pgsql-general@postgresql.org; Sun, 25 Aug 2019 14:38:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x7PEc6cS013114; Sun, 25 Aug 2019 10:38:06 -0400 From: Tom Lane To: stan cc: pgsql-general@postgresql.org Subject: Re: What is the difference between creating a type, and a domain ? In-reply-to: <20190825141307.GB25172@panix.com> References: <20190825141307.GB25172@panix.com> Comments: In-reply-to stan message dated "Sun, 25 Aug 2019 10:13:07 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13112.1566743886.1@sss.pgh.pa.us> Date: Sun, 25 Aug 2019 10:38:06 -0400 Message-ID: <13113.1566743886@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk stan writes: > Subject basically says it all. A domain is a kind of type ... but it's not the only kind of type. https://www.postgresql.org/docs/current/domains.html regards, tom lane