2009-02-18から1日間の記事一覧
えと、PANIC: could not locate a valid checkpoint record って出て、起動しなくなってしまいました。 LOG: could not open file "pg_xlog/000000060000000000000009" (log file 0, segment 9): No such file or directory LOG: invalid primary checkpoint…
まず、PostgreSQL のマニュアルをあんまり読まずに pg_xlog の退避なしで PostgreSQL のサービスを停止する前に select pg_switch_xlog();
とりあえず、てきとうな DB を作成するところから $ createdb -E EUC_JP testdb $ psql testdbtestdb=# create table hoge ( testdb(# id int primary key, testdb(# name text testdb(# );