Keep It Simple, Stupid | |
PerlMonks |
Re: DBI connectby erix (Prior) |
on Nov 02, 2011 at 14:35 UTC ( [id://935407]=note: print w/replies, xml ) | Need Help?? |
It depends on the DBI driver. PostgreSQL/DBD:Pg can work without dbname: for instance, it will default to the user name as database name, or it can take the value of environment variable 'PGDATABASE'. Updated 2011.12.14 (default dbname is user name, which is not necessarily 'postgres'...)
In Section
Seekers of Perl Wisdom
|
|