[pgsql-jp: 28317] Re: Mac-osxで使いたいのですが

NAKANO Nobuhiko n-nakano @ ppp.bekkoame.ne.jp
2002年 12月 14日 (土) 12:32:47 JST


On Saturday, Dec 14, 2002, at 11:35 Asia/Tokyo, Iwaki-akio wrote:

> このMLで、もしMacでPostgreSQLを使っていらっしゃる方がみえましたらアドバイス
> いただけましたら助かります。

 PostgreSQLは、OS X Sever 10.2.2 や OS X 10.2.2 で WOF 5.1.4 で使ってますが、
     特に問題なく使えています。(実際にとあるサイトで運用しています)

     7.2.x までは build でちょっとだけ ? な点がありましたが、
     7.3  からはその問題もなくなっていました。
     Solaris や Linux でも使っていますが、それらと同じように使えています。

> この環境で、OS-X 10.2用のPostgreSQL7.3のパッケージをインストールいたしました。

 このOS-X 10.2用のパッケージとは、何でしょうか?
     私は、ソースをとってきて、configure, make all, make check, make install
     で、何の問題も無くインストールできましたよ。

      ちょうど、先ほど initdb をやり直したので、その実行ログを以下に添付しておきます。
      ※ $PGDATA は、標準的な場所ではないのですけど。

[skuld:~] postgres% /usr/local/pgsql/bin/initdb --encoding=UNICODE 
--no-locale -D /Users/postgres/data
The files belonging to this database system will be owned by user 
"postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /Users/postgres/data... ok
creating directory /Users/postgres/data/base... ok
creating directory /Users/postgres/data/global... ok
creating directory /Users/postgres/data/pg_xlog... ok
creating directory /Users/postgres/data/pg_clog... ok
creating template1 database in /Users/postgres/data/base/1... ok
creating configuration files... ok
initializing pg_shadow... ok
enabling unlimited row size for system tables... ok
initializing pg_depend... ok
creating system views... ok
loading pg_description... ok
creating conversions... ok
setting privileges on built-in objects... ok
vacuuming database template1... ok
copying template1 to template0... ok

Success. You can now start the database server using:

     /usr/local/pgsql/bin/postmaster -D /Users/postgres/data
or
     /usr/local/pgsql/bin/pg_ctl -D /Users/postgres/data -l logfile start

[skuld:~] postgres%


> アイデアとかヒントのみでも助かりますので、よろしくお願いします。

そのパッケージを捨てて、

http://osb.sra.co.jp/PostgreSQL/7.3/install.html

を参考に(というよりこの通りにして)
インストールからやり直した方が(多分)早いと思いますよ。

--- nakano




pgsql-jp メーリングリストの案内