Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1js8jm-0002XQ-NQ for pljava-dev@arkaria.postgresql.org; Sun, 05 Jul 2020 17:47:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1js8jl-00029M-Ky for pljava-dev@arkaria.postgresql.org; Sun, 05 Jul 2020 17:47:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1js8jl-00029F-5O for pljava-dev@lists.postgresql.org; Sun, 05 Jul 2020 17:47:33 +0000 Received: from anastigmatix.net ([68.171.219.55]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1js8je-0004E4-RW for pljava-dev@lists.postgresql.org; Sun, 05 Jul 2020 17:47:32 +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:Cc:References:To:Subject:Sender :Reply-To: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=AnNXrV/1KI+jho+6DiUkZuWOwfMRa235MFDA32b+/WY=; b=lxkJ0FV2tfxijDchNiGeM+GJ2A QWWv4MV1TsZFe+eZsZRSSqmh3hYLArhH4qeYIF9r/OF3gvgtXN0OUdeLo6ckSx+X5At5DgyboRUcl UX54rKCrkD4qybGmdw1HUvuJVPyq/a2Zo+BhjGw87WUOuP0iM5UTGKqgovb8Gmko7ZlXXPUoQsq5s fDxaV4vu7uhEHtdYNVq5AzHEQf0/ErlCIvfFUiGhMauLDIJWrA6q2h1RAhGNBRPJWFYe1+rz/HRIq hQJ3HUQ3Ie32ItUjhZPofntDreZvL/P6/JQlMqTTb3Yccj5vu47wUa92Nj+wjFSJQbpzfXJ2+pw/i PMj8oS3w==; Received: from [184.19.31.139] (port=43893) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1js8jd-00BY58-2Q; Sun, 05 Jul 2020 13:47:25 -0400 Subject: Re: PL/Java new build plugin To: Kartik Ohri References: <5EF7B265.3060907@anastigmatix.net> <5EFA6C22.8060006@anastigmatix.net> <5EFC18D9.3090108@anastigmatix.net> <5EFD41B1.30009@anastigmatix.net> <5EFE0A4D.8060402@anastigmatix.net> <5F0125BC.5000609@anastigmatix.net> <5F0172D7.3000708@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F02122C.7040905@anastigmatix.net> Date: Sun, 5 Jul 2020 13:47:24 -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: 7bit X-OutGoing-Spam-Status: No, score=-95.0 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 - lists.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 X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/05/20 06:44, Kartik Ohri wrote: >> Have you written out the assumptions that must be true of pg_config's >> output, for parsing it into the separate properties to be reliable? >> > The only assumption I make is that pg_config prints each variable > separated by the system's file separator. Anything about the system's line separator? Anything about what characters are or are not allowed to be present inside any of the variables being printed? I am emphasizing this now because it involves the same kind of thinking that the Windows ProcessBuilder workaround will require a lot of. Regards, -Chap