title: Using a text file in the where clause of postgreSQL query
body: <p>Is this possible?  Basically, we are going to be using a script to extract information from our database.  We are trying to design a query that could use a list of values in a text file in the WHERE clause to limit to specific records.  This list will change regularly and it will not be efficient to manually edit the query on a regular basis.  I looked at <a href="https://stackoverflow.com/questions/4562911/using-input-from-a-text-file-for-where-clause?answertab=active#tab-top">this question</a> for SQL Server and I want to do something similar in PostgreSQL.  </p>
  
  <p>So, for example, a super simple query might be something like </p>
  
  <pre><code>SELECT * 
  FROM users
  WHERE userID in "C:\myfile.txt";
  </code></pre>