added boolean value for postgres query templates.