From: Mark Wooding Date: Sat, 11 Feb 2023 23:04:13 +0000 (+0000) Subject: pldb: Force the database name. X-Git-Url: https://git.distorted.org.uk/~mdw/dvddb/commitdiff_plain/a2dfdd89faaddc1e86fe937c76532b0bd31af2f7 pldb: Force the database name. This could really do with a proper configuration mechanism. --- diff --git a/pldb b/pldb index 2e70b6c..73fb31d 100755 --- a/pldb +++ b/pldb @@ -44,7 +44,7 @@ sub db_connect (;$) { RaiseError => 1, ReadOnly => 1, %$opts); - $DB = DBI->connect("dbi:Pg:host=roadstar", "", "", \%opts); + $DB = DBI->connect("dbi:Pg:host=roadstar;dbname=mdw", "", "", \%opts); } sub must_exist ($$@) {