title: Alter a SELECT Query to Limit
body: <p>I'm working on a 1M+ row table. The software that inserts the data sometimes tries to select all rows. If it tries to do that; It crashes. </p>
  
  <p>I'm not able to modify the software so I'm trying to implement a fix on the Postgresql side. </p>
  
  <p>I want Postgresql to limit SELECT query results that are coming from a special user to 1.</p>
  
  <p>I tried to implement a RULE but haven't been able to do it with success. Any suggestions are welcome.</p>
  
  <p>Br,</p>