Feature Requests: Browse | Submit New | Admin

[#18875] Access database name from DatabaseHandle

Date:
2008-03-17 04:50
Priority:
1
Submitted By:
Pistos (pistos)
Assigned To:
Mike Pomraning (pilcrow)
Category:
Interface Improvements (example)
State:
Open
Summary:
Access database name from DatabaseHandle

Detailed description
From DatabaseHandle instances, provide access to the name of the database that was connected to.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-10-26 03:30
Sender: Mike Pomraning

Attaching patch with stub NotImplementedError (DBD Required)
behavior -- each of the "big 5" dbds implements this
method.
Date: 2009-10-25 03:22
Sender: Mike Pomraning

dbi-0.4.2 (2009-07-11) introduced DBI::DatabaseHandle#database_name
to address this.

However, a "NotImplementedError/NotSupportedError/nil"
stub in DBI::BaseDatabase is yet needed, as is a corresponding
test in general/test_database.rb.

Attached Files:

Name Description Download
dbi-0.4.3-database_name-test.diff BaseDatabase stub and tests Download

Changes:

Field Old Value Date By
File Added4782: dbi-0.4.3-database_name-test.diff2009-10-26 03:30pilcrow
priority32009-10-25 03:22pilcrow
assigned_tonone2009-10-25 03:22pilcrow
category_idNone2009-10-25 03:22pilcrow