Re: Postgres perl module namespace

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Postgres perl module namespace
Date: 2021-08-11 02:09:29
Message-ID: CAOBaU_ZBD6POow=WCQJA1t-h8J_jUH4mriw4rX+Gt_AVvRqTcg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 11, 2021 at 9:37 AM Mark Dilger
<mark(dot)dilger(at)enterprisedb(dot)com> wrote:
>
> > On Aug 10, 2021, at 7:10 AM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> >
> > use PgTest::Utils;
> > use PgTest::PostgresNode;
>
> Checking CPAN, it seems there are three older modules with names starting with "Postgres":
>
> Postgres
> Postgres::Handler
> Postgres::Handler::HTML
>
> It would be confusing to combine official PostgreSQL modules with those third party ones, so perhaps we can claim the PostgreSQL namespace for official project modules. How about:
>
> PostgreSQL::Test::Cluster
> PostgreSQL::Test::Lib
> PostgreSQL::Test::Utils
>
> and then if we ever wanted to have official packages for non-test purposes, we could start another namespace under PostgreSQL.

Maybe it's me but I would find that more confusing. Also, to actually
claim PostgreSQL namespace, we would have to actually publish them on
CPAN right?

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2021-08-11 02:11:22 Re: Postgres perl module namespace
Previous Message Mark Dilger 2021-08-11 01:37:12 Re: Postgres perl module namespace