On Monday 08 April 2019 20:49:25 Tim Bunce wrote:
> > Tim, what is opinion for adding that new diagnostic API into DBI?
>
> I'd much prefer to wait till multiple drivers have added their own
> driver-specific, and driver-optimized, interface. And then have a
> discussion about how the DBI might
> Tim, what is opinion for adding that new diagnostic API into DBI?
I'd much prefer to wait till multiple drivers have added their own
driver-specific, and driver-optimized, interface. And then have a
discussion about how the DBI might best provide a common API.
That approach has worked well in
Hello, I would like to hear some feedback on this DBI API proposal.
Tim, what is opinion for adding that new diagnostic API into DBI?
On Tuesday 29 January 2019 13:16:23 p...@cpan.org wrote:
> CCing DBD::Pg, DBD::Oracle and DBD::ODBC developers. What do you think
> about following diagnostic API
On Thursday 24 January 2019 13:57:23 Daniƫl van Eeden wrote:
> I think this would be very useful.
>
> Another thing you could consider is a hash where the error/warning number is
> the key and an list of msgs is the value.
I think this is just complicated to create create and use. Is there any
On Wednesday 23 January 2019 20:19:27 Tim Bunce wrote:
> A key goal of the DBI is to provide a database independant interface to
> databases to enable application portability. What you're suggesting
> seems inherently database specific.
As wrote DBI already has API for providing last
A key goal of the DBI is to provide a database independant interface to
databases to enable application portability. What you're suggesting
seems inherently database specific.
The DBI defines a way for drivers to offer database specific functionality.
A good way to move a suggestion like this
Hi! DBI currently supports 3 functions to retrieve diagnostic
informations
https://metacpan.org/pod/DBI#err
https://metacpan.org/pod/DBI#errstr
https://metacpan.org/pod/DBI#state
which return the last one database native code, message and SQLSTATE.
Plus there warning or note information is