http://www.perlmonks.org?node_id=497641


in reply to Class::DBI::Loader and Postgres schemas

Not currently, but it appears you can hack it to work. In Class::DBI::Loader::Pg.pm there is a line:
return $dbh->tables( undef, "public", "", "table", { noprefix => 1, pg_noprefix => 1 } );
Replace the "public" with the name of your schema and it should work as you want.

UPDATE: I've sent a patch off to the maintainer for this so hopefully it will be in the next release for you.

Frank Wiles <frank@wiles.org>
http://www.wiles.org