PostgreSql - Added intercept when saving a query, sometimes it runs too fast createTable command - Improved to ensure better timing, and that table is correctly created