Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Class::DBI::Loader and Postgres schemas

by ides (Deacon)
on Oct 05, 2005 at 15:39 UTC ( #497641=note: print w/replies, xml ) Need Help??

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

Not currently, but it appears you can hack it to work. In 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 <>

Replies are listed 'Best First'.
Re^2: Class::DBI::Loader and Postgres schemas
by srdst13 (Pilgrim) on Oct 05, 2005 at 16:26 UTC
    Always good to hack. Thanks for sending off the patch. I guess it should also be possible to override db_main using another base class (?), but I haven't tried that yet.

Re^2: Class::DBI::Loader and Postgres schemas
by ioannis (Prior) on Jun 15, 2006 at 08:29 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://497641]
[erix]: bullfinch ( a male and a female )
erix learned the word 'portaging' not so long ago (from vikings lugging their ships from one river-system to another)
[choroba]: my best run so far
[erix]: I think they build a portaging installation for yachts here not so long ago - lemme google it
[erix]: choroba ah, you should have sprinted 7 s off that :)
[erix]: (but then there's always a next (im)possible goal)
Corion avoids running by starting on time
[choroba]: my phone showed me 1 hour 10 km which was my goal, it changed a bit after uploading to the website

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2017-05-24 12:48 GMT
Find Nodes?
    Voting Booth?