Skip to content

V1.3.12

Compare
Choose a tag to compare
@huangfumingyue huangfumingyue released this 02 Jun 08:01
· 37 commits to master since this release

Release Notes

English

This is the latest maintenance release for pg_rman 1.3.

Change Log

  • Fix default SRVLOG_PATH value for PostgreSQL 10 or higher versions.
    ・It led the following main issues because pg_rman didn't handle the change which the default log directory was changed from pg_log to log in PostgreSQL 10 or higher versions.

    1. Server logs were always backed up even if "--with-serverlog" is not specified.
    2. pg_rman's "--keep-srvlog-files" and "--keep-srvlog-days" options were invalid because the log directory was wrong.
  • Fix the incremental backup to work properly. The differential backup was token for pg_rman 1.3.9 or higher vesions.
    If you are using pg_rman 1.3.9 or higher vesions, please update to the latest version.

  • Remove standby.signal if the backup data is taken from standby for PostgreSQL 12 or higher versions.
    ・To start a primary server is the specification when to use the data restored by pg_rman. Therefore, we have added the behavior of deleting the standby.signal file when restoring.

Japanese

これは1.3系列の最新のリリースとなります。

変更点

  • PostgreSQL10 以降のバージョンでデフォルトのSRVLOG_PATH値を修正しました。
    ・ PostgreSQL10以降でデフォルトのログディレクトリが変更(pg_logがlogに変更)されていることを考慮していなかったため、以下の問題が発生していました。

    1. 「--with-serverlog」が設定されていない場合でも、サーバーログが常にバックアップされてしまっていました。
    2. pg_rman の「--keep-srvlog-files」および「--keep-srvlog-days」オプションを指定しても、ログディレクトリが誤っていたため、効果がありませんでした。
  • 増分バックアップが正しく動くように修正しました。pg_rman 1.3.9 以降のバージョンでは、差分バックアップを取得してしまいました。
    なお、pg_rman 1.3.9 以降のバージョン利用している場合、最新バージョンへアップデートしてください。

  • PostgreSQL12 以降のバージョンでデータがスタンバイからバックアップされている場合、standby.signal を削除するように修正しました。
    ・ pg_rmanでリストアしたデータをそのまま用いた場合、プライマリサーバとして起動させる仕様です。そのため、リストア時にstandby.signal ファイルを削除する挙動を追加しました。