var Step = require('step'), PSQL = require(global.settings.app_root + '/app/models/psql'); function pg(id) { this.id = id; } pg.prototype = { getQuery: function(sql, options) { return sql; }, getContentType: function(){ return this._contentType; }, getFileExtension: function() { return this.id; } }; pg.prototype.handleQueryRow = function(row, result) { if (this.hasSkipFields) { var sf = this.opts.skipfields; for ( var j=0; j