Mam 2 zainstalowane instancje postgresql na moim komputerze: 9.1 i 9.2:
sudo service postgresql status
9.1/main (port 5432): down
9.2/main (port 5433): down
Znajdują się w /etc/postgresql/9.1/ i /etc/postgresql/9.2/. Potem uciekam 9.2 mówiąc sudo service postgresql start Ale to polecenie nie działa:
$ psql
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Naprawdę chcę użyć 9.2 tylko nie potrzebuję 2 instancji.
Czy masz pojęcie, jak je usunąć 9.1 bezpiecznie lub zrobić 9.2 być główną, domyślną instancją?