postgresql

Arrumando PostgreSQL após atualizar Mac para Yosemite 10.10

Então pessoal, dica rápida. Atualizei meu MAC para o Yosemite (10.10) e achei ótimo. Porém meu Postgres parou de funcionar.

O problema foi gerado no upgrade para o Yosemite que acabou excluindo umas pastas utilizadas pelo PostgreSQL instalado através do brew.

As pastas são:

/usr/local/var/postgres/pg_tblspc
/usr/local/var/postgres/pg_twophase
/usr/local/var/postgres/pg_stat_tmp

Para resolver o é simples, basta rodar o comando abaixo no terminal que vai criar as pastas faltantes:

mkdir -p /usr/local/var/postgres/{pg_tblspc,pg_twophase,pg_stat_tmp}

Aqui resolveu. E por aí?

Fonte: https://coderwall.com/p/rjioeg/fixing-postgres-homebrew-install-after-yosemite-upgrade

High skilled software engineer and generalist, delighted with learning new technologies and new ways to effectively solve problems. Strong analytical skills, fast learner and concise programming style. Skilled with Ruby on Rails, Java and PHP. Experienced with Python, Django, JavaScript, jQuery, HTML5 and CSS. Good knowledge of MySQL and Postgres, concurrency and Project Management. Likes bikes, adventures and travelling.

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*