title: postgres function is not executing properly
body: <p>Here I have used like this but not working please provide me the solution</p>
  <pre><code>  IF  'select topic1 from tblscmipklimipcmapprovalio2269 t except select miptopic1 from tblmiptopic1master tm'    THEN
        BEGIN
            topic := topic1;
                execute 'insert into tblmiptopic1master (miptopic1 , createdby , createdon , updatedby , updatedon , active) values 
    (topic,22,'',55,'',1)';
            
        END;
    ```
  </code></pre>