diff --git a/app/models/formats/pg.js b/app/models/formats/pg.js index 54917475..7580ffd8 100644 --- a/app/models/formats/pg.js +++ b/app/models/formats/pg.js @@ -22,13 +22,15 @@ PostgresFormat.prototype = { }; PostgresFormat.prototype.handleQueryRow = function(row, result) { - if (this.hasSkipFields) { + result.addRow(row); +}; + +PostgresFormat.prototype.handleQueryRowWithSkipFields = function(row, result) { var sf = this.opts.skipfields; for ( var j=0; j