first, install DBI and DBD::Pg module
come next two example I have writen for testing:
example one:
example two:
output :
come next two example I have writen for testing:
example one:
example two:
output :
datname blks_read blks_hit
------------------------------------------------------------
template1 0 0
template0 0 0
postgres 136 5955
askwan 124 7396
作者:askwan@『AskWan』
地址:http://www.askwan.com/use_DBD_Pg_to_connect_PostgreSQL_database/
可以转载,转载时请以链接形式注明作者和原始出处及本声明!
use DBD::Oracle connect oracle database
use perl to get timestamp

2009/10/20 10:01 | by











