X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3DC3952A5C for ; Fri, 18 Mar 2005 15:35:40 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 64159-01 for ; Fri, 18 Mar 2005 15:35:38 +0000 (GMT) Received: from gauss.credativ.com (ipx11302.ipxserver.de [212.112.227.254]) by svr1.postgresql.org (Postfix) with ESMTP id 0674252A4F for ; Fri, 18 Mar 2005 15:35:37 +0000 (GMT) Received: from bell.credativ.de (pD9500B19.dip0.t-ipconnect.de [217.80.11.25]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id A5621D7833; Fri, 18 Mar 2005 16:35:46 +0100 (CET) From: Peter Eisentraut To: Kelly Burkhart Subject: Re: Insert SHRT_MIN fails for int2 column Date: Fri, 18 Mar 2005 16:35:20 +0100 User-Agent: KMail/1.7.1 Cc: pgsql-odbc@postgresql.org References: <1110212157.3206.10.camel@krb06> <3084.1110217475@sss.pgh.pa.us> <1110220954.3206.20.camel@krb06> In-Reply-To: <1110220954.3206.20.camel@krb06> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200503181635.21040.peter_e@gmx.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/79 X-Sequence-Number: 5097 Am Montag, 7. März 2005 19:42 schrieb Kelly Burkhart: > > The best thing would be to leave the cast in place but add parentheses > > around the value being casted. > > Attached is a patch to resolve this. Patch installed. > BTW, is it appropriate for me to send pgsqlodbc patches to this list? Yes. > Or should I send all patches to psql-patches? No. -- Peter Eisentraut http://developer.postgresql.org/~petere/