On Tue, Dec 07, 2004 at 12:38:12PM +0000, Tim Bunce wrote:
> 
> ---
> The simplest fix is to standardize one set of driver DSN attribute
> names so that at least the host, port, and database (schema) can
> be specified in a portable way.
> 
> Most drivers already support the "foo=bar;..."  style in the DSN string.
> They'd just need to support alternative names for some attributes.
> 
> As for what names to use, "host" and "port" are easy choices.
> For the database there's "db", "dbname", and "database".
> I'd probably go with "db".
> ---
> 
> So now what all you zelots out there need to do is (gently) nag the
> authors of your favorite drivers to implement this change.
> 
> The most gentle and effective way of doing that is to send them a patch.

Shouldn't DBI proper at least have a documentation patch explaining what
which parts of this should be considered 'standard'? 

I see that each DBD module can translate the hash into an old-fashioned
DSN string themselves.

    Mark

Reply via email to