Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THje6-0007FF-7u for pgsql-jdbc@postgresql.org; Fri, 28 Sep 2012 23:06:58 +0000 Received: from mail-pa0-f46.google.com ([209.85.220.46]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THje1-00024h-Kq for pgsql-jdbc@postgresql.org; Fri, 28 Sep 2012 23:06:57 +0000 Received: by padhz1 with SMTP id hz1so2664718pad.19 for ; Fri, 28 Sep 2012 16:06:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=4HRomegQrv3KrYL66mKJI6Z1OB5yWEjeo8QHLIrdEI4=; b=THJaw4K9qrTmtsyDvJ2UaHO2C1iXgk5cmLQrS00apzM+yS39WuPJOjrJ7ObugGPDO1 +EVhM/Yq6ehz2vLhmwkCFKql74lOVtZCYFcBKIqtgHJyjEuDbXHyxNXu28pPwencflQQ 7aruxVSuJYREIB67QcBRsnLSDZ5KA0Pe+BUyoYpKUiVRHq/jByLNGS+3YOr9u0qJ3v7z RfKdC1Z5vUCXO6FoSxpjBZYW4zmk8ulMGVMsknLN/WPt6QLQ38yEhckKpwQzqRStn0qq B9cg7WpyFLhyKlQW+J9mqV3QlU4wTfgg/E+VehR8A1Ai//JkOmXAd/sp6zvimLnpHlNu tCng== Received: by 10.66.90.4 with SMTP id bs4mr20926593pab.3.1348873610296; Fri, 28 Sep 2012 16:06:50 -0700 (PDT) Received: from ayaki.localdomain (pa58-109-236-246.pa.vic.optusnet.com.au. [58.109.236.246]) by mx.google.com with ESMTPS id nv2sm5108084pbc.44.2012.09.28.16.06.46 (version=SSLv3 cipher=OTHER); Fri, 28 Sep 2012 16:06:49 -0700 (PDT) Message-ID: <50662D84.90202@ringerc.id.au> Date: Sat, 29 Sep 2012 07:06:44 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: the6campbells CC: pgsql-jdbc@postgresql.org Subject: Re: data set combination of integer and decimal/numeric returns wrong result type References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk4aAf37SzFQR7ES6TtGkoV4wLbYH6jCHsMoccEEMg96gHeej2dHTUijm2zBpyv3C3lWuWW X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/88 X-Sequence-Number: 23324 On 09/25/2012 09:33 AM, the6campbells wrote: > integer > union > decimal/numeric (7,2) I'm not sure what you're getting at with this one; can you flesh it out into a complete SQL statement to define the schema you're testing?