Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 4BC461337B64 for ; Tue, 28 Dec 2010 09:09:54 -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 75848-01 for ; Tue, 28 Dec 2010 13:09:47 +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 4D0C31337B58 for ; Tue, 28 Dec 2010 09:09:47 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 02C43348023; Tue, 28 Dec 2010 05:09:47 -0800 (PST) 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 S0zF0eYvQfQr; Tue, 28 Dec 2010 05:09:44 -0800 (PST) Received: from perhan.alvh.no-ip.org (unknown [200.85.200.55]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 30BA4348022; Tue, 28 Dec 2010 05:09:44 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 4F3186E472; Tue, 28 Dec 2010 10:09:41 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: pgsql-docs Subject: Re: alter-table.sgml and DEFAULT clause From: Alvaro Herrera To: Fujii Masao In-reply-to: References: Date: Tue, 28 Dec 2010 10:09:41 -0300 Message-Id: <1293541749-sup-6741@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=0.324 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_NJABL_PROXY=2.224 X-Spam-Level: X-Archive-Number: 201012/45 X-Sequence-Number: 6281 Excerpts from Fujii Masao's message of mar dic 28 01:26:09 -0300 2010: > Hi, > > We seem to have forgotten to add the reference to DEFAULT clause > into the following syntax in alter-table.sgml. How about the attached > patch? > > ADD [ COLUMN ] column type [ column_constraint [ ... ] ] Hmm, and this works all the way back to 8.2 ... -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support