title: Return value from anonymous function postgresql
body: <p>How to?</p>
  
  <p>For easy example. I have a simple function:</p>
  
  <pre><code>DO LANGUAGE plpgsql $$ DECLARE
  BEGIN
  EXECUTE 'SELECT NOW()';
  END $$;
  </code></pre>
  
  <p>How I can return value of "NOW()" or other values from also anonymous function? The function is given as an example I have a more complex function.</p>