title: Printing out the NOTICE from Truncate Cascade?
body: <p>I want to retrieve the "NOTICE:  truncate cascades to table...." statements that get spat out in terminal when running a truncate cascade in postgres, from php.</p>
  
  <p>For example if i run a "TRUNCATE table_name CASCADE;" inside a BEGIN, ROLLBACK statement, is there any way I can fetch those notices of what is going to be truncated? As they are in order of deletion - This would be a big help.</p>
  
  <p>Thanks</p>