title: How to return multi table in postgres without refcursor?
body: <p>I have one SQL query like where I am returning two tables. How to return two tables in postgres?</p>
  
  <pre><code> create proc sp_fetchResult
      as
      begin
      select * from TBl_Users;
      select * from TBl_Log;
      end;    
  </code></pre>
  
  <p>How to do it in postgres function? The structure of those two tables is not same. I need two individual result sets in the form of table like table [0] and table[1].  I need to return only these two select statements from function. </p>