This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Project:Perl/maint-notes/dev-perl/DBIx-Safe
From Gentoo Wiki (test)
Jump to:navigation
Jump to:search
Tests
Tests for DBIx::Safe require some preconfiguration:
export DBI_DSN="dbi:Pg:dbname=pgtest" export DBI_USER="pgtest_user" export DBI_PASS="test"
CREATE ROLE pgtest_user LOGIN PASSWORD 'test' VALID UNTIL 'infinity'; CREATE DATABASE pgtest WITH OWNER = pgtest_user ENCODING = 'UTF8'; GRANT ALL ON DATABASE pgtest TO pgtest_user;
And of course, require a running postgres instance.