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 1gDIcS-0005LQ-S5 for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 19 Oct 2018 00:26:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDIcQ-00076A-96 for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 19 Oct 2018 00:26:22 +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 1gDIcP-00075y-PF for pgsql-pkg-yum@lists.postgresql.org; Fri, 19 Oct 2018 00:26:22 +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 1gDIcM-0006Z0-Bh for pgsql-pkg-yum@postgresql.org; Fri, 19 Oct 2018 00:26:21 +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: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mcRQgKt7kFoJjWasShT2eiuXDWpSvCRaw4mXo2o5QRk=; b=qEKCVLcbwN1EuSHZsDj/q4LRdd G6acZJgNjaZdNT9a9xz7yXnPLSeYgP2qnaDP1+XJFJsQPaUeN6KGAbK6VdyiiDBKssZkZlcBy7of2 PafcbQjzY/7APq3IkNw3JckDI51DfgmOQuKQ347NpzZWr5GElKM5may85wJnpQnJuSHmzhwrk2rWK cI6DwRkImJG6zL5xG189qSsZsu4fLi6LJ104G/hqyviUoxgedgJcRAInAWJdtrVNhP/m9U4Cht5bR bMza0u/awq9KmjJOU5CDR82uagsDu0ofGybRUOErcVMhn7FX+HIGYiVObBkHzWeU5bBiA+TEZA9x8 My8SJD8Q==; Received: from [184.19.49.99] (port=57461) by bay.acenet.us with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gDIcH-008Iec-Ec; Thu, 18 Oct 2018 20:26:14 -0400 Subject: Re: PL/Java 1.5.1_BETA2 To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= , pgsql-pkg-yum@postgresql.org References: <5BC6CD65.80402@anastigmatix.net> From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5BC924A4.7080709@anastigmatix.net> Date: Thu, 18 Oct 2018 20:26:12 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-OutGoing-Spam-Status: No, score=-94.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 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