Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id A1E35133740B for ; Sat, 15 Jan 2011 00:36:44 -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 69707-02 for ; Sat, 15 Jan 2011 04:36:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id D84C11336B42 for ; Sat, 15 Jan 2011 00:36:32 -0400 (AST) Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id p0F4aT800898 for ; Fri, 14 Jan 2011 20:36:29 -0800 Message-ID: <4D312448.7030701@hogranch.com> Date: Fri, 14 Jan 2011 20:36:24 -0800 From: John R Pierce User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #5839: pgAdmin makes bad query for creating a table when default value specified References: <201101150332.p0F3W5B8085636@wwwmaster.postgresql.org> <17701.1295063507@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean 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: 201101/107 X-Sequence-Number: 29129 On 01/14/11 8:12 PM, Aren Cambre wrote: > This came from pgAdmin's *Default value* field. This field is supposed > to accept anything other than a string? default value can be any valid expression