I am connecting to PostgreSQL and Redshift successfully. Once I have run 1-2 queries on the console (or any other command such as CREATE TABLE), I get the following error (COMPANY used to replace the name of the company):
[HY000] [COMPANY](500150) Error setting/closing connection: Not Connected. java.lang.RuntimeException: com.COMPANY.support.exceptions.GeneralException: [COMPANY](500150) Error setting/closing connection: Not Connected.
When I create a new SQL file, and paste the same code, it executes. And then the situation repeats itself.
Is there a bug with the software?