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 1kc4ky-0000fi-7R for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 09 Nov 2020 10:50:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kc4kw-0002gL-IW for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 09 Nov 2020 10:50:38 +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 1kc4kw-0002gE-CY for pgsql-pkg-yum@lists.postgresql.org; Mon, 09 Nov 2020 10:50:38 +0000 Received: from mail1.dalibo.net ([212.83.143.11] helo=mail.dalibo.com) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kc4ku-0000Ob-8V for pgsql-pkg-yum@postgresql.org; Mon, 09 Nov 2020 10:50:37 +0000 Received: from firost (larco.ioguix.net [82.66.0.6]) by mail.dalibo.com (Postfix) with ESMTPSA id 781F020676; Mon, 9 Nov 2020 11:50:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1604919035; bh=da6yv2KpnvSagpoCBnCUSFINbef/e+PU377mWMkg7Og=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=e2Zd8xwG77R3pTMq6t4TFj7wlPXCVzytKFW5jyAuQglcr1eZh/MRrPG3ExULceGcn Fdq9TBGo2ZpZDk2514Xy9zcZw58BQYyGoitFZEJIccwUxG1LzlNGd3yhzhVzJpUhx/ UQvJjnjJx+9yHOuVbJMc8oKJzHQEF6zGjKM5/4L0= Date: Mon, 9 Nov 2020 11:50:34 +0100 From: Jehan-Guillaume de Rorthais To: Craig Ringer Cc: pgsql-pkg-yum@postgresql.org Subject: Re: missing perl test modules in postgresqlXX-devel ? Message-ID: <20201109115034.38cf15d3@firost> In-Reply-To: References: <20201105190206.4358b61d@firost> Organization: Dalibo MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, 9 Nov 2020 10:33:07 +0800 Craig Ringer wrote: > Looking at the web, I can find old memories [1] where postgresql12-devel > >> installed them in /usr/pgsql-12/lib/pgxs/src/test/perl/ > >> > > > > We really need some consistency and cross checks between the RPMs and debs. > > > > Ah. I just noticed you said they're installed with the *client* packages. Yes, under Debian. This was just for comparison and I was surprised as well. Under EL7, I installed -devel packages as written in $subject > So that's an example of how we actually need some postgres packaging > guidance that applies to rpms, debs, EDB's binary installers, and anything > else, separate to any particular packaging method or team. > > In this case I think it's a bit silly to put the test perl modules along > with the client. This is a bit out of the scope of $subject, but I'll answer here anyway, as far as it could be interesting. > They can't really be used without the server installed, and they're not > useful for much unless you're building extensions. They should be in a -dev > package IMO. They should preferably not be in the test package along with the > actual test input files, though, since they're used by extensions to run > their own tests and extensions only have to depend on server-dev not on a > -test package. I agree they should live in -dev packages. But I should admit I have no idea why Debian put them in -client ones. Maybe they have some other constraints bound to the postgresql-common debian wrapper? I am currently writing TAP tests for check_pgactivity and rely on PostgresNode and friends to write and run them. They are very valuable and saves a lot of time. > Anyway, I hope the above answers your questions about where they live. I had no doubt about where they live, sorry for the confusion. Thank you, /Jehan-Guillaume de Rorthais