diff --git a/lib/dialect/postgres.js b/lib/dialect/postgres.js
index <HASH>..<HASH> 100644
--- a/lib/dialect/postgres.js
+++ b/lib/dialect/postgres.js
@@ -1061,7 +1061,7 @@ Postgres.prototype.handleDistinct = function(actions,filters) {
  */
 function dontParenthesizeSubQuery(parentQuery){
 	if (!parentQuery) return false;
-	if (parentQuery.nodes.length == 0) return false;
+	if (parentQuery.nodes.length === 0) return false;
 	if (parentQuery.nodes[0].type != 'INSERT') return false;
 	return true;
 }
jshint-fix: fix for jshint error