On Fri, Jan 14, 2011 at 04:45:52PM +0100, H.Merijn Brand wrote:
> 
> Yes, the *DBD::Oracle* README. I know, I found it there, but I was more
> looking for guides from DBI. Does DBI document that DBU_USER/DBI_PASS
> would somehow overrule other (default) settings?

DBI_USER and DBI_PASS are applied as defaults in DBI->connect()
so, if set, they'll be applied before the driver gets a chance to
consider what to do.

It's the $drh->default_user() method that looks up the env vars.
That method isn't documented, which is a bug in itself.

> I think the DBD::Oracle README does exactly what it said. So it is not
> wrong.

Agreed. There may be room for practical improvements if there are clear
problems with the current behavior.

Tim.

Reply via email to