Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJjj3-0004Iv-6p for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 05 Nov 2018 18:35:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJjj1-00019S-Dp for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 05 Nov 2018 18:35:47 +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.89) (envelope-from ) id 1gJjj0-00019I-U5; Mon, 05 Nov 2018 18:35:47 +0000 Received: from bay.acenet.us ([173.230.252.50]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJjit-0006gG-II; Mon, 05 Nov 2018 18:35:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1hBIEsMpymLQWTmf4xl6s6zHfm5T3vx7LJJ1d1tXLhM=; b=UQydaDVeHhbzsgDh26HMbmPoHa 0r2ejNH7paG9e8NrX19yZl/Glqdj5iDSWL/gzQ+bHU87Y17vsnBdAgsT0fffWcoppMIXzZSpdWG/+ N0XzGglh68DK2epff/f0CftL3u/c7RlWvw84ARk9HwrgYNoRIG88fAKJWvRLubE/gK0Pa+ve3gaFs cYxyGhlLTjaGgJuIBmpDjfciBQvKrci9RMNKMm5P2cjlmGs7PXIlO7hsiXDpW4qsEkNjdHQfLIUnb OGvps8mG3loU4GV5oOWhFNuf62NO7RqyadgefU3c2BW3e6o8Ii3G49sAwZ7DCsSvwCo+bk50Q8Rkq WC+/m31w==; Received: from [50.104.189.171] (port=32781) by bay.acenet.us with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gJjim-00GCaM-K3; Mon, 05 Nov 2018 13:35:36 -0500 To: "pljava-dev@lists.pgfoundry.org" , pgsql-pkg-debian@postgresql.org, pgsql-pkg-yum@postgresql.org From: Chapman Flack Subject: PL/Java 1.5.2 - fixes one regression in date conversion in 1.5.1 X-Enigmail-Draft-Status: N1110 Message-ID: <5BE08D74.2060207@anastigmatix.net> Date: Mon, 5 Nov 2018 13:35:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-97.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap+anastigmatix.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --- Note to packagers - please make sure the newly-added file $sharedir/pljava/pljava--1.5.1--1.5.2.sql will be installed, alongside those from prior releases. It is found in the pljava-packaging/target/pljava-*.jar file but not in any build directory (it gets added synthetically to the jar file based on a template). --- PL/Java 1.5 brings functions, triggers, and types in Java to PostgreSQL releases from 11 back to 8.2. Release 1.5.2 fixes a regression in 1.5.1 that affected the conversion of PostgreSQL date values to Java java.sql.Date objects. Project site: http://tada.github.io/pljava/ Release notes: http://tada.github.io/pljava/releasenotes.html ## Change Before 1.5.1, PostgreSQL date, time, and timestamp values could be accessed in PL/Java as java.sql.Date, java.sql.Time, and java.sql.Timestamp objects. PL/Java 1.5.1 added the option of accessing those values as objects of new classes in the Java 8+ java.time package. The new classes are recommended as a superior API for accessing dates, times, and timestamps. However, one regression resulted in the older conversion between PostgreSQL date and java.sql.Date, leading to an error of one day for some dates of the year in some time zones. Release 1.5.2 restores the former behavior. Please see the release notes for more complete information. Availability: 1.5.2 is available from GitHub as a source release, which builds quickly using Maven: Release page: https://github.com/tada/pljava/releases/tag/V1_5_2 This wiki page will add links to prebuilt packages that become available: https://github.com/tada/pljava/wiki/Prebuilt-packages