 <p>If you want to pass the whole list in a single parameter, use array datatype:</p> <pre><code>SELECT * FROM word_weight WHERE word = ANY('{a,steeple,the}'); -- or ANY('{a,steeple,the}'::TEXT[]) to make explicit array conversion </code></pre>