Error in the current connected database in PostgreSQL

I’m having some error that keeps on popping up randomly when I try to execute A SQL command. Someone usually knows that they’re connected to a certain database in PostgreSQL by the help of this prefix ‘postgres=>’ or ‘mario_database=>’ before the actual SQL command, right? But here comes a case when after executing the command, it now changes to ’ postgres’> ’ or ‘mario_database’> ’ in that case and from there it no longer responds to my commands. As you can see, the equal sign is no longer there , it has been replaced with the (') apostrophe .I always end up reconnecting to the server each time without knowing what resulted to this error. What does this imply?