Обсуждение: Including Perl DBI in our CVS

Поиск
Список
Период
Сортировка

Including Perl DBI in our CVS

От
Bruce Momjian
Дата:
Do people want the more modern Perl DBI interface code added to our CVS
tree?  Seems like it would be a good idea.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: Including Perl DBI in our CVS

От
Tom Lane
Дата:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Do people want the more modern Perl DBI interface code added to our CVS
> tree?  Seems like it would be a good idea.

Not unless our CVS becomes the master repository for DBD::Pg.

We have enough problems with the existing perl5 interface being out of
sync with its maintainer's copy.  We don't need to be distributing
obsolete copies of DBD::Pg.  In fact, given that Perl people are
accustomed to fetching such things from CPAN, I'm not sure we should
try to distribute it as part of our releases at all...
        regards, tom lane


Re: Including Perl DBI in our CVS

От
Bruce Momjian
Дата:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Do people want the more modern Perl DBI interface code added to our CVS
> > tree?  Seems like it would be a good idea.
> 
> Not unless our CVS becomes the master repository for DBD::Pg.
> 
> We have enough problems with the existing perl5 interface being out of
> sync with its maintainer's copy.  We don't need to be distributing
> obsolete copies of DBD::Pg.  In fact, given that Perl people are
> accustomed to fetching such things from CPAN, I'm not sure we should
> try to distribute it as part of our releases at all...

Yes, we would have to become the main repository.  Seems having multiple
people access and test the interface would improve it.  Someone would
have to upload to CPAN when we update our copy.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: Including Perl DBI in our CVS

От
"Jeff Duffy"
Дата:
On Sat, 12 May 2001 18:23:54 -0400 (EDT), Bruce Momjian alluded:

>  Yes, we would have to become the main repository.  Seems having multiple
>  people access and test the interface would improve it.  Someone would
>  have to upload to CPAN when we update our copy.
Obviously, this requires the maintainer's (Edmund's) support on the issue,
but I don't see any reason not to become the repository. CPAN is merely a
distribution point, and unlike a SourceForge doesn't provide CVS services and
so forth for developers. 
While Pg.pm may work, it is not DBI based and therefore outdated by
definition. All of the other database drivers have been migrated to the DBI
interface (OraPerl, SybPerl, and Msql-MySQL as examples) and in most cases
the old interface is now unsupported. New coders are taught to use the DBI
with good reason, and having the only Perl interface distributed with Pg be a
non-DBI one is confusing for users.
Maintaining both seems like a waste of resources. It is not ureasonable to
expect those currently using the standalone Pg module to migrate to DBD::Pg,
as the DBI has been the standard for db access within Perl for a good while.
And hey, I'll go on the hook to rewrite the Perl portion of the Programmer's
Guide once we can get DBD::Pg in the sources.

Jeff


Re: Including Perl DBI in our CVS

От
Giorgio Valoti
Дата:
Bruce Momjian wrote:

> Do people want the more modern Perl DBI interface code added to our CVS
> tree?  Seems like it would be a good idea.

I agree


--
Giorgio Valoti
Magnetic Media Network <http://www.magneticmedia.com>
-----------------