CVS to In_list without dynamic SQL, how? - Mailing list pgsql-sql

From Michael Moore
Subject CVS to In_list without dynamic SQL, how?
Date
Msg-id CACpWLjNEXOUqw3iriw4FBdLEjbi20mGt0aeKN9Yc-kDpCBwZhA@mail.gmail.com
Whole thread Raw
Responses Re: CVS to In_list without dynamic SQL, how?
List pgsql-sql
DO $$declare
   csv text := '''1'',''2'',''3''';
  v_var text;
begin
    select var into v_var from tx_vendor where vendor_key in csv;
    RAISE NOTICE 'result=(%)', v_var ;
end$$;

Obviously the above does not work, but hopefully explain what I am trying to accomplish. 
Thanks,
Mike

pgsql-sql by date:

Previous
From: Michael Moore
Date:
Subject: Re: call by reference vs call by value
Next
From: "David G. Johnston"
Date:
Subject: Re: CVS to In_list without dynamic SQL, how?