I’ve just started the above course/exercise and for some reason the terminal seems extra unstable. Frequently the database stops recognizing any commands and I have to close my current terminal and open a new one. This is happening more than five or six times an hour.
Yep, not a syntax issue, the terminal just seems to stop responding. When I close and open a new one it will work for about another six or seven minutes and then do the same thing.
You can utilize DBeaver or pgAdmin client to connect to PostgreSQL Server. They are better clients and can stay pretty stable with any operating systems.