[pgpool-general-jp: 356] オンラインリカバリ 2ndステージ

スクゥ 陶山 泰 suyama @ skoo.co.jp
2008年 1月 11日 (金) 17:19:15 JST


陶山です。

 またわからないことが出てきたので教えてください。

 pgpool_recovery_pitr が失敗するので調べたところ、
 pg_switch_xlog() を実行できていません。
 エラーメッセージではこの関数が存在しないということなのですが、・・・

postgres=# select pg_switch_xlog();
ERROR:  function pg_switch_xlog() does not exist
HINT:  No function matches the given name and argument types. You may need to add explicit type casts.

 ちなみに、同じような分類のシステム管理関数である、
 pg_reload_conf() や
 pg_rotate_logfile() では、関数が見つからないということはありません。
  ------------------------------------------------------------------
  postgres=# select pg_reload_conf();
   pg_reload_conf
  ----------------
   t
  (1 row)

  ostgres=# SELECT pg_rotate_logfile();
  WARNING:  rotation not possible because log redirection not active
   pg_rotate_logfile
  -------------------
   f
  (1 row)
  ------------------------------------------------------------------

 どうすれば、システム管理関数 pg_switch_xlog() を利用できるようになる
のでしょうか。


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