title: Consolidating views / Adding criteria on-top of existing view
body: <p>I Have a top level <code>view</code> stored in schema <code>schem1</code> that drives it's data from some table that masks out irrelevant data.
  The application issues multiple different criterias on the data in order to mask out other rows for other reasons.</p>
  
  <p>The data processing is done with stored procedures. I would like that the application would have an ability to issue whatever filter it wants (OR NOT) back to a TEMPORARY view in a way that the application could "add-up" filters as it wishes, In other words, I'm looking for a way to store a temporary view with that drives it's data from the preceding temporary view that the new view is taking it's place.</p>
  
  <p>Alternative explanation to what I want to achieve is a way to combine new criteria on-top of existing view so that fallowing references to that view would use the 'base view+new criteria'</p>
  
  <p>As far as I can tell, pgsql does not "<em>compile</em>" the view, but uses it as is SQL text, so referencing the same <code>view</code> is considered a recursive call (When in fact what I would like to do is reference the "previous layer view" in the FROM clause).</p>