Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zx0GS-0004yI-Kj for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Nov 2015 22:22:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zx0GR-0005iS-ME for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Nov 2015 22:22:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zx0GR-0005gL-5Q for pgsql-bugs@postgresql.org; Thu, 12 Nov 2015 22:22:43 +0000 Received: from mbx.knossos.net.nz ([202.160.48.10]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zx0GK-0004j4-5Y for pgsql-bugs@postgresql.org; Thu, 12 Nov 2015 22:22:41 +0000 Received: from [10.1.1.3] ([121.98.97.164]) (authenticated bits=0) by mbx.knossos.net.nz (8.14.4/8.14.4) with ESMTP id tACMMQDj031957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 13 Nov 2015 11:22:26 +1300 Subject: Re: BUG #13773: BigInt column right padding zero To: adolfo-goncalves.junior@serpro.gov.br, pgsql-bugs@postgresql.org References: <20151112121907.2644.59186@wrigleys.postgresql.org> From: Gavin Flower Organization: ArchiDevSys Message-ID: <56451122.7030809@archidevsys.co.nz> Date: Fri, 13 Nov 2015 11:22:26 +1300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151112121907.2644.59186@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 13/11/15 01:19, adolfo-goncalves.junior@serpro.gov.br wrote: > The following bug has been logged on the website: > > Bug reference: 13773 > Logged by: Adolfo Cavalcante > Email address: adolfo-goncalves.junior@serpro.gov.br > PostgreSQL version: 9.4.5 > Operating system: Linux Ubuntu > Description: > > We have a Linux server running Postgresql 9.4 and a Java 6 client > application wich was using the JDBC driver postgresql-9.4-1204.jdbc4.jar. > After updating to postgresql-9.4-1205.jdbc4.jar driver, Bigint pk columns > are returning an extra zero at right. We insert 123 in the column, the > select returns 1230. It's important to say that this behavior is > intermittent. We saw at the version changelog that somethinq was changed in > the long->Bigint implementation, it may be a clue. > > Note that Java 6 is no longer publicly supported & Java 7 is approaching EOL!!! I suggest that you seriously consider upgrading to Java 8 for both security & performance reasons - quite apart from all the shiny new features. Cheers, Gavin -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs