The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

stag-connect-parameters.pl

SYNOPSIS

  alias db='stag-connect-parameters.pl -d'
  psql `db mydb`

DESCRIPTION

Looks up the connection parameters for a logical dbname in the metadata file pointed at by DBSTAG_DBIMAP_FILE

See selectall_xml.pl for more on this mapping

ARGUMENTS

-d DBNAME

This is either a DBI locator or the logical name of a database in the DBSTAG_DBIMAP_FILE config file