Re: PL/Java 1.5.2 - fixes one regression in date conversion in 1.5.1

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: pgsql-pkg-yum(at)postgresql(dot)org, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Subject: Re: PL/Java 1.5.2 - fixes one regression in date conversion in 1.5.1
Date: 2019-01-01 05:04:54
Message-ID: 5C2AF4F6.6070606@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian pgsql-pkg-yum pljava-dev

Hi,

If I'm checking in the right place
https://yum.postgresql.org/11/redhat/rhel-7.5-x86_64/

... the version of PL/Java that I'm seeing there is still 1.5.1.

Please forgive this repeat announcement if the 1.5.2 package is already
in the works. It would be valuable to have 1.5.2 packaged, because it
fixes a known bug in java.sql.Date conversion that was in 1.5.1.

Thanks!
-Chap

On 11/05/18 13:35, Chapman Flack wrote:
> ---
> 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
>

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Devrim Gündüz 2019-01-02 19:04:04 Re: PL/Java 1.5.2 - fixes one regression in date conversion in 1.5.1
Previous Message apt.postgresql.org Repository Update 2018-12-18 17:46:41 pgmemcache updated to version 2.3.0-6.pgdg+2

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Evan Rempel 2019-01-01 17:23:52 Missing llvmjit packages in pgdg-11 RHEL6
Previous Message chiru r 2018-12-31 16:19:50 Relocatable Binaries (RPMs) : custom installation path for PostgreSQL

Browse pljava-dev by date

  From Date Subject
Next Message Devrim Gündüz 2019-01-02 19:04:04 Re: PL/Java 1.5.2 - fixes one regression in date conversion in 1.5.1
Previous Message Achilleas Mantzios 2018-11-15 13:38:42 [Pljava-dev] FreeBSD failed: /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so: Undefined symbol "pthread_set_name_np"