0

I'm completely new with MacOS X and I'm not underestanding where my system postgresql 9.1.5 is installed. I want to upgrade to 9.2 but I would like to uninstall this default installation before.

When I type in the terminal

$> psql --version

The result is:

psql (PostgreSQL) 9.1.5

but I can not find this installation.

4

2 に答える 2

1

Apple が出荷するバージョンを削除する必要はありません。

MacPorts を使用して、OSX で PostgreSQL のさまざまなカスタム ビルドを実行しています。「正常に機能する」ようにするには少し手間がかかりますが (PATH および PG 環境変数)、Apple の Postgres のコピーを削除する必要はありませんでした。

また、Postgres が実行されている非常に最小限の Debian インストールの VM (VirtualBox) も保持しています。PG 変数または JDBC URL を変更することで、VM に対してすべてのテストを実行できます。ホスト上で実行するほどパフォーマンスは高くありませんが、開発には非常にクリーンです。

于 2013-09-01T13:44:35.880 に答える