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 1k9aOA-0006nn-1U for pljava-dev@arkaria.postgresql.org; Sat, 22 Aug 2020 20:45:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k9aO7-0000RE-5K for pljava-dev@arkaria.postgresql.org; Sat, 22 Aug 2020 20:45:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9aO7-0000R7-0W for pljava-dev@lists.postgresql.org; Sat, 22 Aug 2020 20:45:19 +0000 Received: from anastigmatix.net ([68.171.219.55]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9aO4-0006pw-IS for pljava-dev@lists.postgresql.org; Sat, 22 Aug 2020 20:45:18 +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=2ddhZIFjFeT7JwDi4eDKUsWu983orI8pVjmDmHGr/5Q=; b=OsPROoPfCWWF/rxzwnOc53hSIG 6hhKgF5w4kG9t4ddXqlCFLbzwVH/C/mskJqFLtCWP0XLvDgR4v/350uK3OnZTLfRrPKwiL02+ErZE hivjj9ZV/c7pmK/+77VH+7O/s8OIYyPofUtWA+jTsxVXKpTfUy0NEzNBvwW43Mu3HzWMT5ecR9Sc4 QowF9b1PEz8znEPQDdoNjQ3hS2/yR7Y3D2lC9Fel+lN0gC/suqJf+Ojzo/gSdUMaG7CKVLZbVS4V0 NAS9SffRhB//t25bA1bG7g/JniUkOP5dIJ5NVpbSCWlTGNpuYGxIBtJVZWtpb+QXguBHVUSb0NC1/ HbAPri+g==; Received: from [184.19.31.139] (port=45293) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1k9aO2-00COlC-73; Sat, 22 Aug 2020 16:45:14 -0400 Subject: Re: the ScriptingMojo To: Kartik Ohri References: <5F368380.9070203@anastigmatix.net> <5F368A99.6070709@anastigmatix.net> <5F36965C.60707@anastigmatix.net> <5F3A7DC6.8090905@anastigmatix.net> <5F3D32E9.80504@anastigmatix.net> <5F3D36BE.70703@anastigmatix.net> <5F3D38F8.7050907@anastigmatix.net> <5F3D3A75.5010304@anastigmatix.net> <5F3D3D2E.4070109@anastigmatix.net> <5F3D43BD.4020900@anastigmatix.net> <5F3DA48D.7090408@anastigmatix.net> <5F4172F9.4060608@anastigmatix.net> <5F417C68.50702@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack Message-ID: <5F4183D9.10802@anastigmatix.net> Date: Sat, 22 Aug 2020 16:45:13 -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 08/22/20 16:33, Kartik Ohri wrote: >>> names of their own for convenience, but other methods could just be >>> accessible as utils.method() and I think that would solve this casting >>> issue. >> > Regarding this, which methods should be bound by their own names ? Should I > keep the current list of methods and just add an instance of the PGXSUtils > to the script or should I remove the existing bindings ? I have no strong opinion. I guess an advantage of keeping the existing bindings is it reduces busy-work just making adjustments to the script snippets because names of things changed. There could come a future day after everything is working when a polishing pass could be done in its own right and rethink some bindings or names looking at the whole finished picture. Regards, -Chap