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 1ljq3v-0007mS-2i for pgsql-hackers@arkaria.postgresql.org; Thu, 20 May 2021 21:18:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ljq3t-0007hS-LL for pgsql-hackers@arkaria.postgresql.org; Thu, 20 May 2021 21:18:33 +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 1ljq3t-0007hK-Da for pgsql-hackers@lists.postgresql.org; Thu, 20 May 2021 21:18:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljq3r-00028m-8o for pgsql-hackers@lists.postgresql.org; Thu, 20 May 2021 21:18:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 14KLITQ93796297; Thu, 20 May 2021 17:18:29 -0400 From: Tom Lane To: Andrew Dunstan cc: PostgreSQL Hackers Subject: Re: Postgres perl module namespace In-reply-to: References: Comments: In-reply-to Andrew Dunstan message dated "Thu, 20 May 2021 15:47:43 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3796295.1621545509.1@sss.pgh.pa.us> Date: Thu, 20 May 2021 17:18:29 -0400 Message-ID: <3796296.1621545509@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: > While solving a problem with the Beta RPMs, I noticed that they export > our perl test modules as capabilities like this: > [andrew@f34 x86_64]$ rpm -q --provides -p > postgresql14-devel-14-beta1_PGDG.fc34.x86_64.rpm | grep ^perl > perl(PostgresNode) > perl(PostgresVersion) > perl(RecursiveCopy) > perl(SimpleTee) > perl(TestLib) > I don't think we should be putting this stuff in a global namespace like > that. We should invent a namespace that's not likely to conflict with > other people, like, say, 'PostgreSQL::Test' to put these modules. That > would require moving some code around and adjusting a bunch of scripts, > but it would not be difficult. Maybe something to be done post-14? Agreed that we ought to namespace these better. It looks to me like most of these are several versions old. Given the lack of field complaints, I'm content to wait for v15 for a fix, rather than treating it as an open item for v14. > Meanwhile I would suggest that RPM maintainers exclude both requires and > provides for these five names. +1 regards, tom lane