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

E.2. リリース18.2 #

<title>Release 18.2</title>

<title>Release date:</title> リリース日: 2026-02-12

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

E.2.1. バージョン18.2への移行 #

<title>Migration to Version 18.2</title>

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

However, if you have any indexes on <type>ltree</type> columns, it may be necessary to reindex them after updating. See the sixth changelog entry below. しかし、ltree列にインデックスがある場合は、更新後にインデックス再作成が必要になる可能性があります。 以下の6番目の変更ログの項目を参照してください。

E.2.2. 変更点 #

<title>Changes</title>
  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [60e7ae41a] 2026-02-09 09:57:43 -0500 Branch: REL_18_STABLE [3b6588cd9] 2026-02-09 09:57:44 -0500 Branch: REL_17_STABLE [3d160401b] 2026-02-09 09:57:44 -0500 Branch: REL_16_STABLE [595956fc7] 2026-02-09 09:57:44 -0500 Branch: REL_15_STABLE [429aeaebd] 2026-02-09 09:57:44 -0500 Branch: REL_14_STABLE [b39d38139] 2026-02-09 09:57:44 -0500

    Guard against unexpected dimensions of <type>oidvector</type>/<type>int2vector</type> (Tom Lane) 予期しない次元に対してoidvector/int2vectorが保護されるようになりました。 (Tom Lane) §

    These data types are expected to be 1-dimensional arrays containing no nulls, but there are cast pathways that permit violating those expectations. Add checks to some functions that were depending on those expectations without verifying them, and could misbehave in consequence. これらのデータ型は、NULLを含まない1次元配列であることが想定されていますが、これらの想定に違反するキャスト経路が存在しました。 これらの想定を検証せずに依存し、結果として誤動作を引き起こす可能性があった一部の関数にチェックが追加されました。

    The <productname>PostgreSQL</productname> Project thanks Altan Birler for reporting this problem. (CVE-2026-2003) PostgreSQLプロジェクトは、本問題を報告してくれたAltan Birlerに感謝します。 (CVE-2026-2003)

  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [841d42cc4] 2026-02-09 10:07:31 -0500 Branch: REL_18_STABLE [66ddac698] 2026-02-09 10:07:31 -0500 Branch: REL_17_STABLE [bbf5bcf58] 2026-02-09 10:07:31 -0500 Branch: REL_16_STABLE [91d7c0bfd] 2026-02-09 10:07:31 -0500 Branch: REL_15_STABLE [b764b26f2] 2026-02-09 10:07:31 -0500 Branch: REL_14_STABLE [ea3bf3498] 2026-02-09 10:07:31 -0500 Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [8ebdf41c2] 2026-02-09 10:14:22 -0500 Branch: REL_18_STABLE [b69af3dda] 2026-02-09 10:14:22 -0500 Branch: REL_17_STABLE [dd3ad2a4d] 2026-02-09 10:14:22 -0500 Branch: REL_16_STABLE [c0887b39d] 2026-02-09 10:14:22 -0500 Branch: REL_15_STABLE [deb464a40] 2026-02-09 10:14:22 -0500 Branch: REL_14_STABLE [7e82d9a04] 2026-02-09 10:14:22 -0500 Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: REL_17_STABLE [dbb09fd8e] 2026-02-09 10:02:23 -0500 Branch: REL_16_STABLE [d484bc260] 2026-02-09 10:02:23 -0500 Branch: REL_15_STABLE [3ecc84cce] 2026-02-09 10:02:23 -0500 Branch: REL_14_STABLE [9fa38c572] 2026-02-09 10:02:23 -0500

    Harden selectivity estimators against being attached to operators that accept unexpected data types (Tom Lane) 予期しないデータ型を受け入れる演算子に関連付けられる選択性推定関数が厳格化されました。 (Tom Lane) § §

    <filename>contrib/intarray</filename> contained a selectivity estimation function that could be abused for arbitrary code execution, because it did not check that its input was of the expected data type. Third-party extensions should check for similar hazards and add defenses using the technique intarray now uses. Since such extension fixes will take time, we now require superuser privilege to attach a non-built-in selectivity estimator to an operator. contrib/intarrayには、入力が想定されるデータ型であるかどうかをチェックしていなかったため、任意のコード実行に悪用される可能性のある選択性推定関数が含まれていました。 サードパーティの拡張は、同様の危険性に対してチェックを行い、現在intarrayが使用している手法を用いて防御策を追加する必要があります。 このような拡張の修正には時間がかかるため、組み込みではない選択性推定関数を演算子にアタッチするにはスーパーユーザ権限が必要になりました。

    The <productname>PostgreSQL</productname> Project thanks Daniel Firer, as part of zeroday.cloud, for reporting this problem. (CVE-2026-2004) PostgreSQLプロジェクトは、本問題を報告してくれたzeroday.cloudの一員であるDaniel Firerに感謝します。 (CVE-2026-2004)

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [379695d3c] 2026-02-09 08:00:59 +0900 Branch: REL_18_STABLE [209f387b8] 2026-02-09 08:01:05 +0900 Branch: REL_17_STABLE [7a7d9693c] 2026-02-09 08:01:07 +0900 Branch: REL_16_STABLE [527b730f4] 2026-02-09 08:01:09 +0900 Branch: REL_15_STABLE [9a9982ec6] 2026-02-09 08:01:10 +0900 Branch: REL_14_STABLE [01de2e32d] 2026-02-09 08:01:12 +0900

    Fix buffer overrun in <filename>contrib/pgcrypto</filename>'s PGP decryption functions (Michael Paquier) contrib/pgcryptoのPGP復号関数におけるバッファオーバーランが修正されました。 (Michael Paquier) §

    Decrypting a crafted message with an overlength session key caused a buffer overrun, with consequences as bad as arbitrary code execution. 細工されたメッセージを長すぎるセッションキーで復号するとバッファオーバーランが発生し、任意のコードの実行と同等の深刻な問題を引き起こす可能性がありました。

    The <productname>PostgreSQL</productname> Project thanks Team Xint Code, as part of zeroday.cloud, for reporting this problem. (CVE-2026-2005) PostgreSQLプロジェクトは、本問題を報告してくれたzeroday.cloudの一員のTeam Xint Codeに感謝します。 (CVE-2026-2005)

  • Author: Thomas Munro <tmunro@postgresql.org> Branch: master [af79c30dc] 2026-02-09 12:08:58 +1300 Branch: REL_18_STABLE [df0852fe0] 2026-02-09 12:12:29 +1300 Branch: REL_17_STABLE [838248b1b] 2026-02-09 12:23:45 +1300 Branch: REL_16_STABLE [70ff9ede5] 2026-02-09 12:28:01 +1300 Branch: REL_15_STABLE [b2c81ac86] 2026-02-09 12:34:12 +1300 Branch: REL_14_STABLE [2a53db21e] 2026-02-09 12:38:07 +1300 Branch: master [74ee636cc] 2026-02-09 12:08:58 +1300 Branch: REL_18_STABLE [efef05ba9] 2026-02-09 12:12:33 +1300 Branch: REL_17_STABLE [7a522039f] 2026-02-09 12:23:51 +1300 Branch: REL_16_STABLE [b0e3f5cf9] 2026-02-09 12:28:07 +1300 Branch: REL_15_STABLE [50863be0b] 2026-02-09 12:34:17 +1300 Branch: REL_14_STABLE [6ed116046] 2026-02-09 12:38:12 +1300 Branch: master [1e7fe06c1] 2026-02-09 12:44:04 +1300 Branch: REL_18_STABLE [7b5fc85be] 2026-02-09 12:43:42 +1300 Branch: REL_17_STABLE [319e8a644] 2026-02-09 12:42:47 +1300 Branch: REL_16_STABLE [d837fb029] 2026-02-09 12:29:15 +1300 Branch: REL_15_STABLE [fd82ddb67] 2026-02-09 12:34:24 +1300 Branch: REL_14_STABLE [cecedb912] 2026-02-09 12:39:01 +1300 Branch: master [c67bef3f3] 2026-02-09 12:44:12 +1300 Branch: REL_18_STABLE [b0f5d25bc] 2026-02-09 12:43:50 +1300 Branch: REL_17_STABLE [10ebc4bd6] 2026-02-09 12:42:59 +1300 Branch: REL_16_STABLE [4c08960d9] 2026-02-09 12:29:41 +1300 Branch: REL_15_STABLE [757bf8145] 2026-02-09 12:35:19 +1300 Branch: REL_14_STABLE [e7591254c] 2026-02-09 12:39:16 +1300 Author: Noah Misch <noah@leadboat.com> Branch: master [d536aee55] 2026-02-09 06:14:47 -0800 Branch: REL_18_STABLE [b42709194] 2026-02-09 06:14:50 -0800 Branch: REL_17_STABLE [dc072a09a] 2026-02-09 06:14:51 -0800 Branch: REL_16_STABLE [0c33d5608] 2026-02-09 06:14:51 -0800 Branch: REL_15_STABLE [8f8b1ffac] 2026-02-09 06:14:52 -0800 Branch: REL_14_STABLE [8373ed094] 2026-02-09 06:14:52 -0800 Branch: master [c5dc75479] 2026-02-09 09:08:10 -0800 Branch: REL_18_STABLE [4543b02af] 2026-02-09 09:08:13 -0800 Branch: REL_17_STABLE [955433ebd] 2026-02-09 09:08:13 -0800 Branch: REL_16_STABLE [763671b74] 2026-02-09 09:08:13 -0800 Branch: REL_15_STABLE [6f741bcb6] 2026-02-09 09:08:14 -0800 Branch: REL_14_STABLE [5301b2b7d] 2026-02-09 09:08:14 -0800

    Fix inadequate validation of multibyte character lengths (Thomas Munro, Noah Misch) マルチバイト文字長の不十分な検証が修正されました。 (Thomas Munro, Noah Misch) § § § § § §

    Assorted bugs allowed an attacker able to issue crafted SQL to overrun string buffers, with consequences as bad as arbitrary code execution. After these fixes, applications may observe <quote>invalid byte sequence for encoding</quote> errors when string functions process invalid text that has been stored in the database. さまざまなバグにより、攻撃者が細工したSQLを発行して文字列バッファをオーバーランさせることが可能になり、任意のコード実行と同等の深刻な結果を招く可能性がありました。 これらの修正後、文字列関数がデータベースに保存された不正なテキストを処理する際に、アプリケーションでinvalid byte sequence for encodingエラーが発生する可能性があります。

    The <productname>PostgreSQL</productname> Project thanks Paul Gerste and Moritz Sanft, as part of zeroday.cloud, for reporting this problem. (CVE-2026-2006) PostgreSQLプロジェクトは、本問題を報告してくれたzeroday.cloudの一員であるPaul GersteとMoritz Sanftに感謝します。 (CVE-2026-2006)

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [00896ddaf] 2026-02-09 12:08:58 +1300 Branch: REL_18_STABLE [e0965fb1a] 2026-02-09 12:12:24 +1300 Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [54598670f] 2026-02-09 12:08:58 +1300 Branch: REL_18_STABLE [18548681d] 2026-02-09 12:12:18 +1300

    Harden <filename>contrib/pg_trgm</filename> against changes in string lowercasing behavior (Heikki Linnakangas) contrib/pg_trgmにおいて、文字列の小文字化動作変更に対する強化が実施されました。 (Heikki Linnakangas) § §

    Fix potential buffer overruns arising from the fact that in some locales lower-casing a string can produce more characters (not bytes) than were in the original. That behavior is new in version 18, and so is the bug. 一部のロケールでは、文字列を小文字化すると元の文字列より多くの文字数(バイト数ではない)を生成する可能性があることから生じる潜在的なバッファオーバーランの発生が修正されました。 この動作はバージョン18で新しく追加されたものであり、このバグも同様です。

    The <productname>PostgreSQL</productname> Project thanks Heikki Linnakangas for reporting this problem. (CVE-2026-2007) PostgreSQLプロジェクトは、本問題を報告してくれたHeikki Linnakangasに感謝します。 (CVE-2026-2007)

  • Author: Jeff Davis <jdavis@postgresql.org> Branch: master [7f007e4a0] 2025-12-16 12:57:00 -0800 Branch: REL_18_STABLE [806555e30] 2025-12-16 12:57:12 -0800 Branch: REL_18_STABLE [8993bf099] 2026-01-27 08:16:07 -0800

    Fix inconsistent case-insensitive matching in <filename>contrib/ltree</filename> (Jeff Davis) contrib/ltreeにおける大文字小文字を区別しないマッチングの不一致が修正されました。 (Jeff Davis) § §

    Index-related routines in <filename>ltree</filename> used a different implementation of case-folding than the primary operators did. Their behavior was equivalent only if the default collation provider was libc and the encoding was single-byte. ltreeのインデックス関連ルーチンは、主要な演算子とは異なる大文字と小文字の変換実装を使用していました。 これらの動作は、デフォルト照合順序プロバイダがlibcで、エンコーディングがシングルバイトの場合にのみ同等でした。

    To fix, change the code to use case-folding with the database's default collation. This change will require reindexing indexes on <type>ltree</type> columns (regardless of the index access method) unless the database uses libc as collation provider and its encoding is single-byte. Without that, searches of such indexes will fail to locate relevant entries. 修正のため、データベースのデフォルトの照合順序で大文字と小文字の変換を使用するようコードが変更されました。 この変更により、データベースが照合順序プロバイダとしてlibcを使用し、エンコーディングがシングルバイトでない限り、インデックスアクセスメソッドに関係なくltree列のインデックスの再インデックスが必要になります。 再インデックスを行わないと、そのようなインデックスの検索で関連エントリを見つけることができません。

  • Author: Álvaro Herrera <alvherre@kurilemu.de> Branch: master [96e2af605] 2026-02-03 12:33:29 +0100 Branch: REL_18_STABLE [492a69e14] 2026-02-03 12:33:29 +0100

    When using <command>ALTER TABLE ... ADD CONSTRAINT</command> to add a not-null constraint with an explicit name, if the column is already marked NOT NULL, require that the provided name match the existing constraint name (Álvaro Herrera, Srinath Reddy Sadipiralla) ALTER TABLE ... ADD CONSTRAINTを使用して明示的な名前を持つNOT NULL制約を追加する場合、列がすでにNOT NULLとマークされている場合は、指定された名前が既存の制約名と一致する必要があります。 (Álvaro Herrera, Srinath Reddy Sadipiralla) §

  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [35b5c62c3] 2025-11-18 12:56:55 -0500 Branch: REL_18_STABLE [12bc32917] 2025-11-18 12:56:55 -0500 Branch: REL_17_STABLE [075a763e2] 2025-11-18 12:56:55 -0500 Branch: REL_16_STABLE [1c8c3206f] 2025-11-18 12:56:55 -0500 Branch: REL_15_STABLE [9f5a58aac] 2025-11-18 12:56:55 -0500 Branch: REL_14_STABLE [b85397481] 2025-11-18 12:56:55 -0500

    Don't allow CTE references in sub-selects to determine semantic levels of aggregate functions (Tom Lane) 副SELECT内のCTE参照を用いて集約関数のセマンティックレベルを決定するのが禁止されました。 (Tom Lane) §

    This change undoes a change made two minor releases ago, instead throwing an error if a sub-select references a CTE that's below the semantic level that standard SQL rules would assign to the aggregate based on contained column references and aggregates. The attempted fix turned out to cause problems of its own, and it's unclear what to do instead. Since sub-selects within aggregates are disallowed altogether by the SQL standard, treating such cases as errors seems sufficient. この変更は、2つ前のマイナーリリースで行われた変更を元に戻すものであり、代わりに標準SQLルールが包含列参照と集計に基づいて集計に割り当てるセマンティックレベルよりも低いCTEを副SELECTが参照している場合に、エラーを発生させるようになりました。 試みられた修正は、それ自体が問題を引き起こすことが判明し、代わりに何をすべきかは不明です。 集計関数内の副SELECTは標準SQLでは完全に禁止されているため、このようなケースをエラーとして処理すれば十分であると思われます。

  • Author: Dean Rasheed <dean.a.rasheed@gmail.com> Branch: master [b4307ae2e] 2026-01-24 11:30:48 +0000 Branch: REL_18_STABLE [c6ce4dcf9] 2026-01-24 11:30:48 +0000 Branch: REL_17_STABLE [c5fc17dda] 2026-01-24 11:30:49 +0000 Branch: REL_16_STABLE [e7391bbf1] 2026-01-24 11:30:50 +0000 Branch: REL_15_STABLE [c5824536e] 2026-01-24 11:30:51 +0000

    Fix trigger transition table capture for <command>MERGE</command> in CTE queries (Dean Rasheed) CTE問い合わせにおけるMERGEのトリガ遷移テーブルキャプチャが修正されました。 (Dean Rasheed) §

    When executing a data-modifying CTE query containing both a <command>MERGE</command> and another DML operation on a table with statement-level <literal>AFTER</literal> triggers, the transition tables passed to the triggers would not include the rows affected by the <command>MERGE</command>, only those affected by the other operation(s). ステートメントレベルAFTERトリガが設定されたテーブルに対して、MERGEおよび別のDML操作の両方を含むデータ変更CTE問い合わせを実行すると、トリガに渡される遷移テーブルにはMERGEによって影響を受ける行が含まれず、他の操作によって影響を受ける行のみが含まれる問題が発生していました。

  • Author: Amit Langote <amitlan@postgresql.org> Branch: master [889676a0d] 2026-01-16 14:53:50 +0900 Branch: REL_18_STABLE [f335457e8] 2026-01-16 14:53:32 +0900

    Fix incorrect pruning of rowmarks belonging to non-relation rangetable entries, such as subqueries (Dean Rasheed) 副問い合わせなど、非リレーション範囲テーブルエントリに属する行マークの不適切なプルーニングが修正されました。 (Dean Rasheed) §

    This led to incorrect results if a proposed row update needed to be modified by EvalPlanQual rechecking, as could happen if there was a concurrent update to that row. これにより、提案された行の更新をEvalPlanQualの再チェックによって修正する必要がある場合、その行へ同時更新があった場合に結果を誤ることがありました。

  • Author: Amit Langote <amitlan@postgresql.org> Branch: master [f9a468c66] 2026-01-23 10:23:30 +0900 Branch: REL_18_STABLE [9f4b7bfc5] 2026-01-23 10:23:26 +0900 Branch: REL_17_STABLE [933f67fb6] 2026-01-23 10:23:22 +0900 Branch: REL_16_STABLE [fab386f74] 2026-01-23 10:23:18 +0900 Branch: REL_15_STABLE [687533b39] 2026-01-23 10:23:14 +0900 Branch: REL_14_STABLE [6d2fa44d2] 2026-01-23 10:23:10 +0900

    Fix failure when all children of a partitioned target table of an update or delete have been pruned (Amit Langote) UPDATEまたはDELETEの対象となるパーティションテーブルのすべての子テーブルが除外されている場合に発生するエラーが修正されました。 (Amit Langote) §

    In such cases, the executor could report <quote>could not find junk ctid column</quote> errors, even though nothing needs to be done. このような場合、何もする必要がないにもかかわらず、エグゼキュータがcould not find junk ctid columnエラーを報告する可能性がありました。

  • Author: Andres Freund <andres@anarazel.de> Branch: master [75609fded] 2026-01-06 19:51:10 -0500 Branch: REL_18_STABLE [bdc5dedfc] 2026-01-06 19:51:19 -0500

    Fix expression evaluation bug for a sub-select within an array subscript (Andres Freund) 配列添字内の副問い合わせに対する式評価の不具合が修正されました。 (Andres Freund) §

  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [6dfce8420] 2025-12-05 20:10:33 -0500 Branch: REL_18_STABLE [18b349315] 2025-12-05 20:10:33 -0500

    Fix text substring search for non-deterministic collations (Laurenz Albe) 非決定論的照合順序におけるテキストの部分文字列検索が修正されました。 (Laurenz Albe) §

    When using a non-deterministic collation, we failed to detect a match occurring at the very end of the searched string. 非決定論的照合順序を使用した場合、検索文字列の末尾で発生する一致を検出できませんでした。

  • Author: David Rowley <drowley@postgresql.org> Branch: master [7027dd499] 2026-01-26 23:27:15 +1300 Branch: REL_18_STABLE [ccde5be68] 2026-01-26 23:46:23 +1300 Branch: REL_17_STABLE [cae812741] 2026-01-26 23:47:07 +1300 Branch: REL_16_STABLE [4297a3519] 2026-01-26 23:47:37 +1300

    Avoid possible planner failure when a query contains duplicate window function calls (Meng Zhang, David Rowley) 問い合わせに重複したウィンドウ関数呼び出しが含まれている場合に発生する可能性のあるプランナの失敗が回避されました。 (Meng Zhang, David Rowley) §

    Confusion over de-duplication of such calls could result in errors like <quote>WindowFunc with winref 2 assigned to WindowAgg with winref 1</quote>. このような呼び出しの重複排除に関する混乱により、WindowFunc with winref 2 assigned to WindowAgg with winref 1のようなエラーが発生する可能性がありました。

  • Author: Richard Guo <rguo@postgresql.org> Branch: master [325808cac] 2025-12-25 12:12:52 +0900 Branch: REL_18_STABLE [382ce9cb7] 2025-12-25 12:15:09 +0900

    Fix planner error with set-returning functions and grouping sets (Richard Guo) 集合を返す関数とグループ化集合に関するプランナエラーが修正されました。 (Richard Guo) §

    When constructing a ProjectSet plan node, the planner failed to detect that subexpressions involving grouping expressions were already computed by the input plan. This led to inefficient plans or errors such as <quote>variable not found in subplan target list</quote>. ProjectSetプランノードの構築時、プランナはグループ化式を含む部分式が入力プランによって既に計算されていることを検出できませんでした。 これにより、非効率的なプランや、variable not found in subplan target listなどのエラーが発生していました。

  • Author: Richard Guo <rguo@postgresql.org> Branch: master [34740b90b] 2026-01-19 11:13:23 +0900 Branch: REL_18_STABLE [7650eabb6] 2026-01-19 11:14:51 +0900

    Avoid incorrect optimization when a subquery's grouping clause contains a volatile or set-returning function (Richard Guo) 副問い合わせのGROUPING句にVOLATILE関数または集合を返す関数が含まれている場合の誤った最適化が回避されました。 (Richard Guo) §

    The planner was willing to push down outer-query restrictions referencing such a grouping column, leading to incorrect behavior due to multiple evaluation of a volatile function, or errors caused by introduction of a set-returning function into the subquery's <literal>WHERE</literal>/<literal>HAVING</literal> clauses. プランナは、そのようなグループ化列を参照する外部問い合わせの制約をプッシュダウンしようとしたため、その結果VOLATILE関数の多重評価による誤った動作が発生したり、副問い合わせのWHERE/HAVING句に集合返却関数が導入されることによってエラーが発生していました。

  • Author: Richard Guo <rguo@postgresql.org> Branch: master [559f9e90d] 2025-12-29 11:40:45 +0900 Branch: REL_18_STABLE [7e9f852a7] 2025-12-29 11:44:14 +0900

    Look through PlaceHolderVar nodes when searching for statistics about an expression (Richard Guo) 式に関する統計情報を検索する際は、PlaceHolderVarノードを調べるようになりました。 (Richard Guo) §

    This change allows the planner to find relevant statistics about expressions pulled up from subqueries or used in <literal>GROUP BY</literal>, avoiding falling back to a default estimate. (Arguably we should adjust any found statistics to account for an increased probability of the value being NULL, but we've never done the equivalent thing for plain Vars either.) While this restriction is old, changes in <productname>PostgreSQL</productname> version 18 made PlaceHolderVars more common than before, so make the change to avoid plan regressions in affected cases. この変更により、プランナは、副問い合わせからプルアップされた式やGROUP BYで使用された式に関連する統計情報を見つけることができ、デフォルトの推定値へのフォールバックが回避されます。 (おそらく、値がNULLになる確率が高まったことを考慮して、見つかった統計情報を調整する必要がありますが、単純な変数に対しても同等のことを行ったことはありません。) この制限は古いものですが、PostgreSQLバージョン18での変更により、PlaceHolderVarsが以前よりも一般的になったため、影響を受けた場合のプランの退行を回避するために変更が実施されました。

  • Author: Richard Guo <rguo@postgresql.org> Branch: master [ad66f705f] 2025-12-29 11:38:49 +0900 Branch: REL_18_STABLE [b4cf74420] 2025-12-29 11:43:06 +0900

    Look through no-op PlaceHolderVar nodes when matching expressions to indexes (Richard Guo) 式をインデックスと照合する際に、何もしない(no-opの)PlaceHolderVarノードを調べるようになりました。 (Richard Guo) §

    Because <productname>PostgreSQL</productname> version 18 uses PlaceHolderVars in more cases than before, some queries that formerly could use an index failed to do so. Add logic to prevent that regression. PostgreSQLバージョン18では、以前よりも多くの場合にPlaceHolderVarsが使用されるため、以前はインデックスを使用できた問い合わせの一部がインデックスを使用できなくなりました。 この後退を防ぐためのロジックが追加されました。

  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [ed931377a] 2025-11-17 13:54:52 -0500 Branch: REL_18_STABLE [bf5b13a8a] 2025-11-17 13:55:26 -0500

    Fix planner's conversion of <literal>OR</literal> clauses to ScalarArrayOp index conditions (Tender Wang, Tom Lane) プランナのOR句からScalarArrayOpインデックス条件への変換が修正されました。 (Tender Wang, Tom Lane) §

    The code did not handle RelabelType nodes correctly, and could generate invalid expressions or fail to perform a valid conversion. コードがRelabelTypeノードを正しく処理しなかったため、無効な式が生成されたり、有効な変換の実行に失敗することがありました。

  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [5528e8d10] 2025-11-27 13:09:59 -0500 Branch: REL_18_STABLE [a212877dc] 2025-11-27 13:09:59 -0500 Branch: REL_17_STABLE [e79b27662] 2025-11-27 13:09:59 -0500 Branch: REL_16_STABLE [b497766a8] 2025-11-27 13:09:59 -0500 Branch: REL_15_STABLE [f19502f04] 2025-11-27 13:09:59 -0500 Branch: REL_14_STABLE [9e77323fc] 2025-11-27 13:09:59 -0500

    Allow indexscans on partial hash indexes even when the index's predicate implies the truth of the WHERE clause (Tom Lane) インデックスの述語がWHERE句の真を暗示する場合でも、部分ハッシュインデックスによるインデックススキャンが可能になりました。 (Tom Lane) §

    Normally we drop a WHERE clause that is implied by the predicate, since it's pointless to test it; it must hold for every index entry. However that can prevent creation of an indexscan plan if the index is one that requires a WHERE clause on the leading index key, as hash indexes do. Don't drop implied clauses when considering such an index. 通常、述語によって暗黙的に示されるWHERE句は、全てのインデックスエントリに対して真である必要があるので、テストする意味が無いため削除します。 しかし、ハッシュインデックスのように、先頭インデックスキーに対するWHERE句を必要とするインデックスの場合、この処理がインデックススキャンプランの作成を妨げる可能性がありました。 このようなインデックスを検討する場合は、暗黙的な句を削除しないようになりました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [951b60f7a] 2025-12-18 15:08:48 +0200 Branch: REL_18_STABLE [d77a5f981] 2025-12-18 15:09:26 +0200 Branch: REL_17_STABLE [4b6d096a0] 2025-12-18 15:09:23 +0200 Branch: REL_16_STABLE [a5277700e] 2025-12-18 15:09:21 +0200 Branch: REL_15_STABLE [460d97020] 2025-12-18 15:09:19 +0200 Branch: REL_14_STABLE [ab4256869] 2025-12-18 15:09:17 +0200

    Do not emit WAL for unlogged BRIN indexes (Kirill Reshke) UNLOGGEDのBRINインデックスに対してWALが出力されなくなりました。 (Kirill Reshke) §

    One seldom-taken code path incorrectly emitted a WAL record relating to a BRIN index even if the index was marked unlogged. Crash recovery would then fail to replay that record, complaining that the file already exists. めったに使用されないコードパスの1つでは、インデックスがUNLOGGEDとマークされている場合でも、BRINインデックスに関連するWALレコードが誤って出力されていました。 その結果、クラッシュリカバリでファイルが既に存在するといったエラーが発生して、WALレコードのリプレイに失敗していました。

  • Author: Tomas Vondra <tomas.vondra@postgresql.org> Branch: master [db14dcdec] 2026-01-26 20:05:17 +0100 Branch: REL_18_STABLE [eee71a66c] 2026-01-26 20:05:00 +0100

    Use the correct ordering function in parallel GIN index builds (Tomas Vondra) 並列GINインデックス構築で正しい順序付け関数を使用するようになりました。 (Tomas Vondra) §

    The parallel code used the default ordering operator (which is determined by the column data type's btree opclass), whereas it should use the ordering function specified by the GIN opclass, if any. This led to a failure if the data type has no btree opclass, or to an invalid index if the opclass specifies an ordering function that doesn't agree with the btree opclass. 並列コードはデフォルトの順序付け演算子(列のデータ型のbtree演算子クラスによって決定される)が使用されていましたが、もしあればGIN演算子クラスによって指定された順序付け関数を使用する必要がありました。 これにより、データ型にbtree演算子クラスが存在しない場合には失敗となり、btree演算子クラスが適合しない順序付け関数を指定している場合には無効なインデックスが生成される問題が発生していました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [8eeb4a0f7] 2025-11-12 20:59:36 +0200 Branch: REL_18_STABLE [321ec5462] 2025-11-12 21:00:42 +0200 Branch: REL_17_STABLE [d02c03ddc] 2025-11-12 21:01:13 +0200 Branch: REL_16_STABLE [053e1868b] 2025-11-12 21:01:42 +0200 Branch: REL_15_STABLE [1a469d7b5] 2025-11-12 21:02:12 +0200 Branch: REL_14_STABLE [eba917d36] 2025-11-12 21:02:36 +0200 Branch: master [797e9ea6e] 2025-11-12 20:59:44 +0200 Branch: REL_18_STABLE [7b069a187] 2025-11-12 21:00:46 +0200 Branch: REL_17_STABLE [c2682810a] 2025-11-12 21:01:16 +0200 Branch: REL_16_STABLE [44e8c60be] 2025-11-12 21:01:45 +0200 Branch: REL_15_STABLE [0c862646c] 2025-11-12 21:02:14 +0200 Branch: REL_14_STABLE [c2e58c071] 2025-11-12 21:02:38 +0200 Branch: master [0bdc777e8] 2025-11-12 21:19:03 +0200 Branch: REL_18_STABLE [82fa6b78d] 2025-11-12 21:26:58 +0200 Branch: REL_17_STABLE [d80d5f099] 2025-11-12 21:27:02 +0200 Branch: REL_16_STABLE [0e8eaa218] 2025-11-12 21:27:05 +0200 Branch: REL_15_STABLE [21a9014cf] 2025-11-12 21:27:07 +0200 Branch: REL_14_STABLE [84f1bf4af] 2025-11-12 21:27:11 +0200

    Prevent truncation of CLOG that is still needed by unread <command>NOTIFY</command> messages (Joel Jacobson, Heikki Linnakangas) 未読のNOTIFYメッセージによってまだ必要とされているCLOGの切り捨てが防止されました。 (Joel Jacobson, Heikki Linnakangas) § § §

    This fix prevents <quote>could not access status of transaction</quote> errors when a backend is slow to absorb <command>NOTIFY</command> messages. この修正により、バックエンドによるNOTIFYメッセージの吸い上げが遅い場合にcould not access status of transactionエラーの発生が防止されます。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [1b4699090] 2025-11-12 20:59:28 +0200 Branch: REL_18_STABLE [aab4a84bb] 2025-11-12 21:00:25 +0200 Branch: REL_17_STABLE [b821c9292] 2025-11-12 21:01:08 +0200 Branch: REL_16_STABLE [c1a5bde00] 2025-11-12 21:01:39 +0200 Branch: REL_15_STABLE [b1da37de2] 2025-11-12 21:02:07 +0200 Branch: REL_14_STABLE [7cb05dd2d] 2025-11-12 21:02:32 +0200

    Escalate errors occurring during <command>NOTIFY</command> message processing to FATAL, i.e. close the connection (Heikki Linnakangas) NOTIFYメッセージ処理中に発生したエラーをFATALにエスカレートします。 つまり、接続を切断します。 (Heikki Linnakangas) §

    Formerly, if a backend got an error while absorbing a <command>NOTIFY</command> message, it would advance past that message, report the error to the client, and move on. That behavior was fraught with problems though. One big concern is that the client has no good way to know that a notification was lost, and certainly no way to know what was in it. Depending on the application logic, missing a notification could cause the application to get stuck waiting, for example. Also, any remaining messages would not get processed until someone sent a new <command>NOTIFY</command>. 以前は、バックエンドがNOTIFYメッセージを吸い上げている間にエラーを検出した場合、そのメッセージを読み飛ばし、クライアントにエラーを報告して処理を続行していました。 しかし、その動作には多くの問題がありました。大きな懸念点の一つは、クライアントが通知の損失を知る適切な手段がなく、ましてやその内容を知る手段がないことです。 アプリケーションロジックによっては、通知を失うと例えばアプリケーションが待機状態となってしまう可能性がありました。 また、残りのメッセージは、誰かが新しいNOTIFYを送信するまで処理されません。

    Also, if the connection is idle at the time of receiving a <command>NOTIFY</command> signal, any ERROR would be escalated to FATAL anyway, due to unrelated concerns. Therefore, we've chosen to make that happen in all cases, for consistency and to provide a clear signal to the application that it might have missed some notifications. さらに、NOTIFY信号受信時に接続がアイドル状態の場合、無関係な理由によりERRORは常にFATALにエスカレートされていました。 一貫性を保ち、アプリケーションに通知が失われた可能性があることを明確に伝えるために、すべてのケースでこの動作(FATALで切断)を実行することにしました。

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [e217dc748] 2026-01-14 08:44:12 +0900 Branch: REL_18_STABLE [9c3caad02] 2026-01-14 08:44:52 +0900

    Consider grouping expressions when computing a query ID hash (Jian He) クエリIDのハッシュ計算をする際に、グループ化式を考慮するようになりました。 (Jian He) §

    Previously, two queries that were the same except in <literal>GROUP BY</literal> expressions would be merged by <filename>contrib/pg_stat_statements</filename> and other users of query IDs. 以前は、GROUP BY式を除いて同一である2つの問い合わせは、contrib/pg_stat_statementsおよびその他のクエリIDの利用者によって誤ってマージされていました。

  • Author: Dean Rasheed <dean.a.rasheed@gmail.com> Branch: master [1b92fe7bb] 2025-11-16 22:14:06 +0000 Branch: REL_18_STABLE [5749d95d4] 2025-11-16 22:15:10 +0000 Branch: REL_17_STABLE [d6c415c4b] 2025-11-16 22:15:45 +0000

    Fix erroneous counting of updates in <command>EXPLAIN ANALYZE MERGE</command> with a concurrent update (Dean Rasheed) 同時の更新と共にEXPLAIN ANALYZE MERGEが行なわれる際に、更新回数が誤ってカウントされる問題が修正されました。 (Dean Rasheed) §

    This situation led to an incorrect count of <quote>skipped</quote> tuples in <command>EXPLAIN</command>'s output, or to an assertion failure in an assert-enabled build. この状況により、EXPLAINの出力におけるスキップされた(skipped)タプルの数が間違っていたり、アサートが有効なビルドではアサーションエラーが発生していました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [955f55068] 2025-12-23 13:37:16 +0200 Branch: REL_18_STABLE [3e3a80f62] 2025-12-23 13:37:23 +0200 Branch: REL_17_STABLE [bb87d7fef] 2025-12-23 13:37:25 +0200 Branch: REL_16_STABLE [7efef18ff] 2025-12-23 13:37:27 +0200 Branch: REL_15_STABLE [5d5487cd2] 2025-12-23 13:37:29 +0200 Branch: REL_14_STABLE [b6201c76e] 2025-12-23 13:37:31 +0200

    Fix bug in following update chain when locking a tuple (Jasper Smit) タプルをロックする際の後続の更新チェーンにおける不具合が修正されました。 (Jasper Smit) §

    This code path neglected to check the xmin of the first new tuple in the update chain, making it possible to lock an unrelated tuple if the original updater aborted and the space was immediately reclaimed by <command>VACUUM</command> and then re-used. That could cause unexpected transaction delays or deadlocks. Errors associated with having identified the wrong tuple have also been observed. このコードパスでは、更新チェーン内の最初の新しいタプルのxmin値の確認が省略されていたため、元の更新処理が中止され、その領域がVACUUMによってすぐに回収されて再利用された場合に、無関係なタプルがロックされる可能性がありました。 これにより、予期せぬトランザクションの遅延やデッドロックが発生する可能性がありました。 誤ったタプルを識別したことに関連するエラーも確認されています。

  • Author: Robert Haas <rhaas@postgresql.org> Branch: master [ecd275718] 2026-01-19 12:09:32 -0500 Branch: REL_18_STABLE [c80b0c9d6] 2026-01-19 12:09:48 -0500 Branch: REL_17_STABLE [ad569b54a] 2026-01-19 12:10:00 -0500

    Fix incorrect handling of incremental backups of large tables (Robert Haas, Oleg Tkachenko) 大規模テーブルの増分バックアップにおける不正な処理が修正されました。 (Robert Haas, Oleg Tkachenko) §

    If a table exceeding 1GB (or in general, the installation's segment size) is truncated by <literal>VACUUM</literal> between the base backup and the incremental backup, <application>pg_combinebackup</application> could fail with an error about <quote>truncation block length in excess of segment size</quote>. This prevented restoring the incremental backup. ベースバックアップと増分バックアップとの間に、1GB(または一般的にはインストールセグメントサイズ)を超えるテーブルがVACUUMによって切り詰められた場合、pg_combinebackuptruncation block length in excess of segment sizeというエラーで失敗する可能性がありました。 これにより、増分バックアップのリストアが妨げられていました。

  • Author: Amit Langote <amitlan@postgresql.org> Branch: master [9cbb1d21d] 2026-01-16 13:02:42 +0900 Branch: REL_18_STABLE [1943ceb38] 2026-01-16 13:14:21 +0900 Branch: REL_17_STABLE [4071fe900] 2026-01-16 13:19:53 +0900 Branch: REL_16_STABLE [980b7c736] 2026-01-16 13:19:59 +0900 Branch: REL_15_STABLE [b926ff137] 2026-01-16 13:20:05 +0900 Branch: REL_14_STABLE [f6df78173] 2026-01-16 13:20:11 +0900

    Fix potential backend process crash at process exit due to trying to release a lock in an already-unmapped shared memory segment (Rahila Syed) 既にマップされていない共有メモリセグメントのロックを解除しようとしたことによる、プロセス終了時のバックエンドプロセスのクラッシュの可能性が修正されました。 (Rahila Syed) §

  • Author: Andres Freund <andres@anarazel.de> Branch: master [807764990] 2026-01-15 11:09:07 -0500 Branch: REL_18_STABLE [7f1b3a4ce] 2026-01-15 11:09:49 -0500

    Fix race condition in async I/O code (Andres Freund) 非同期I/Oコードの競合状態が修正されました。 (Andres Freund) §

    It was possible for the result code of an asynchronous I/O operation to be overwritten before it was fetched. 非同期I/O操作の結果コードが取得される前に上書きされる可能性がありました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [102bdaa9b] 2026-01-15 16:48:45 +0200 Branch: REL_18_STABLE [09532a78b] 2026-01-15 16:49:42 +0200 Branch: REL_17_STABLE [d3ad4cef6] 2026-01-15 16:50:30 +0200 Branch: REL_16_STABLE [c7946e6f3] 2026-01-15 16:50:37 +0200 Branch: REL_15_STABLE [a563ac619] 2026-01-15 16:50:42 +0200 Branch: REL_14_STABLE [46be454ca] 2026-01-15 16:50:46 +0200

    Guard against incorrect truncation of the multixact log after a crash (Heikki Linnakangas) クラッシュ後のマルチトランザクションログの不適切な切り捨てが防止されました。 (Heikki Linnakangas) §

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [36b8f4974] 2025-12-27 17:23:30 +0900 Branch: REL_18_STABLE [06907e864] 2025-12-27 17:23:51 +0900 Branch: REL_17_STABLE [52b27f585] 2025-12-27 17:23:53 +0900 Branch: REL_16_STABLE [c48829ed8] 2025-12-27 17:23:54 +0900 Branch: REL_15_STABLE [300575fe2] 2025-12-27 17:23:56 +0900 Branch: REL_14_STABLE [ea3524cff] 2025-12-27 17:23:58 +0900

    Fix possibly mis-encoded result of <function>pg_stat_get_backend_activity()</function> (Chao Li) pg_stat_get_backend_activity()の結果が誤ってエンコードされる可能性があった問題が修正されました。 (Chao Li) §

    The shared-memory buffer holding a session's activity string can end with an incomplete multibyte character. Readers are supposed to truncate off any such incomplete character, but this function failed to do so. セッションのアクティビティ文字列を保持する共有メモリバッファは、不完全なマルチバイト文字で終わる可能性がありました。 読取り側はそのような不完全な文字を切り捨てるべきですが、この関数はそれを実行していませんでした。

  • Author: Fujii Masao <fujii@postgresql.org> Branch: master [b3ccb0a2c] 2025-12-19 12:05:37 +0900 Branch: REL_18_STABLE [b863d8d87] 2025-12-19 12:07:10 +0900 Branch: REL_17_STABLE [699293d27] 2025-12-19 12:07:21 +0900 Branch: REL_16_STABLE [3853f6168] 2025-12-19 12:08:20 +0900 Branch: REL_15_STABLE [0fc2f533a] 2025-12-19 12:09:10 +0900 Branch: REL_14_STABLE [1a9a49699] 2025-12-19 12:09:16 +0900

    Guard against recursive memory context logging (Fujii Masao) 再帰的なメモリコンテキストのログ出力が防止されました。 (Fujii Masao) §

    A constant flow of signals requesting memory context logging could cause recursive execution of the logging code, which in theory could lead to stack overflow. メモリコンテキストのログ出力を要求するシグナルが継続的に送信されると、ログ出力コードの再帰的な実行が引き起こされる可能性があり、理論上はスタックオーバーフローが発生する可能性がありました。

  • Author: Robert Haas <rhaas@postgresql.org> Branch: master [f1a6e622b] 2025-12-16 12:24:55 -0500 Branch: REL_18_STABLE [57df5ab80] 2025-12-16 10:59:05 -0500 Branch: REL_17_STABLE [1d0fc2499] 2025-12-16 10:59:04 -0500 Branch: REL_16_STABLE [12c2f843c] 2025-12-16 10:59:02 -0500 Branch: REL_15_STABLE [bd2726d3e] 2025-12-16 10:59:01 -0500 Branch: REL_14_STABLE [1d9f7fbba] 2025-12-16 10:59:00 -0500

    Fix memory context usage when reinitializing a parallel execution context (Jakub Wartak, Jeevan Chalke) 並列実行コンテキストの再初期化時のメモリコンテキストの使用が修正されました。 (Jakub Wartak, Jeevan Chalke) §

    This error could result in a crash due to a subsidiary data structure having a shorter lifespan than the parallel context. The problem is not known to be reachable using only core <productname>PostgreSQL</productname>, but we have reports of trouble in extensions. この誤りは、並列コンテキストよりも短い寿命を持つ補助データ構造が原因でクラッシュを引き起こす可能性がありました。 この問題はPostgreSQLコアのみでは発生しないことが分かっていますが、拡張で問題が発生した報告がありました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [789d65364] 2025-12-03 19:15:08 +0200 Branch: REL_18_STABLE [e46041fd9] 2025-12-03 19:15:18 +0200 Branch: REL_17_STABLE [8ba61bc06] 2025-12-03 19:15:21 +0200 Branch: REL_16_STABLE [635166913] 2025-12-03 19:15:24 +0200 Branch: REL_15_STABLE [8cfb174a6] 2025-12-03 19:15:26 +0200 Branch: REL_14_STABLE [81416e101] 2025-12-03 19:15:29 +0200 Branch: master [4d936c3ff] 2025-12-05 11:32:38 +0200 Branch: REL_18_STABLE [02ba5e3be] 2025-12-05 11:35:20 +0200 Branch: REL_17_STABLE [cad40cec2] 2025-12-05 11:35:44 +0200 Branch: REL_16_STABLE [4d689a176] 2025-12-05 11:36:36 +0200 Branch: REL_15_STABLE [b9a02b978] 2025-12-05 11:36:52 +0200 Branch: REL_14_STABLE [489695554] 2025-12-05 11:37:06 +0200

    Set next multixid's offset when creating a new multixid, to remove the wait loop that was needed in corner cases (Andrey Borodin) 新しいマルチトランザクションID(multixid)を作成する際に、次のmultixidのオフセットを設定することで、特殊なケースで必要だった待機ループが削除されました。 (Andrey Borodin) § §

    The previous logic could get stuck waiting for an update that would never occur. 以前のロジックでは、決して発生しない更新を待機して立ち往生する可能性がありました。

  • Author: Dean Rasheed <dean.a.rasheed@gmail.com> Branch: master [3881561d7] 2025-11-29 12:28:59 +0000 Branch: REL_18_STABLE [b880d9a02] 2025-11-29 12:31:30 +0000 Branch: REL_17_STABLE [c09096503] 2025-11-29 12:32:12 +0000 Branch: REL_16_STABLE [4d288e33b] 2025-11-29 12:33:04 +0000 Branch: REL_15_STABLE [134a8ee22] 2025-11-29 12:33:35 +0000 Branch: REL_14_STABLE [2d5b97b8c] 2025-11-29 12:34:45 +0000

    Avoid rewriting data-modifying CTEs more than once (Bernice Southey, Dean Rasheed) データを変更するCTEの複数回の書き換えが回避されました。 (Bernice Southey, Dean Rasheed) §

    Formerly, when updating an auto-updatable view or a relation with rules, if the original query had any data-modifying CTEs, the rewriter would rewrite those CTEs multiple times due to recursion. This was inefficient and could produce false errors if a CTE included an update of an always-generated column. 以前は、自動更新可能なビューやルール付きリレーションを更新する際、元の問い合わせにデータを変更するCTEが含まれている場合、再帰処理によりリライタはそれらのCTEを複数回書き換えていました。 これは非効率的であり、CTEにALWAYS指定の生成列が含まれている場合、誤ったエラーが発生する可能性がありました。

  • Author: Nathan Bossart <nathan@postgresql.org> Branch: master [dbdc717ac] 2025-11-26 15:12:25 -0600 Branch: REL_18_STABLE [b83bcc0df] 2025-11-26 15:12:25 -0600 Branch: REL_17_STABLE [2fc5c5062] 2025-11-26 15:12:25 -0600

    Allow retrying initialization of a DSM registry entry (Nathan Bossart) DSM(動的共有メモリ)レジストリエントリの初期化の再試行ができるようになりました。 (Nathan Bossart) §

    If we fail partway through initialization of a dynamic shared memory entry, allow the next attempt to use that entry to retry initialization. Previously the entry was left in a permanently-failed state. 動的共有メモリエントリの初期化途中で失敗した場合、次回の施行でそのエントリの初期化を再試行できるようになりました。 以前は、エントリは永続的に失敗した状態のままでした。

  • Author: Tomas Vondra <tomas.vondra@postgresql.org> Branch: master [3fccbd94c] 2026-01-27 00:21:40 +0100 Branch: REL_18_STABLE [9796c4f56] 2026-01-26 23:37:03 +0100

    Avoid failure of NUMA status views when a page has been swapped out (Tomas Vondra) ページがスワップアウトされた場合のNUMAページビューの失敗が回避されました。 (Tomas Vondra) §

  • Author: Tomas Vondra <tomas.vondra@postgresql.org> Branch: master [599336c64] 2025-11-20 13:26:49 +0100 Branch: REL_18_STABLE [482e98ac4] 2025-11-20 13:26:14 +0100

    Avoid <quote>operation not permitted</quote> errors when querying NUMA page status with older libnuma versions (Tomas Vondra) 古いバージョンのlibnumaを使用してNUMAページ状態を問い合わせた際のoperation not permittedエラーが回避されました。 (Tomas Vondra) §

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [dc7c77f82] 2025-12-16 13:29:28 +0900 Branch: REL_18_STABLE [68ebdf2b0] 2025-12-16 13:29:36 +0900 Branch: REL_17_STABLE [f5927da4f] 2025-12-16 13:29:39 +0900 Branch: REL_16_STABLE [1aa57e9ed] 2025-12-16 13:29:41 +0900 Branch: REL_15_STABLE [95ef6f490] 2025-12-16 13:29:42 +0900 Branch: REL_14_STABLE [14161bca4] 2025-12-16 13:29:44 +0900

    Fail recovery if WAL does not exist back to the redo point indicated by the checkpoint record (Nitin Jadhav) チェックポイントレコードで指定されたREDOポイントまでのWALが存在しない場合はリカバリを失敗させるよう修正されました。 (Nitin Jadhav) §

    Add an explicit check for this before starting recovery, so that no harm is done and a useful error message is provided. Previously, recovery might crash or corrupt the database in this situation. リカバリを開始する前に、このことを明示的にチェックする機能を追加することで、問題が発生せず、有用なエラーメッセージが提供されるようになります。 以前は、このような状況でリカバリをおこなうと、データベースがクラッシュしたり破損したりする可能性がありました。

  • Author: David Rowley <drowley@postgresql.org> Branch: master [6ca8506ea] 2026-01-06 17:29:12 +1300 Branch: REL_18_STABLE [bea57a6b4] 2026-01-06 17:29:44 +1300 Branch: REL_17_STABLE [bb08ac7ac] 2026-01-06 17:30:08 +1300 Branch: REL_16_STABLE [0687a6eb0] 2026-01-06 17:30:32 +1300 Branch: REL_15_STABLE [f20b79059] 2026-01-06 17:30:57 +1300 Branch: REL_14_STABLE [ae45c7296] 2026-01-06 17:31:20 +1300

    Avoid scribbling on the source query tree during <command>ALTER PUBLICATION</command> (Sunil S) ALTER PUBLICATIONの実行中の、元の問い合わせツリーへの書き込みが回避されました。 (Sunil S) §

    This error had the visible effect that an event trigger fired for the query would see only the first <literal>publish</literal> option, even if several had been specified. If such a query were set up as a prepared statement, re-executions would misbehave too. この誤りにより、問い合わせに対して起動されたイベントトリガは、複数のpublishオプションが指定されていたとしても、最初のオプションしか認識しないという目に見える影響がありました。 このような問い合わせがプリペアドステートメントとして設定されていた場合、再実行時も不正な動作が発生していました。

  • Author: Fujii Masao <fujii@postgresql.org> Branch: master [d926462d8] 2026-01-06 11:52:22 +0900 Branch: REL_18_STABLE [797fc5d1b] 2026-01-06 11:54:09 +0900 Branch: REL_17_STABLE [7a990e801] 2026-01-06 11:54:14 +0900 Branch: REL_16_STABLE [75f3428f2] 2026-01-06 11:54:46 +0900 Branch: REL_15_STABLE [f7eb44e0f] 2026-01-06 11:55:46 +0900

    Pass connection options specified in <literal>CREATE SUBSCRIPTION ... CONNECTION</literal> to the publisher's walsender (Fujii Masao) CREATE SUBSCRIPTION ... CONNECTIONで指定された接続オプションをパブリッシャーのwalsenderに渡すようになりました。 (Fujii Masao) §

    Before this fix, the <literal>options</literal> connection option (if any) was ignored, thus for example preventing setting custom server parameter values in the walsender session. It was intended for that to work, and it did work before refactoring in <productname>PostgreSQL</productname> version 15 broke it, so restore the previous behavior. この修正以前は、options接続オプションが存在する場合は無視されていたため、例えばwalsenderセッションでカスタムサーバパラメータ値を設定できなくなっていました。 これは動作するように意図されており、PostgreSQLバージョン15のリファクタリングで機能しなくなる前は動作していました。そのため、以前の動作に戻します。

  • Author: Amit Kapila <akapila@postgresql.org> Branch: master [851f6649c] 2026-01-27 05:06:29 +0000 Branch: REL_18_STABLE [919c9fa13] 2026-01-27 05:45:25 +0000 Branch: REL_17_STABLE [3243c0177] 2026-01-27 05:49:23 +0000 Branch: master [3a98f989e] 2026-01-29 03:22:02 +0000 Branch: REL_18_STABLE [1c60f7236] 2026-01-29 03:34:55 +0000 Branch: REL_17_STABLE [9649f1adf] 2026-01-29 02:57:02 +0000 Branch: master [006dd4b2e] 2025-12-08 05:21:22 +0000 Branch: REL_18_STABLE [d3ceb2084] 2025-12-08 05:33:14 +0000 Branch: REL_17_STABLE [3510ebeb0] 2026-01-08 07:17:56 +0000 Branch: REL_16_STABLE [24cce33c3] 2026-01-08 07:07:23 +0000 Branch: REL_15_STABLE [aae05622a] 2026-01-08 06:54:52 +0000 Branch: REL_14_STABLE [7406df605] 2026-01-08 06:44:28 +0000

    Prevent invalidation of newly created or newly synced replication slots (Zhijie Hou) 新しく作成された、または新たに同期されたレプリケーションスロットが無効化されるのが防止されました。 (Zhijie Hou) § § §

    A race condition with a concurrent checkpoint could allow WAL to be removed that is needed by the replication slot, causing the slot to immediately get marked invalid. 同時にチェックポイントが実行される競合状態により、レプリケーションスロットが必要とするWALが削除され、そのスロットが即座に無効とマークされる可能性がありました。

  • Author: Masahiko Sawada <msawada@postgresql.org> Branch: master [2a5225b99] 2025-12-30 10:56:30 -0800 Branch: REL_18_STABLE [fd7c86cfa] 2025-12-30 10:56:28 -0800 Branch: REL_17_STABLE [123b851ab] 2025-12-30 10:56:25 -0800 Branch: REL_16_STABLE [821466722] 2025-12-30 10:56:23 -0800 Branch: REL_15_STABLE [fa557d300] 2025-12-30 10:56:21 -0800 Branch: REL_14_STABLE [57048d6e1] 2025-12-30 10:56:18 -0800

    Fix race condition in computing a replication slot's required xmin (Zhijie Hou) レプリケーションスロットが必要とするxminを計算する際の競合状態が修正されました。 (Zhijie Hou) §

    This could lead to the error <quote>cannot build an initial slot snapshot as oldest safe xid follows snapshot's xmin</quote>. これにより、cannot build an initial slot snapshot as oldest safe xid follows snapshot's xminというエラーが発生する可能性がありました。

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [8e0d32a4a] 2025-12-23 14:32:14 +0900 Branch: REL_18_STABLE [b07c32619] 2025-12-23 14:32:19 +0900 Branch: REL_17_STABLE [e063ccc72] 2025-12-23 14:32:21 +0900 Branch: REL_16_STABLE [e22e9ab0c] 2025-12-23 14:32:22 +0900 Branch: REL_15_STABLE [90d1beef6] 2025-12-23 14:32:24 +0900 Branch: REL_14_STABLE [25a04aa52] 2025-12-23 14:32:25 +0900

    During initial synchronization of a logical replication subscription, commit the addition of a <structname>pg_replication_origin</structname> entry before starting to copy data (Zhijie Hou) 論理レプリケーションサブスクリプションの初期同期中、データのコピーを開始する前にpg_replication_originエントリの追加をコミットするようになりました。 (Zhijie Hou) §

    Previously, if the copy step failed, the new <structname>pg_replication_origin</structname> entry would be lost due to transaction rollback. This led to inconsistent state in shared memory. 以前は、コピーステップが失敗した場合、トランザクションのロールバックにより新しいpg_replication_originエントリが失われていました。 これにより、共有メモリの状態が不整合になっていました。

  • Author: Amit Kapila <akapila@postgresql.org> Branch: master [1528b0d89] 2025-12-24 04:36:39 +0000 Branch: REL_18_STABLE [2f7ffe124] 2025-12-24 04:21:43 +0000 Branch: REL_17_STABLE [0ed8f1afb] 2025-12-24 04:05:06 +0000 Branch: REL_16_STABLE [63a65adf4] 2025-12-24 04:19:57 +0000

    Don't advance logical replication progress after a parallel worker apply failure (Zhijie Hou) パラレルワーカーの適用が失敗した後、論理レプリケーションの進捗を進めないよう修正されました。 (Zhijie Hou) §

    The previous behavior allowed transactions to be lost by a subscriber. 以前の動作では、サブスクライバーによってトランザクションが失われる可能性がありました。

  • Author: Amit Kapila <akapila@postgresql.org> Branch: master [04396eacd] 2025-12-09 07:25:20 +0000 Branch: REL_18_STABLE [6c61c69d5] 2025-12-09 07:12:37 +0000 Branch: REL_17_STABLE [f2818868a] 2025-12-09 07:02:08 +0000

    Fix logical replication slotsync worker processes to handle LOCK_TIMEOUT signals correctly (Zhijie Hou) LOCK_TIMEOUTシグナルを正しく処理できるように論理レプリケーションのスロット同期(slotsync)ワーカープロセスが修正されました。 (Zhijie Hou) §

    Previously, timeout signals were effectively ignored. 以前は、タイムアウトシグナルは事実上無視されていました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [23b25586d] 2026-01-15 21:02:49 +0200 Branch: REL_18_STABLE [9ed411e08] 2026-01-15 21:02:54 +0200 Branch: REL_17_STABLE [c3770181c] 2026-01-15 21:02:59 +0200 Branch: REL_16_STABLE [a2eeb04f3] 2026-01-15 21:03:12 +0200 Branch: REL_15_STABLE [ef8465588] 2026-01-15 21:03:16 +0200 Branch: REL_14_STABLE [2514f1c77] 2026-01-15 20:58:05 +0200

    Fix possible failure with <quote>unexpected data beyond EOF</quote> during restart of a streaming replica server (Anthonin Bonnefoy) ストリーミングレプリカサーバの再起動中にunexpected data beyond EOFによって発生する可能性があった障害が修正されました。 (Anthonin Bonnefoy) §

  • Author: Amit Langote <amitlan@postgresql.org> Branch: master [519fa0433] 2025-11-27 12:07:01 +0900 Branch: REL_18_STABLE [15ba0702c] 2025-11-27 11:59:40 +0900 Branch: REL_17_STABLE [b5511fed5] 2025-11-27 11:59:36 +0900

    Fix error reporting for SQL/JSON path type mismatches (Jian He) SQL/JSON pathの型不一致に関するエラーメッセージが修正されました。 (Jian He) §

    The code could produce a <quote>cache lookup failed for type 0</quote> error instead of the intended complaint about the path expression not being of the right type. このコードではpath式が正しい型ではないという意図したエラーではなく、cache lookup failed for type 0というエラーが生成される可能性がありました。

  • Author: David Rowley <drowley@postgresql.org> Branch: master [349107537] 2026-01-09 11:01:36 +1300 Branch: REL_18_STABLE [c35e5dd9a] 2026-01-09 11:02:59 +1300 Branch: REL_17_STABLE [84b787ae6] 2026-01-09 11:03:24 +1300 Branch: REL_16_STABLE [821c4d27b] 2026-01-09 11:03:48 +1300 Branch: REL_15_STABLE [3ad05640b] 2026-01-09 11:04:12 +1300 Branch: REL_14_STABLE [a65995947] 2026-01-09 11:04:39 +1300

    Fix erroneous tracking of column position when parsing partition range bounds (myzhen) パーティション範囲の境界を解析する際の列位置の誤った追跡が修正されました。 (myzhen) §

    This could, for example, lead to the wrong column name being cited in error messages about casting partition bound values to the column's data type. これにより、例えば、パーティション境界値を列のデータ型にキャストする際のエラーメッセージに、誤った列名が表示されるといった問題が発生する可能性がありました。

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [74a116a79] 2026-02-06 15:38:16 +0900 Branch: REL_18_STABLE [acfa422c3] 2026-02-06 15:38:21 +0900 Branch: REL_17_STABLE [67ad4387b] 2026-02-06 15:38:23 +0900 Branch: REL_16_STABLE [977a17a3e] 2026-02-06 15:38:25 +0900 Branch: REL_15_STABLE [4ec943f7d] 2026-02-06 15:38:27 +0900 Branch: REL_14_STABLE [d32e17160] 2026-02-06 15:38:29 +0900 Branch: master [c8ec74713] 2026-02-04 16:38:06 +0900 Branch: REL_18_STABLE [2ca4464b6] 2026-02-04 16:38:10 +0900 Branch: REL_17_STABLE [263af458e] 2026-02-04 16:38:12 +0900 Branch: master [a9afa021e] 2026-02-02 10:21:04 +0900 Branch: REL_18_STABLE [ab61f0087] 2026-02-02 10:21:07 +0900 Branch: REL_17_STABLE [5995135f1] 2026-02-02 10:21:10 +0900 Branch: master [6bca4b50d] 2026-01-18 17:24:25 +0900 Branch: REL_18_STABLE [69ee81932] 2026-01-18 17:24:58 +0900 Branch: REL_17_STABLE [05ef2371a] 2026-01-18 17:25:00 +0900 Branch: REL_16_STABLE [e8fd6c9fd] 2026-01-18 17:25:01 +0900 Branch: REL_15_STABLE [fbf8df580] 2026-01-18 17:25:03 +0900 Branch: REL_14_STABLE [f1dc7a5b7] 2026-01-18 17:25:04 +0900 Author: Peter Eisentraut <peter@eisentraut.org> Branch: master [1653ce523] 2026-02-07 22:37:02 +0100 Branch: REL_18_STABLE [cff2ef984] 2026-02-07 22:53:16 +0100 Branch: REL_17_STABLE [5449fd261] 2026-02-07 22:53:21 +0100 Branch: REL_16_STABLE [a7bdbbada] 2026-02-07 22:53:25 +0100 Branch: REL_15_STABLE [9dcd0b3de] 2026-02-07 22:53:34 +0100 Branch: REL_14_STABLE [3e7bb39df] 2026-02-07 22:53:38 +0100

    Fix assorted minor errors in error messages (Man Zeng, Tianchen Zhang) エラーメッセージにおける様々な軽微な誤りが修正されました。 (Man Zeng, Tianchen Zhang) § § § § §

    For example, an error report about mismatched timeline number in a backup manifest showed the starting timeline number where it meant to show the ending timeline number. 例えば、バックアップマニフェスト内のタイムライン番号不一致に関するエラー報告で、本来表示されるべき終了タイムライン番号が開始タイムライン番号として表示されていました。

  • Author: Thomas Munro <tmunro@postgresql.org> Branch: master [e5d99b4d9] 2026-01-22 16:03:47 +1300 Branch: REL_18_STABLE [f1c6b153c] 2026-01-22 16:10:58 +1300 Branch: REL_17_STABLE [d0bb0e5b3] 2026-01-22 16:10:28 +1300 Branch: REL_16_STABLE [7600dc79c] 2026-01-22 16:10:08 +1300 Branch: REL_15_STABLE [cbdd09ae1] 2026-01-22 16:09:29 +1300 Branch: REL_14_STABLE [de8081c30] 2026-01-22 16:06:06 +1300

    Fix failure to perform function inlining when doing JIT compilation with LLVM version 17 or later (Anthonin Bonnefoy) LLVMバージョン17以降でJITコンパイルを行う際に、関数インライン化が失敗する問題が修正されました。 (Anthonin Bonnefoy) §

  • Author: Thomas Munro <tmunro@postgresql.org> Branch: master [0dceba21d] 2025-11-22 21:21:11 +1300 Branch: REL_18_STABLE [912cfa314] 2025-11-22 21:21:54 +1300 Branch: REL_17_STABLE [60215eae7] 2025-11-22 21:22:37 +1300 Branch: REL_16_STABLE [600acd34b] 2025-11-22 21:23:23 +1300 Branch: REL_15_STABLE [55164852d] 2025-11-22 21:23:45 +1300 Branch: REL_14_STABLE [035a1f5ac] 2025-11-22 21:20:27 +1300

    Adjust our JIT code to work with LLVM 21 (Holger Hoffstätte) LLVM 21で動作するようにJITコードが調整されました。 (Holger Hoffstätte) §

    The previous coding failed to compile on aarch64 machines. 以前のコードは、aarch64マシンでコンパイルに失敗していました。

  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [6d969ca68] 2025-11-17 15:24:34 -0500 Branch: REL_18_STABLE [db4eba152] 2025-11-17 15:24:40 -0500 Branch: master [3e83bdd35] 2025-11-18 16:16:46 -0500 Branch: REL_18_STABLE [6a5170755] 2025-11-18 16:16:51 -0500

    Fix aarch64-specific code to build with old (RHEL7-era) system header files (Tom Lane) 古い(RHEL7時代の)システムヘッダファイルを使用してビルドできるように、aarch64固有のコードが修正されました。 (Tom Lane) § §

  • Author: Masahiko Sawada <msawada@postgresql.org> Branch: master [85d5bd308] 2025-12-31 11:18:14 -0800 Branch: REL_18_STABLE [640772c6d] 2025-12-31 11:18:17 -0800

    Fix incorrect configure probe for <function>io_uring_queue_init_mem()</function> (Masahiko Sawada) io_uring_queue_init_mem()に対する誤ったconfigureプローブが修正されました。 (Masahiko Sawada) §

    This error resulted in failure to optimize async I/O buffer allocations in autotools-based builds, though the code did work when building with meson. The main impact of the omission was slower-than-necessary backend process exits. この誤りにより、autotoolsベースのビルドでは非同期I/Oバッファ割り当ての最適化が失敗していましたが、mesonを使用したビルドではコードは正常に動作していました。 この修正漏れによる主な影響は、バックエンドプロセスの終了処理が不必要に遅くなることでした。

  • Author: Thomas Munro <tmunro@postgresql.org> Branch: master [f94e9141a] 2026-02-06 17:38:49 +1300 Branch: REL_18_STABLE [33e3de6d7] 2026-02-06 17:38:39 +1300 Branch: REL_17_STABLE [4dac22aa1] 2026-02-06 17:41:42 +1300 Branch: REL_16_STABLE [e37b59802] 2026-02-06 17:43:49 +1300

    Add new server parameter <xref linkend="guc-file-extend-method"/> to control use of <function>posix_fallocate()</function> (Thomas Munro) posix_fallocate()の使用を制御するために、新しいサーバ変数file_extend_methodが追加されました。 (Thomas Munro) §

    <productname>PostgreSQL</productname> version 16 and later will use <function>posix_fallocate()</function>, if the platform provides it, to extend relation files. However, this has been reported to interact poorly with some file systems: BTRFS compression is disabled by the use of <function>posix_fallocate()</function>, and XFS could produce spurious <literal>ENOSPC</literal> errors in older Linux kernel versions. To provide a workaround, introduce this new server parameter. Setting <varname>file_extend_method</varname> to <literal>write_zeros</literal> will cause the server to return to the old method of extending files by writing blocks of zeroes. PostgreSQLバージョン16以降では、プラットフォームが提供している場合、リレーションファイルの拡張にposix_fallocate()を使用します。 しかし、これは一部のファイルシステムとうまく連携しないことが報告されています。 具体的には、posix_fallocate()の使用によりBTRFSの圧縮が無効になり、XFSでは古いバージョンのLinuxカーネルで誤ったENOSPCエラーが発生する可能性がありました。 この問題を回避するため、この新しいサーバ変数が導入されました。 file_extend_methodwrite_zerosに設定すると、サーバはゼロブロックを書き込むことでファイルを拡張する従来の方法に戻ります。

  • Author: Thomas Munro <tmunro@postgresql.org> Branch: master [c507ba55f] 2025-12-10 09:01:35 +1300 Branch: REL_18_STABLE [bebb281b0] 2025-12-10 09:05:21 +1300 Branch: REL_17_STABLE [f24af0e04] 2025-12-10 09:10:31 +1300 Branch: REL_16_STABLE [d62a258cd] 2025-12-10 09:11:19 +1300 Branch: master [bec2a0aa3] 2025-12-21 17:34:20 +1300 Branch: REL_18_STABLE [a7d06e74d] 2025-12-21 17:34:49 +1300 Branch: REL_17_STABLE [045185913] 2025-12-21 17:35:46 +1300 Branch: REL_16_STABLE [0666ccc16] 2025-12-21 17:36:04 +1300 Branch: master [45d92b76d] 2025-12-29 15:47:31 +1300 Branch: REL_18_STABLE [4da5c33a3] 2025-12-29 15:48:27 +1300 Branch: REL_17_STABLE [b3c8119e2] 2025-12-29 15:28:17 +1300 Branch: REL_16_STABLE [80e8ec772] 2025-12-29 15:31:39 +1300

    Honor <function>open()</function>'s <literal>O_CLOEXEC</literal> flag on Windows (Bryan Green, Thomas Munro) Windowsにおいてopen()O_CLOEXECフラグを正しく処理するようになりました。 (Bryan Green, Thomas Munro) § § §

    Make this flag work like it does on POSIX platforms, so that we don't leak file handles into child processes such as <literal>COPY TO/FROM PROGRAM</literal>. While that leakage hasn't caused many problems, it seems undesirable. このフラグをPOSIXプラットフォームと同様に動作させることで、COPY TO/FROM PROGRAMなどの子プロセスへのファイルハンドルリークが防止されるようになりました。 このリークによって大きな問題が生じたわけではありませんが、望ましくない状況でした。

  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [c0bf15729] 2026-02-07 20:05:52 -0500 Branch: REL_18_STABLE [5eac1d68f] 2026-02-07 20:05:52 -0500 Branch: REL_17_STABLE [59c2f7efa] 2026-02-07 20:05:52 -0500 Branch: REL_16_STABLE [7369656fa] 2026-02-07 20:05:52 -0500

    Fix failure to parse long options on the server command line in Solaris executables built with meson (Tom Lane) MesonでビルドされたSolaris実行ファイルにおいて、サーバコマンドラインの長いオプションの解析エラーが修正されました。 (Tom Lane) §

  • Author: Thomas Munro <tmunro@postgresql.org> Branch: master [32b236644] 2025-11-17 12:48:55 +1300 Branch: REL_18_STABLE [bcfca332f] 2025-11-17 12:48:47 +1300 Branch: REL_17_STABLE [d66a922f9] 2025-11-17 12:48:37 +1300 Branch: REL_16_STABLE [a1407dade] 2025-11-17 12:48:22 +1300 Branch: REL_15_STABLE [3995e4a9d] 2025-11-18 11:19:56 +1300 Branch: REL_14_STABLE [29a3e22f3] 2025-11-18 11:21:15 +1300

    Support process title changes on GNU/Hurd (Michael Banck) GNU/Hurd上でプロセスタイトルの変更がサポートされました。 (Michael Banck) §

  • Author: Masahiko Sawada <msawada@postgresql.org> Branch: master [c5c808f9b] 2025-12-24 13:55:29 -0800 Branch: REL_18_STABLE [4e1376900] 2025-12-24 13:55:32 -0800

    Fix <application>psql</application>'s tab completion for <command>VACUUM</command> option values (Yugo Nagata) psqlでのVACUUMオプション値に対するタブ補完を修正しました。 (Yugo Nagata) §

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [4b77282f2] 2026-01-29 16:20:45 +0900 Branch: REL_18_STABLE [d42735b1e] 2026-01-29 16:20:50 +0900

    In <application>psql</application> command prompts, do not show a value for <literal>%P</literal> (pipeline status) when there is no server connection (Chao Li) psqlコマンドプロンプトにおいて、サーバ接続がない場合は%P(パイプライン状態)の値を表示しないようになりました。 (Chao Li) §

    This makes <literal>%P</literal> act like other prompt escape sequences whose values depend on the active connection. これにより、%Pは、アクティブな接続状況に応じて値が変化する他のプロンプトエスケープシーケンスと同様の動作をするようになります。

  • Author: Nathan Bossart <nathan@postgresql.org> Branch: master [7a485bd64] 2026-01-09 10:12:54 -0600 Branch: REL_18_STABLE [39d555576] 2026-01-09 10:12:54 -0600 Branch: master [5d1f5079a] 2026-01-11 13:52:50 -0600 Branch: REL_18_STABLE [56e1f5010] 2026-01-11 13:52:50 -0600

    Fix <application>pg_dump</application>'s logic for collecting sequence values (Nathan Bossart) pg_dumpによるシーケンス値の収集ロジックが修正されました。 (Nathan Bossart) § §

    <application>pg_dump</application> failed if a sequence was dropped concurrently with the dump, even if the sequence was not among the database objects to be dumped. Also, if the calling user lacks privileges to read a sequence's value, <application>pg_dump</application> emitted incorrect values rather than failing as expected. ダンプ対象のデータベースオブジェクトに含まれていないシーケンスであっても、ダンプ実行中にそのシーケンスが削除されるとpg_dumpは失敗していました。 また、呼び出し元のユーザにシーケンスの値を読み取る権限がない場合、pg_dumpは期待どおりに失敗するのではなく、誤った値を出力していました。

  • Author: Daniel Gustafsson <dgustafsson@postgresql.org> Branch: master [ec0da9b89] 2025-12-27 23:05:48 +0100 Branch: REL_18_STABLE [61c78e1f4] 2025-12-27 23:05:48 +0100

    Fix potentially-incorrect quoting of <varname>oauth_validator_libraries</varname> values by <application>pg_dump</application> (ChangAo Chen) pg_dumpによるoauth_validator_librariesの値の潜在的な誤った引用符付けが修正されました。 (ChangAo Chen) §

    <application>pg_dump</application> applied the wrong quoting rule if it needed to dump a value of this setting. pg_dumpは、この設定の値をダンプする必要がある場合、誤った引用ルールを適用していました。

  • Author: Noah Misch <noah@leadboat.com> Branch: master [d49936f30] 2025-12-18 10:23:47 -0800 Branch: REL_18_STABLE [573e679a2] 2025-12-18 10:23:51 -0800 Branch: REL_17_STABLE [1cdc07ad5] 2025-12-18 10:23:51 -0800

    Avoid <application>pg_dump</application> assertion failure in binary-upgrade mode (Vignesh C) バイナリアップグレードモードでのpg_dumpのアサーションエラーが回避されました。 (Vignesh C) §

    Failure to handle subscription-relation objects in the object sorting code triggered an assertion, though there were no serious ill effects in production builds. オブジェクトのソート処理コードにおいて、サブスクリプション関連オブジェクトの処理に失敗したためアサーションエラーが発生していましたが、本番環境のビルドでは深刻な悪影響はありませんでした。

  • Author: Fujii Masao <fujii@postgresql.org> Branch: master [4aa0ac057] 2025-11-14 22:40:39 +0900 Branch: REL_18_STABLE [00e64e35c] 2025-11-14 22:41:55 +0900 Branch: REL_17_STABLE [5bc251b28] 2025-11-14 22:42:02 +0900

    Fix incorrect error handling in <application>pgbench</application> with multiple <command>\syncpipeline</command> commands in pipeline mode (Yugo Nagata) パイプラインモードで複数の\syncpipelineコマンドが実行された場合のpgbenchのエラー処理の誤りが修正されました。 (Yugo Nagata) §

    If multiple <command>\syncpipeline</command> commands are encountered after a query error, <application>pgbench</application> would report <quote>failed to exit pipeline mode</quote>, or get an assertion failure in an assert-enabled build. 問い合わせエラーの後に複数の\syncpipelineコマンドが検出された場合、pgbenchfailed to exit pipeline modeと報告するか、アサートが有効なビルドではアサーションエラーが発生していました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [d5b4f3a6d] 2025-11-19 18:05:42 +0200 Branch: REL_18_STABLE [19594271c] 2025-11-19 18:06:04 +0200 Branch: REL_17_STABLE [f2e0ca0af] 2025-11-19 18:06:23 +0200 Branch: REL_16_STABLE [890cc81b6] 2025-11-19 18:06:24 +0200 Branch: REL_15_STABLE [7c494072b] 2025-11-19 18:06:26 +0200 Branch: REL_14_STABLE [11cc0f452] 2025-11-19 18:06:27 +0200

    Make <application>pg_resetwal</application> print the updated value when changing OldestXID (Heikki Linnakangas) pg_resetwalがOldestXIDを変更した際に、更新された値が出力されるようになりました。 (Heikki Linnakangas) §

    It already did that for every other variable it can change. 他の変更可能な変数については既にそのように動作していました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [94939c5f3] 2025-11-12 12:20:16 +0200 Branch: REL_18_STABLE [8747b969f] 2025-11-12 12:21:30 +0200 Branch: REL_17_STABLE [cb2ef0e92] 2025-11-12 12:23:55 +0200 Branch: REL_16_STABLE [e039b09f8] 2025-11-12 12:45:16 +0200 Branch: REL_15_STABLE [97cd4b65a] 2025-11-12 12:46:19 +0200

    Make <application>pg_resetwal</application> allow setting next multixact xid to 0 or next multixact offset to UINT32_MAX (Maxim Orlov) pg_resetwalで、次のmultixact xidを0にしたり、次のmultixactオフセットをUINT32_MAXに設定できるようになりました。 (Maxim Orlov) §

    These are valid values, so rejecting them was incorrect. In the worst case, if a pg_upgrade is attempted when exactly at the point of multixact wraparound, the upgrade would fail. これらは有効な値であるため、拒否していたのは誤りでした。 最悪の場合、multixactの周回が発生するまさにその時点でpg_upgradeが試行されると、アップグレードは失敗していました。

  • Author: Álvaro Herrera <alvherre@kurilemu.de> Branch: master [6bd469d26] 2025-12-04 18:12:08 +0100 Branch: REL_18_STABLE [df93f94dd] 2025-12-04 18:12:08 +0100 Branch: REL_17_STABLE [ce2f575b7] 2025-12-04 18:12:08 +0100 Branch: master [1f28982e4] 2026-01-21 18:55:43 +0100 Branch: REL_18_STABLE [3c83a2a0a] 2026-01-21 18:55:43 +0100 Branch: REL_17_STABLE [e1a327dc4] 2026-01-21 18:55:43 +0100 Branch: REL_16_STABLE [098a1fab8] 2026-01-21 18:55:43 +0100 Branch: REL_15_STABLE [dcddd6987] 2026-01-21 18:55:43 +0100 Branch: REL_14_STABLE [607a67c5e] 2026-01-21 18:55:43 +0100

    In <filename>contrib/amcheck</filename>, use the correct snapshot for btree index parent checks (Mihail Nikalayeu) contrib/amcheckで、btreeインデックスの親チェックで正しいスナップショットを使用するようになりました。 (Mihail Nikalayeu) § §

    The previous coding caused spurious errors when examining indexes created with <command>CREATE INDEX CONCURRENTLY</command>. 以前のコードでは、CREATE INDEX CONCURRENTLYで作成されたインデックスを検査する際に誤ったエラーが発生していました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [cbe04e5d7] 2025-12-02 21:11:15 +0200 Branch: REL_18_STABLE [19e786727] 2025-12-02 21:15:04 +0200 Branch: REL_17_STABLE [e8ae59445] 2025-12-02 21:15:28 +0200 Branch: REL_16_STABLE [182901626] 2025-12-02 21:15:48 +0200 Branch: REL_15_STABLE [7792bdc45] 2025-12-02 21:16:06 +0200 Branch: REL_14_STABLE [fbb4b6078] 2025-12-02 21:16:17 +0200

    Fix <filename>contrib/amcheck</filename> to handle <quote>half-dead</quote> btree index pages correctly (Heikki Linnakangas) half-dead状態のbtreeインデックスページを正しく処理するようにcontrib/amcheckが修正されました。 (Heikki Linnakangas) §

    <filename>amcheck</filename> expected such a page to have a parent downlink, but it does not, leading to a false error report about <quote>mismatch between parent key and child high key</quote>. amcheckは、このようなページには親のダウンリンクが存在することを想定していましたが、実際には存在しないため、mismatch between parent key and child high keyという誤ったエラー報告が発生していました。

  • Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> Branch: master [6c05ef572] 2025-12-02 21:10:51 +0200 Branch: REL_18_STABLE [50c63ebb0] 2025-12-02 21:14:53 +0200 Branch: REL_17_STABLE [5a2d1df00] 2025-12-02 21:15:19 +0200 Branch: REL_16_STABLE [f2a6df9fd] 2025-12-02 21:15:43 +0200 Branch: REL_15_STABLE [721b58fbe] 2025-12-02 21:16:01 +0200 Branch: REL_14_STABLE [a4cb21ea9] 2025-12-02 21:16:13 +0200

    Fix <filename>contrib/amcheck</filename> to handle incomplete btree root page splits correctly (Heikki Linnakangas) 不完全なbtreeルートページ分割を正しく処理するようにcontrib/amcheckが修正されました。 (Heikki Linnakangas) §

    <filename>amcheck</filename> could report a false error about <quote>block is not true root</quote>. amcheckblock is not true rootという誤ったエラーを報告する可能性がありました。

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [3f83de20b] 2025-12-11 14:11:06 +0900 Branch: REL_18_STABLE [580b5c2f3] 2025-12-11 14:11:25 +0900

    Fix excessive memory allocation in <filename>contrib/pg_buffercache</filename> (David Geier) contrib/pg_buffercacheにおける過剰なメモリ割り当てが修正されました。 (David Geier) §

    The code allocated twice as much memory as it needed for NUMA page status. このコードは、NUMAページステータスに必要なメモリ量の2倍のメモリを割り当てていました。

  • Author: David Rowley <drowley@postgresql.org> Branch: master [4f49e4b55] 2026-01-04 20:32:40 +1300 Branch: REL_18_STABLE [07c1c6ec5] 2026-01-04 20:33:14 +1300 Branch: REL_17_STABLE [a5f2dc421] 2026-01-04 20:33:39 +1300 Branch: REL_16_STABLE [54f82c4aa] 2026-01-04 20:34:01 +1300 Branch: REL_15_STABLE [c89510431] 2026-01-04 20:34:22 +1300 Branch: REL_14_STABLE [67a6fd507] 2026-01-04 20:34:45 +1300

    Fix edge-case integer overflow in <filename>contrib/intarray</filename>'s selectivity estimator for <literal>@@</literal> (Chao Li) contrib/intarray@@の選択度推定において、エッジケースの整数オーバーフローが修正されました。 (Chao Li) §

    This could cause poor selectivity estimates to be produced for cases involving the maximum integer value. これにより、整数の最大値を含む場合に、不適切な選択度推計が生成される可能性がありました。

  • Author: Jeff Davis <jdavis@postgresql.org> Branch: master [84d5efa7e] 2025-12-16 10:35:40 -0800 Branch: REL_18_STABLE [f79e239e0] 2025-12-16 10:36:09 -0800 Branch: REL_17_STABLE [b8cfe9dc2] 2025-12-16 10:36:29 -0800 Branch: REL_16_STABLE [b80227c0a] 2025-12-16 10:36:48 -0800 Branch: REL_15_STABLE [335b2f30b] 2025-12-16 10:37:22 -0800 Branch: REL_14_STABLE [898991966] 2025-12-16 10:38:15 -0800

    Fix multibyte-encoding issue in <filename>contrib/ltree</filename> (Jeff Davis) contrib/ltreeにおけるマルチバイトエンコーディング問題が修正されました。 (Jeff Davis) §

    The previous coding could pass an incomplete multibyte character to <function>lower()</function>, probably resulting in incorrect behavior. 以前のコードでは、不完全なマルチバイト文字がlower()に渡される可能性があり、その結果、誤った動作を引き起こす可能性がありました。

  • Author: Michael Paquier <michael@paquier.xyz> Branch: master [5d95219fa] 2026-01-20 08:11:12 +0900 Branch: REL_18_STABLE [3304e97b1] 2026-01-20 08:11:16 +0900

    Avoid crash in <filename>contrib/pg_stat_statements</filename> when an <literal>IN</literal> list contains both constants and non-constant expressions (Sami Imseih) contrib/pg_stat_statementsにおいて、INリストに定数と非定数式の両方が含まれている場合に発生するクラッシュが回避されました。 (Sami Imseih) §

  • Author: Tom Lane <tgl@sss.pgh.pa.us> Branch: master [228fe0c3e] 2026-01-18 14:54:33 -0500 Branch: REL_18_STABLE [6574bee64] 2026-01-18 14:54:47 -0500 Branch: REL_17_STABLE [f87c0b84e] 2026-01-18 14:54:54 -0500 Branch: REL_16_STABLE [d852d105e] 2026-01-18 14:55:01 -0500 Branch: REL_15_STABLE [00410b76d] 2026-01-18 14:55:07 -0500 Branch: REL_14_STABLE [8bbf28191] 2026-01-18 14:55:13 -0500

    Update time zone data files to <application>tzdata</application> release 2025c (Tom Lane) タイムゾーンデータファイルをtzdataリリース2025cに更新しました。 (Tom Lane) §

    The only change is in historical data for pre-1976 timestamps in Baja California. 変更点は、バハカリフォルニアの1976年以前のタイムスタンプに関する履歴データのみです。