public inbox for [email protected]
help / color / mirror / Atom feedPL/Java 1.5.1_BETA2
4+ messages / 2 participants
[nested] [flat]
* PL/Java 1.5.1_BETA2
@ 2018-10-17 05:49 Chapman Flack <[email protected]>
2018-10-17 16:57 ` Re: PL/Java 1.5.1 (not BETA2, forgot to edit subject) Chapman Flack <[email protected]>
2018-10-18 10:50 ` Re: PL/Java 1.5.1_BETA2 Devrim Gündüz <[email protected]>
0 siblings, 2 replies; 4+ messages in thread
From: Chapman Flack @ 2018-10-17 05:49 UTC (permalink / raw)
To: [email protected]; pgsql-pkg-yum
Hello packagers,
There is a PL/Java 1.5.1 release at github, supporting PG 11 back to PG 8.2:
https://github.com/tada/pljava/releases/tag/V1_5_1
Release notes: http://tada.github.io/pljava/releasenotes.html
It requires Java 8 to build; its pljava.libjvm_location GUC can be pointed
at run time to any Java 6 to Java 11 (and, with luck, later) JRE. When
pointed to a later JRE, it allows a user to write and use Java functions
using the latest language features.
The build script allows a default value for libjvm_location to be built in.
A package built for a platform with a standardized location for Java can
build in an appropriate default, so the user experience of installing
PL/Java is as simple as possible, and doesn't require setting the GUC first.
A reasonable value for the default might be whatever version of Java would
be installed by the target distro/release's default-java or similar package.
That way, PL/Java could be installed in simple cases without pulling in
another JRE if the default one is already there. A site that needs a
different Java version could then download that and adjust the GUC
accordingly.
The PL/Java build instructions are here:
http://tada.github.io/pljava/build/build.html
... and a page of tips specifically for packaging is here:
http://tada.github.io/pljava/build/package.html
I hope this new version can find a home in your repositories. If it
gives you any difficulties, please let me know. Thanks!
Chapman Flack
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PL/Java 1.5.1 (not BETA2, forgot to edit subject)
2018-10-17 05:49 PL/Java 1.5.1_BETA2 Chapman Flack <[email protected]>
@ 2018-10-17 16:57 ` Chapman Flack <[email protected]>
1 sibling, 0 replies; 4+ messages in thread
From: Chapman Flack @ 2018-10-17 16:57 UTC (permalink / raw)
To: [email protected]; pgsql-pkg-yum
On 10/17/18 01:49, Chapman Flack wrote:
> There is a PL/Java 1.5.1 release at github, supporting PG 11 back to PG 8.2:
In my haste to announce, I reused an old mail and didn't take the "BETA2"
out of the Subject:.
I also omitted one detail. The new release has some optionally-built
examples, built only if -Psaxon-examples is on the mvn command line.
The switch should only be included when building for PG 8.4 or newer,
and building with Java 8. When present, it will add the ~ 5 MB
Saxon-HE-9.8.0.14.jar at build time (which Maven will automatically
fetch, if not constrained to build offline). The jar will not be
included in the built package, so it will become an optional run-time
dependency. The related examples will still be included in the examples
jar, and declared in PostgreSQL if the examples jar is loaded, but the
Saxon-HE jar would have to be obtained and installed before they will work.
It would be ideal to have the package built that way (whenever the PG
version is >= 8.4), so that simply obtaining the Saxon jar will be the
only extra step required for anyone interested in trying those examples.
Regards,
-Chap
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PL/Java 1.5.1_BETA2
2018-10-17 05:49 PL/Java 1.5.1_BETA2 Chapman Flack <[email protected]>
@ 2018-10-18 10:50 ` Devrim Gündüz <[email protected]>
2018-10-19 00:26 ` Re: PL/Java 1.5.1_BETA2 Chapman Flack <[email protected]>
1 sibling, 1 reply; 4+ messages in thread
From: Devrim Gündüz @ 2018-10-18 10:50 UTC (permalink / raw)
To: Chapman Flack <[email protected]>; pgsql-pkg-yum
Hi Chapman,
On Wed, 2018-10-17 at 01:49 -0400, Chapman Flack wrote:
> There is a PL/Java 1.5.1 release at github, supporting PG 11 back to PG 8.2:
Thanks! Will push the packages in a few hours.
Regards,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachments:
[application/pgp-signature] signature.asc (833B, 2-signature.asc)
download
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PL/Java 1.5.1_BETA2
2018-10-17 05:49 PL/Java 1.5.1_BETA2 Chapman Flack <[email protected]>
2018-10-18 10:50 ` Re: PL/Java 1.5.1_BETA2 Devrim Gündüz <[email protected]>
@ 2018-10-19 00:26 ` Chapman Flack <[email protected]>
0 siblings, 0 replies; 4+ messages in thread
From: Chapman Flack @ 2018-10-19 00:26 UTC (permalink / raw)
To: Devrim Gündüz <[email protected]>; pgsql-pkg-yum
On 10/18/18 06:50, Devrim Gündüz wrote:
>
> Hi Chapman,
>
> On Wed, 2018-10-17 at 01:49 -0400, Chapman Flack wrote:
>> There is a PL/Java 1.5.1 release at github, supporting PG 11 back to PG 8.2:
>
> Thanks! Will push the packages in a few hours.
Thanks!
I looked in one of the rpms, and I noticed a few things:
1. It doesn't install these files in share/.../pljava:
pljava--1.5.0--1.5.1.sql
pljava--1.5.0-BETA1--1.5.1.sql
pljava--1.5.0-BETA2--1.5.1.sql
pljava--1.5.0-BETA3--1.5.1.sql
pljava--1.5.1-BETA1--1.5.1.sql
pljava--1.5.1-BETA2--1.5.1.sql
pljava--1.5.1-BETA3--1.5.1.sql
The build procedure probably tricked you there, because those files
don't really exist in the build directory. They are all identical,
simply copies of a prototype file pljava--.sql (which does not need
to be installed under that name at all), and they just get inserted
synthetically into the installer jar as it is built. You are
bypassing the installer jar, so they just need to be made somehow.
You could make copies or links at build time, or even just include one
of them and make the remaining copies/links on the target system
in a post-install script.
But they have to be there, or ALTER EXTENSION pljava UPDATE won't work.
2. If -Dso.debug=true is added to the mvn command line, there will be
debug symbols in libpljava-...so to allow for making a debuginfo
rpm.
3. I notice this rpm does not include the pljava-examples...jar. Can
there be a separate examples rpm then (or could the jar just be
included in the main rpm)?
A lot of the older examples are trivial things or tests, but there's
a new one in this release that's nontrivial and useful (provides
real SQL:2006+ XML Query support, which core PG still doesn't have).
Some people might actually have reasons to want to install that one.
It is not built unless -Psaxon-examples is on the mvn command line.
It is optional because it must be left out when building for PG 8.3
or 8.2. But it is usable in any of the current supported releases.
Thanks!
-Chap
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2018-10-19 00:26 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 05:49 PL/Java 1.5.1_BETA2 Chapman Flack <[email protected]>
2018-10-17 16:57 ` Re: PL/Java 1.5.1 (not BETA2, forgot to edit subject) Chapman Flack <[email protected]>
2018-10-18 10:50 ` Devrim Gündüz <[email protected]>
2018-10-19 00:26 ` Chapman Flack <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox