Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 4236BB5DC1F for ; Mon, 5 Sep 2011 22:07:41 -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 06677-04 for ; Tue, 6 Sep 2011 01:07:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id E7D95B5DC11 for ; Mon, 5 Sep 2011 22:07:34 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 7E250348049; Mon, 5 Sep 2011 18:07:34 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sp8NV35ppFGh; Mon, 5 Sep 2011 18:07:32 -0700 (PDT) Received: from perhan.alvh.no-ip.org (unknown [200.126.65.205]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 24685348046; Mon, 5 Sep 2011 18:07:32 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 8F41A6E601; Mon, 5 Sep 2011 22:07:29 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Bruce Momjian , Kevin Grittner , Thom Brown , PostgreSQL-development Subject: Re: Couple document fixes From: Alvaro Herrera To: David Fetter In-reply-to: <20110906000509.GL3924@fetter.org> References: <20110905232916.GK3924@fetter.org> <201109052333.p85NX9F26135@momjian.us> <20110906000509.GL3924@fetter.org> Date: Mon, 05 Sep 2011 22:07:29 -0300 Message-Id: <1315271205-sup-7449@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201109/222 X-Sequence-Number: 194411 Excerpts from David Fetter's message of lun sep 05 21:05:10 -0300 2011: > On brief inspection, it appears that each of these would be better > served, at least functionally, with some kind of enumerated type. > Might it be worth trying to micro-optimize this case for a one-byte > enum? Or maybe something like the varvarlena pattern? What would be the point? It works pretty well already. It doesn't need fixing. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support