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 1gVUH6-0005Ra-J6 for pgsql-general@arkaria.postgresql.org; Sat, 08 Dec 2018 04:31:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gVUH4-0005CG-Ic for pgsql-general@arkaria.postgresql.org; Sat, 08 Dec 2018 04:31:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gVUH4-0005C4-As for pgsql-general@lists.postgresql.org; Sat, 08 Dec 2018 04:31:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gVUH2-0002v4-BC for pgsql-general@lists.postgresql.org; Sat, 08 Dec 2018 04:31:29 +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 wB84VN7G006019; Fri, 7 Dec 2018 23:31:23 -0500 From: Tom Lane To: Kevin Brannen cc: "pgsql-general@lists.postgresql.org" Subject: Re: syntax error with alter type In-reply-to: References: <60cd0448-2940-d9ac-3b52-3be8563f7b88@aklaver.com> Comments: In-reply-to Kevin Brannen message dated "Sat, 08 Dec 2018 03:36:11 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6017.1544243483.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 07 Dec 2018 23:31:23 -0500 Message-ID: <6018.1544243483@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Kevin Brannen writes: > So, can you (or anyone) help me understand what "alter type drop = attribute" is meant to do? I don't see "attribute" on the page you referen= ce. IIRC, that drops a column from a composite type; it's more or less a variant spelling of ALTER TABLE DROP COLUMN. regards, tom lane