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

From Andrew Dunstan
Subject Re: Postgres perl module namespace
Date
Msg-id d673844a-e670-36ff-d2fe-c1b9d579e9bd@dunslane.net
Whole thread Raw
In response to Re: Postgres perl module namespace  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Postgres perl module namespace  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On 8/10/21 10:40 AM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> I will undertake to do the work, once we get the bike-shedding part done.
>> I'll kick that off by suggesting we move all of these to the namespace
>> PgTest, and rename TestLib to Utils, so instead of
>>     use TestLib;
>>     use PostgresNode;
>> you would say
>>     use PgTest::Utils;
>>     use PgTest::PostgresNode;
> Using both "Pg" and "Postgres" seems a bit inconsistent.
> Maybe "PgTest::PgNode"?
>
> More generally, I've never thought that "Node" was a great name
> here; it's a very vague term.  While we're renaming, maybe we
> could change it to "PgTest::PgCluster" or the like?
>
>             



I can live with that. I guess to be consistent we would also rename
PostgresVersion to PgVersion


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: Add option --drop-cascade for pg_dump/restore
Next
From: Greg Stark
Date:
Subject: Quirk of pg_temp schemas ...