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