There's more than one way to do things | |
PerlMonks |
Alternative to DBD::Pgby Digioso (Sexton) |
on Jan 31, 2016 at 10:50 UTC ( [id://1154124]=perlquestion: print w/replies, xml ) | Need Help?? |
Digioso has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I have a website on a webhoster that offers PostgreSQL databases. Unfortunately it's just webspace so I don't have any access to the underlying OS or root-access. And the DBD::Pg module is not installed. I contacted my webhoster and asked them to install it but so far they seem to be unwilling to do so. The last statement from them was: PHP is used more often than Perl so please think about using PHP. That wasn't really a helpful answer for me... Often it is enough to just upload the appropiate .pm files to your own module library but this doesn't work for DBD::Pg. I am able to run the psql command and have tested this, though. This allows me to run queries and so on. This is the only alternative I came up with so far. I'd write myself a wrapper-function for the psql-command which I can use in my other scripts. But if possible I want to avoid that since the DBI-module pretty much is what I have used since years. So my question is: Are there alternatives to DBD::Pg? Or is there some way to use DBD::Pg without having to install it? Thanks in advance, Digioso.
Back to
Seekers of Perl Wisdom
|
|