Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1B37D1337990 for ; Fri, 11 Mar 2011 12:01:18 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 64410-08 for ; Fri, 11 Mar 2011 16:01:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 23B30133616B for ; Fri, 11 Mar 2011 12:01:09 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p2BG16nV019828; Fri, 11 Mar 2011 11:01:06 -0500 (EST) To: Alvaro Herrera cc: Bruce Momjian , Kevin Grittner , Thom Brown , PostgreSQL-development Subject: Re: Couple document fixes In-reply-to: <1299858450-sup-6133@alvh.no-ip.org> References: <201103111113.p2BBDKX04227@momjian.us> <1299856725-sup-5827@alvh.no-ip.org> <19167.1299858050@sss.pgh.pa.us> <1299858450-sup-6133@alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Fri, 11 Mar 2011 12:51:47 -0300" Date: Fri, 11 Mar 2011 11:01:06 -0500 Message-ID: <19827.1299859266@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/792 X-Sequence-Number: 184042 Alvaro Herrera writes: > Excerpts from Tom Lane's message of vie mar 11 12:40:50 -0300 2011: >> Alvaro Herrera writes: >>> One idea is to rename the type to something else. We could keep "char" >>> as an alias for backwards compatibility, but use the new name in system >>> catalogs, and document it as the main name of the type. >> We don't have type aliases... > I meant the conversion we do from a certain name (say because it's the > SQL-mandated name for the type) to the internal name, such as mapping > integer to int4. That works for keywords. "char" is, by definition, not a keyword. regards, tom lane