I was getting the exact same error, but the above answers didn’t work for me. I had to reinstall postgresql.
brew reinstall postgresql
More Related Contents:
- PostgreSQL “DESCRIBE TABLE”
- How to exit from PostgreSQL command line utility: psql
- In psql, why do some commands have no effect?
- How do I specify a password to ‘psql’ non-interactively?
- Run batch file with psql command without password
- Run a PostgreSQL .sql file using command line arguments
- How to switch databases in psql?
- Postgresql: Scripting psql execution with password
- “psql: could not connect to server: Connection refused” Error when connecting to remote database
- psql: FATAL: database “” does not exist
- PostgreSQL: Why psql can’t connect to server?
- Use variable set by psql meta-command inside of DO block
- Alternate output format for psql showing one column per line with column name
- PostgreSQL disable more output
- Importing .csv with timestamp column (dd.mm.yyyy hh.mm.ss) using psql \copy
- How do you find the row count for all your tables in Postgres
- How to make “case-insensitive” query in Postgresql?
- Rownum in postgresql
- dynamic sql query in postgres
- Is there a timeout for idle PostgreSQL connections?
- How to make connection to Postgres via Node.js
- docker postgres pgadmin local connection
- Does a Postgres UNIQUE constraint imply an index?
- SELECT raises exception in PL/pgSQL function
- Heroku “psql: FATAL: remaining connection slots are reserved for non-replication superuser connections”
- Changing primary key int type to serial
- Return SETOF rows from PostgreSQL function
- PSQLException: current transaction is aborted, commands ignored until end of transaction block
- Postgres default sort by id – worldship
- Best way to install hstore on multiple schemas in a Postgres database?