バージョンごとのドキュメント一覧

E.4. リリース17.2 #

<title>Release 17.2</title>

<title>Release date:</title> リリース日: 2024-11-21

This release contains a few fixes from 17.1. For information about new features in major release 17, see <xref linkend="release-17"/>. このリリースは17.1に対し、いくつかの不具合を修正したものです。 17メジャーリリースにおける新機能については、E.6を参照してください。

E.4.1. バージョン17.2への移行 #

<title>Migration to Version 17.2</title>

A dump/restore is not required for those running 17.X. 17.Xからの移行ではダンプ/リストアは不要です。

However, if you are upgrading from a version earlier than 17.1, see <xref linkend="release-17-1"/>. しかしながら、17.1より前のバージョンからアップグレードする場合は、E.5を参照してください。

E.4.2. 変更点 #

<title>Changes</title>
  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: REL_17_STABLE [6bfacd368] 2024-11-16 12:58:26 -0500 Branch: REL_16_STABLE [ee33d5847] 2024-11-16 12:58:26 -0500 Branch: REL_15_STABLE [17db248f3] 2024-11-16 12:58:26 -0500 Branch: REL_14_STABLE [099e711b7] 2024-11-16 12:58:26 -0500

    Repair ABI break for extensions that work with struct <structname>ResultRelInfo</structname> (Tom Lane) ResultRelInfo構造体で動作する拡張のABI破壊が修復されました。 (Tom Lane) §

    Last week's minor releases unintentionally broke binary compatibility with <application>timescaledb</application> and several other extensions. Restore the affected structure to its previous size, so that such extensions need not be rebuilt. 先週のマイナーリリースでは、timescaledbやその他のいくつかの拡張のバイナリ互換性が意図せず壊れていました。 これらの拡張をビルドし直す必要がないように、影響を受けた構造体を以前のサイズに戻しました。

  • Author: Noah Misch <noah@leadboat.com> Branch: master [7b88529f4] 2024-11-15 20:39:56 -0800 Branch: REL_17_STABLE [1c05004a8] 2024-11-15 20:39:59 -0800 Branch: REL_16_STABLE [b0918c128] 2024-11-15 20:39:59 -0800 Branch: REL_15_STABLE [edf80895f] 2024-11-15 20:39:59 -0800 Branch: REL_14_STABLE [be062bfa5] 2024-11-15 20:40:00 -0800 Branch: REL_13_STABLE [07c6e0f61] 2024-11-15 20:40:00 -0800 Branch: REL_12_STABLE [c46333865] 2024-11-15 20:40:00 -0800

    Restore functionality of <command>ALTER {ROLE|DATABASE} SET role</command> (Tom Lane, Noah Misch) ALTER {ROLE|DATABASE} SET roleの機能を元に戻しました。 (Tom Lane, Noah Misch) §

    The fix for CVE-2024-10978 accidentally caused settings for <varname>role</varname> to not be applied if they come from non-interactive sources, including previous <command>ALTER {ROLE|DATABASE}</command> commands and the <varname>PGOPTIONS</varname> environment variable. CVE-2024-10978の修正により、以前のALTER {ROLE|DATABASE}コマンドやPGOPTIONS環境変数など、非対話型ソースから取得された場合にroleの設定が誤って適用されない問題が発生していました。

  • Author: Masahiko Sawada <msawada@postgresql.org> Branch: master [e5ed873b1] 2024-11-15 17:06:11 -0800 Branch: REL_17_STABLE [568e78a65] 2024-11-15 17:06:08 -0800 Branch: REL_16_STABLE [f35391133] 2024-11-15 17:06:05 -0800 Branch: REL_15_STABLE [91771b3fb] 2024-11-15 17:06:02 -0800 Branch: REL_14_STABLE [26c4e8968] 2024-11-15 17:06:00 -0800 Branch: REL_13_STABLE [15dc1abb1] 2024-11-15 17:05:57 -0800

    Fix cases where a logical replication slot's <structfield>restart_lsn</structfield> could go backwards (Masahiko Sawada) 論理レプリケーションスロットのrestart_lsnが逆戻りする可能性があった問題が修正されました。 (Masahiko Sawada) §

    Previously, restarting logical replication could sometimes cause the slot's restart point to be recomputed as an older value than had previously been advertised in <structname>pg_replication_slots</structname>. This is bad, since for example WAL files might have been removed on the basis of the later <structfield>restart_lsn</structfield> value, in which case replication would fail to restart. 以前は、論理レプリケーションを再起動すると、スロットの再起動ポイントがpg_replication_slotsで以前に通知された値よりも古い値として再計算されることがありました。 これは、例えばWALファイルが後のrestart_lsn値に基づいて削除されている可能性があり、その場合レプリケーションの再開に失敗するため、問題となります。

  • Author: Álvaro Herrera <alvherre@alvh.no-ip.org> Branch: master [90bcc7c2d] 2024-11-15 12:53:12 +0100 Branch: REL_17_STABLE [cb844d66b] 2024-11-15 12:53:12 +0100 Branch: REL_16_STABLE [ea1649c35] 2024-11-15 12:53:12 +0100 Branch: REL_15_STABLE [e28cf2fbc] 2024-11-15 12:53:12 +0100 Branch: REL_14_STABLE [ba2535841] 2024-11-15 12:53:12 +0100

    Avoid deleting still-needed WAL files during <application>pg_rewind</application> (Polina Bungina, Alexander Kukushkin) pg_rewind実行中に必要なWALファイルが削除されなくなりました。 (Polina Bungina, Alexander Kukushkin) §

    Previously, in unlucky cases, it was possible for <application>pg_rewind</application> to remove important WAL files from the rewound demoted primary. In particular this happens if those files have been marked for archival (i.e., their <filename>.ready</filename> files were created) but not yet archived. Then the newly promoted node no longer has such files because of them having been recycled, but likely they are needed for recovery in the demoted node. If <application>pg_rewind</application> removes them, recovery is not possible anymore. 以前は、不運な場合、pg_rewindが、巻き戻された降格プライマリから重要なWALファイルを削除することがありました。 特に、これらのファイルがアーカイブ対象としてマークされていても(つまり、.readyファイルが作成されても)まだアーカイブされていない場合に、この問題が発生します。 その場合、新たに昇格したノードでは、これらのファイルはリサイクルされたため存在しませんが、降格したノードのリカバリに必要となる可能性があります。 pg_rewindがこれらのファイルを削除すると、リカバリは不可能になります。

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [818119afc] 2024-11-15 11:31:58 +0900 Branch: REL_17_STABLE [1d6a03ea4] 2024-11-15 11:32:13 +0900 Branch: REL_16_STABLE [afa20845d] 2024-11-15 11:32:16 +0900 Branch: REL_15_STABLE [154c5b42a] 2024-11-15 11:32:18 +0900

    Fix race conditions associated with dropping shared statistics entries (Kyotaro Horiguchi, Michael Paquier) 共有統計エントリの削除に関連する競合状態が修正されました。 (Kyotaro Horiguchi, Michael Paquier) §

    These bugs could lead to loss of statistics data, assertion failures, or <quote>can only drop stats once</quote> errors. これらのバグにより、統計データの損失、アサーションエラー、またはcan only drop stats onceエラーが発生する可能性がありました。

  • Author: Peter Geoghegan <pg@bowt.ie> Branch: master [93063e2e4] 2024-11-12 20:57:45 -0500 Branch: REL_17_STABLE [7af6d1306] 2024-11-12 20:57:43 -0500 Branch: REL_16_STABLE [05aac2e83] 2024-11-12 20:57:41 -0500 Branch: REL_15_STABLE [16a2bb079] 2024-11-12 20:57:39 -0500 Branch: REL_14_STABLE [2a30b6836] 2024-11-12 20:57:37 -0500 Branch: REL_13_STABLE [e493ea866] 2024-11-12 20:57:35 -0500

    Count index scans in <filename>contrib/bloom</filename> indexes in the statistics views, such as the <structname>pg_stat_user_indexes</structname>.<structfield>idx_scan</structfield> counter (Masahiro Ikeda) pg_stat_user_indexes.idx_scanカウンタなどの統計ビューで、contrib/bloomインデックス内のインデックススキャンをカウントするようになりました。 (Masahiro Ikeda) §

  • Author: Alexander Korotkov <akorotkov@postgresql.org> Branch: master [db22b9002] 2024-11-12 01:44:20 +0200 Branch: REL_17_STABLE [a6fa869cf] 2024-11-12 01:51:20 +0200 Branch: REL_16_STABLE [b242aba02] 2024-11-12 01:53:40 +0200 Branch: REL_15_STABLE [713b8546a] 2024-11-12 01:54:30 +0200 Branch: REL_14_STABLE [247e7647f] 2024-11-12 01:54:35 +0200 Branch: REL_13_STABLE [5411e8213] 2024-11-12 01:54:38 +0200

    Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) インデックスのopclassオプションが変更されたかどうかを確認する際に発生するクラッシュが修正されました。 (Alexander Korotkov) §

    Some forms of <command>ALTER TABLE</command> would fail if the table has an index with non-default operator class options. そのテーブルにデフォルト以外の演算子クラスオプションを持つインデックスがある場合、ALTER TABLEの一部の形式が失敗していました。

  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [b69bdcee9] 2024-11-15 18:23:38 -0500 Branch: REL_17_STABLE [5f28e6ba7] 2024-11-15 18:23:38 -0500 Branch: REL_16_STABLE [b6312becc] 2024-11-15 18:23:38 -0500 Branch: REL_15_STABLE [2496c3f6f] 2024-11-15 18:23:38 -0500 Branch: REL_14_STABLE [2bdd3b248] 2024-11-15 18:23:38 -0500

    Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing (Tom Lane) 正規表現パースにおいて、切断されたNFAサブグラフによって引き起こされるアサーションエラーが回避されました。 (Tom Lane) §

    This bug does not appear to have any visible consequences in non-assert builds. このバグは、アサートなしのビルドでは目に見える影響は見られません。