title: How to display Notice successfull in postgres
body: <p>I want to display in my CMD console, ONLY the success message if my request its OK:</p>
  
  <p>Example :</p>
  
  <pre><code>  BEGIN
    INSERT / UPDATE .... //request
    EXCEPTION
    WHEN successful_completion THEN RAISE NOTICE 'INFO : MESSAGE RESQUEST IS OK ';
    END;
  </code></pre>
  
  <p>THIS MY CODE EDIT:</p>
  
  <pre><code>        DO $$ 
              BEGIN
                  BEGIN
                      UPDATE user set age = 22 , date_inscription =  '2018-01-30' where id = 154;
                  EXCEPTION
                  WHEN ??? THEN ????
                 END;
                 RAISE NOTICE 'INFO : L''age  et date inscription ont été mis à jour';  // MESSAGE OK
              END;
              $$
  </code></pre>