Geriye dönmeye çalıştığım eski bir projem var, ancak postgres giremiyorum. sudo -u postgres psql
Koşu bana veriyor: Birkaç ay geri sürüme 9.4 için postgres yükseltilmiş kaynaklanıyor olabilir, merak ediyorumPostgres hatası: Var olan yerel küme varsayılan hedef olarak uygun değil
Error: No existing local cluster is suitable as a default target.
Please see man pg_wrapper(1) how to specify one.
. Bu dpkg --get-selections |grep postgres
benim çıktısı:
postgresql install
postgresql-9.3 install
postgresql-9.4 install
postgresql-client-9.3 install
postgresql-client-9.4 install
postgresql-client-common install
postgresql-common install
postgresql-contrib install
postgresql-contrib-9.3 install
postgresql-contrib-9.4 install
postgresql-server-dev-9.3 install
Bunlar benim şimdiki kümeler pg_lsclusters
gelmektedir:
Ver Cluster Port Status Owner Data directory Log file
9.4 apps 5434 online postgres /var/lib/postgresql/9.4/apps /var/log/postgresql/postgresql-9.4-apps.log
9.4 main 5433 online postgres /var/lib/postgresql/9.4/main /var/log/postgresql/postgresql-9.4-main.log
tekrar postgres erişmek mümkün ne yapabilirim? Googling çok fazla yardım almadı.
** Lütfen adam pg_wrapper (1) ile nasıl belirtilir. Yani, belgeleri okuduğunuzda .... –