code: function(db) {
  		function tv4_validateResult(data, schema) {
  			var tv4 = require('tv4');
  			return tv4.validateResult(data, schema);
  		}
  		return db.query('CREATE SCHEMA IF NOT EXISTS tv4')
  			.query('CREATE OR REPLACE FUNCTION tv4.validateResult(data json, schema json) RETURNS json LANGUAGE plv8 VOLATILE AS ' + NoPg._escapeFunction(tv4_validateResult, ["data", "schema"]) );
  	}
docs: #2 - Namespace and sql function wrapper for tv4