Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 025DAB5DDC9 for ; Tue, 6 Sep 2011 12:20:10 -0300 (ADT) 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 57862-07 for ; Tue, 6 Sep 2011 15:20:03 +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 00D1FB5DBC4 for ; Tue, 6 Sep 2011 12:20:02 -0300 (ADT) 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 p86FJjgD007025; Tue, 6 Sep 2011 11:19:45 -0400 (EDT) To: David Fetter cc: Alvaro Herrera , Bruce Momjian , Kevin Grittner , Thom Brown , PostgreSQL-development Subject: Re: Couple document fixes In-reply-to: <20110906042218.GM3924@fetter.org> References: <20110905232916.GK3924@fetter.org> <201109052333.p85NX9F26135@momjian.us> <20110906000509.GL3924@fetter.org> <1315271205-sup-7449@alvh.no-ip.org> <20110906042218.GM3924@fetter.org> Comments: In-reply-to David Fetter message dated "Mon, 05 Sep 2011 21:22:18 -0700" Date: Tue, 06 Sep 2011 11:19:45 -0400 Message-ID: <7024.1315322385@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/264 X-Sequence-Number: 194453 David Fetter writes: > On Mon, Sep 05, 2011 at 10:07:29PM -0300, Alvaro Herrera wrote: >> What would be the point? > Removing the legacy "char" type, per original post. :) Removing it is the wrong solution. The idea of renaming it to char1 might be an appropriate balance of pain versus benefit. Or perhaps not; I'd want to see a proposed patch before committing to doing anything here. > We've made changes as big on aesthetic grounds before, and if the > change results in an enum type optimized for space efficiency, that's > all to the good. That's a pipe dream. You can't use enums in catalogs that underlie the enum implementation. Possibly you could kluge something so that there are phony entries in pg_enum reflecting the hard-wired values that the C code uses, but I entirely fail to see any point in such a thing. regards, tom lane