On Mon, Jun 25, 2001 at 08:32:42PM -0700, Jonathan Leffler wrote:
> Tim Bunce wrote:
>
> > Changes in DBI 1.16, 30th May 2001
> >
> > Added note to data_sources() method docs that some drivers may
> > require a connected database handle to be supplied as an attribute.
>
> With all due respect, Tim, this is completely ducking the issue. Yes, after a
>fashion it
> resolves the problem, rather like saying "Under-age kids should not drink in pubs"
>solves a
> problem. It doesn't really cut to the meat of the issue though -- the data_sources()
> method is not generally useful because the interface is incomplete.
Portable applications rarely need to use data_sources().
The DBI always has to steer a course between the important and the impractical.
The correct 'complete' interface is probably the ODBC SQLBrowseConnect()
but I don't think you'd thank me for mandating that.
Tim.