Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 75F0DB5DC2A for ; Mon, 5 Sep 2011 20:29:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 94457-10 for ; Mon, 5 Sep 2011 23:29:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from fetter.org (173-164-140-181-SFBA.hfc.comcastbusiness.net [173.164.140.181]) by mail.postgresql.org (Postfix) with ESMTP id 87C50B5DC09 for ; Mon, 5 Sep 2011 20:29:17 -0300 (ADT) Received: by fetter.org (Postfix, from userid 500) id 79C283C2C11; Mon, 5 Sep 2011 16:29:16 -0700 (PDT) Date: Mon, 5 Sep 2011 16:29:16 -0700 From: David Fetter To: Bruce Momjian Cc: Alvaro Herrera , Kevin Grittner , Thom Brown , PostgreSQL-development Subject: Re: Couple document fixes Message-ID: <20110905232916.GK3924@fetter.org> References: <1299856725-sup-5827@alvh.no-ip.org> <201109051821.p85ILkQ01814@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201109051821.p85ILkQ01814@momjian.us> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.918 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RDNS_DYNAMIC=0.982 X-Spam-Level: X-Archive-Number: 201109/214 X-Sequence-Number: 194403 On Mon, Sep 05, 2011 at 02:21:46PM -0400, Bruce Momjian wrote: > Alvaro Herrera wrote: > > Removing CC to pg-docs so that Robert reads it. > > > > Excerpts from Bruce Momjian's message of vie mar 11 08:13:20 -0300 2011: > > > Kevin Grittner wrote: > > > > > > relpersistence should be "char", not > > > > char. Oddly enough, there is a difference. > > > > > > I am unsure on that one. We have many 'char' mentions in > > > catalog.sgml, and I don't see any of them shown as '"char"'. > > > (Wow, we should have just called this type char1, but I think > > > that name came from Berkeley!) The big problem is that the > > > pg_type name is really "char" _without_ quotes. > > > > 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. > > > > Discussed the idea a bit on IM with Bruce, but couldn't find any > > really good alternative. Idea floated so far: > > > > * byte (seems pretty decent to me) * octet (though maybe people > > would expect it'd output as a number) * char1 (looks ugly, but > > then we have int4 and so on) * achar (this one is just plain > > weird) > > > > None seems great. Thoughts? > > Any new ideas on how to document our "char" data type? What say we document it as deprecated and remove the silly thing over the next three releases or so? It's deep in the realm of micro-optimization, and of a kind we well and truly don't need any more, assuming we ever did. Alternate proposals would involve a more aggressive deprecation and removal schedule. ;) Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate