Pcore::PgSQL
docker create --name pgsql -v pgsql:/var/local/pcore-pgsql/data/ -v /var/run/postgresql/:/var/run/postgresql/ -p 5432:5432/tcp softvisio/pcore-pgsql # how to connect with standard client: psql -U postgres psql -h /var/run/postgresql -U postgres # connect via TCP my $dbh = P->handle('pgsql://username:password@host:port?db=dbname'); # connect via unix socket my $dbh = P->handle('pgsql://username:password@/var/run/postgresql?db=dbname');
zdm <zdm@cpan.org>
This software is copyright (c) 2015 by zdm.
To install Pcore::PgSQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pcore::PgSQL
CPAN shell
perl -MCPAN -e shell install Pcore::PgSQL
For more information on module installation, please visit the detailed CPAN module installation guide.