Re: Postgres perl module namespace - Mailing list pgsql-hackers

From Mark Dilger
Subject Re: Postgres perl module namespace
Date
Msg-id EEF22566-8BDA-4CBB-94C6-6E31ED66BF60@enterprisedb.com
Whole thread Raw
In response to Re: Postgres perl module namespace  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Postgres perl module namespace  (Julien Rouhaud <rjuju123@gmail.com>)
Re: Postgres perl module namespace  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers

> On Aug 10, 2021, at 7:10 AM, Andrew Dunstan <andrew@dunslane.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
PostgreSQLnamespace 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. 

—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company






pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Postgres perl module namespace
Next
From: Julien Rouhaud
Date:
Subject: Re: Postgres perl module namespace