Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7L2I-0001iR-HW for pgsql-jdbc@arkaria.postgresql.org; Wed, 25 Oct 2017 12:43:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e7L2H-0001HG-Vq for pgsql-jdbc@arkaria.postgresql.org; Wed, 25 Oct 2017 12:43:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e7L2H-0001Gp-7V for pgsql-jdbc@postgresql.org; Wed, 25 Oct 2017 12:43:53 +0000 Received: from m71-131.mailgun.net ([166.78.71.131]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e7L2D-0002dt-Lp for pgsql-jdbc@postgresql.org; Wed, 25 Oct 2017 12:43:51 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1508935427; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=LRSjBXGdOs2OabkA14D8xlYRRQbIET1TPY7WxIyl5Mg=; b=ULZfOw3SGKSLJHUdaqG3Xh8AKn/rkiphINfj3JoeKI6CNHmn/LjSW6ux/LvS35FnI+asmCNK 5Cm0aikADjtiazbIcCG83d+CJ15Wg4GdciG+NvxKWp4YJOeSTRT3y2fJFDwGfxP6Q0bewEFS 1xHkvbau/SzDkFtqiSpUp79JO8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Sender: Date: From: Reply-To: To: Message-ID: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding; b=sqmGDsfWUbT3fhemaQs8+GFaJ/Ope1kY49+MMdgvDEloA4DvIbRBvuXlpytH5QAyW3sWN4 C286T/aNRIQkHKx8E9HGO6XMB821t5DyW9GXKIk3C8jr03OyJlHg+CmJuHl+//e6/7WhzSqF M6KULrgaCAHQj4ODTYThz1GOta0fM= X-Mailgun-Sending-Ip: 166.78.71.131 X-Mailgun-Sid: WyI3ZTA2ZSIsICJwZ3NxbC1qZGJjQHBvc3RncmVzcWwub3JnIiwgIjQwZiJd Received: from github.com (Unknown [192.30.252.41]) by mxa.mailgun.org with ESMTP id 59f08703.7f23b0443ea0-smtp-out-n01; Wed, 25 Oct 2017 12:43:47 -0000 (UTC) Date: Wed, 25 Oct 2017 05:43:47 -0700 From: Michael Reply-To: Michael To: pgsql-jdbc@postgresql.org Message-ID: <59f087034276b_38ad3fca69ef9c3c1485ad@hookshot-fe5-cp1-prd.iad.github.net.mail> Subject: [pgjdbc/pgjdbc] d28def: fix: trim trailing zeros in timestamp strings retu... Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: d28deff57684349707d2b2a357048f59b0861bb1 https://github.com/pgjdbc/pgjdbc/commit/d28deff57684349707d2b2a357048f59b0861bb1 Author: Michael Date: 2017-10-25 (Wed, 25 Oct 2017) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimestampTest.java Log Message: ----------- fix: trim trailing zeros in timestamp strings returned in binary mode (#896) This commit trims trailing zeros from the fractional seconds in timestamp strings returned under binary mode, where the fractional seconds used to be zero padded to 6 digits. This provides consistency in the returned timestamp strings under both forced and regular binary modes. fixes #885 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc