Postgres: FATAL: catalog is missing 1 attribute(s) for relid 2653

Рейтинг: 0Ответов: 1Опубликовано: 17.02.2015

Новичок в postgres, но вот такой трабл. Установил postgres и создал одну базу данных. Все работало. Но сегодня с утра сделал еще одну, и начался какой-то косяк.

:~$ createdb fortest --owner=postgres
:~$ psql -U postgres fortest
psql: FATAL:  Peer authentication failed for user "postgres"

и

postgres=# \connect fortest 
FATAL:  catalog is missing 1 attribute(s) for relid 2653
Previous connection kept

В инете ничего не нашел, в чем может быть трабл?

Ответы

▲ 1

Решил проблему добавив pg :~$ sudo npm install pg