SQLExecutor runs generated SQL queries against PostgreSQL with retry logic and error recovery. Multi-Stage Text-to-SQL Architecture realizes the SQLExecutor use case for executing SQL with error recovery and retry.