title: Postgresql row policy by user and row data
body: <p>I have a table named <code>products</code> in my postgresql 9.5 database. And this table fields are like this:</p>
  
  <ul>
  <li>id</li>
  <li>name</li>
  <li>sales_area</li>
  </ul>
  
  <p>And data is like this:</p>
  
  <pre><code>    id       name       sales_area
      1        prod1      A1
      2        prod2      A1
      3        prod3      A2
      4        prod4      A3
  </code></pre>
  
  <p>And I want to create a database user named user1, and this user should select, update and delete only <code>A1 sales_area</code> datas. Other database user will select, update and delete all datas.</p>
  
  <p>Is this rule possible using policy? And How?</p>