var pg = require('pg'); exports.connTest = function () { pg.connect(Connections.pg_sjy_gis, function (err, db) { if (err) { console.log(err); process.exit(0); } else { console.log('sjy_gis conn ok !'); } }); };