Is there any way to take a csv file with numerous values and feed these values into a postgres select statement. For example if i had a csv file called text.csv with values 1,2,3,4,5,6... is there a way for me to perform a select such as:
select *
from table
where id in (test.csv);