Save PG exception class and text to queries table
Display query exception text in list of recent queries