<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SRA OSS Tech Blog</title>
	<atom:link href="https://www.sraoss.co.jp/tech-blog/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sraoss.co.jp/tech-blog/</link>
	<description>OSS専門の技術ブログ。PostgreSQL、Zabbixを中心に10種類以上のOSSの解説、アップデート情報、運用ヒントを提供。</description>
	<lastBuildDate>Fri, 29 May 2026 00:56:54 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://www.sraoss.co.jp/tech-blog/wp-content/uploads/2018/07/blog-icon-150x150.png</url>
	<title>SRA OSS Tech Blog</title>
	<link>https://www.sraoss.co.jp/tech-blog/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Apache httpd 2.4.67 のリリースノート</title>
		<link>https://www.sraoss.co.jp/tech-blog/apache-httpd/rn-2-4-67/</link>
		
		<dc:creator><![CDATA[基盤技術グループ]]></dc:creator>
		<pubDate>Fri, 29 May 2026 00:38:37 +0000</pubDate>
				<category><![CDATA[Apache httpd]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apache httpd 2.4]]></category>
		<category><![CDATA[Apache httpd 2.4.66]]></category>
		<category><![CDATA[Apache httpd 2.4.67]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20735</guid>

					<description><![CDATA[このドキュメントは 2026 年 5 月 4 日にリリースされた Apache httpd 2.4.67 のリリースノートの日本語訳です。 ダウンロードは Apache httpd ダウンロードより行えます。 以下はリリ ...]]></description>
										<content:encoded><![CDATA[<p>このドキュメントは 2026 年 5 月 4 日にリリースされた <a href="https://downloads.apache.org/httpd/CHANGES_2.4" target="_blank" rel="noopener noreferrer">Apache httpd 2.4.67 のリリースノート</a>の日本語訳です。<br />
ダウンロードは <a href="https://httpd.apache.org/download.cgi#apache24" target="_blank" rel="noopener noreferrer">Apache httpd ダウンロード</a>より行えます。<br />
以下はリリースの詳細と、最新情報およびドキュメントを補足するその他情報について記載しています。</p>
<p><span id="more-20735"></span></p>
<h2>脆弱性修正</h2>
<ul>
<li>CVE-2026-34059: Apache HTTP Server: mod_proxy_ajp: ajp_parse_data() におけるヒープ領域の過剰読み取りおよびメモリ情報漏洩。Apache HTTP Server の mod_proxy_ajp におけるバッファ過剰読み取りの脆弱性です。この問題は Apache HTTP Server 2.4.66 まで影響します。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
<li>CVE-2026-34032: Apache HTTP Server: mod_proxy_ajp: NULL 終端チェック不足によるヒープバッファ過剰読み取り (ajp_msg_get_string)。Apache HTTP Server における不適切な NULL 終端処理および領域外読み取りの脆弱性です。この問題は Apache HTTP Server 2.4.66 まで影響します。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
<li>CVE-2026-33857: Apache HTTP Server: AJP 取得関数における Off-by-one の領域外読み取り。Apache HTTP Server の mod_proxy_ajp における領域外読み取りの脆弱性です。この問題は Apache HTTP Server 2.4.66 まで影響します。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
<li>CVE-2026-33523: Apache HTTP Server: 複数モジュールにおける HTTP レスポンス分割攻撃（悪意あるステータス行の転送）。信頼されていない、または侵害されたバックエンドサーバーを利用する複数の Apache HTTP Server モジュールにおいて、HTTP レスポンス分割の脆弱性が存在します。この問題は Apache HTTP Server 2.4.66 まで影響します。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
<li>CVE-2026-33007: Apache HTTP Server: mod_authn_socache クラッシュ。Apache HTTP Server 2.4.66 以前の mod_authn_socache における NULL ポインタ参照により、キャッシュフォワードプロキシ構成で認証されていないリモートユーザーが子プロセスをクラッシュさせる可能性があります。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
<li>CVE-2026-33006: Apache HTTP Server: mod_auth_digest タイミング攻撃。Apache HTTP Server 2.4.66 の mod_auth_digest に対するタイミング攻撃により、リモート攻撃者が Digest 認証を回避できる可能性があります。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
<li>CVE-2026-29169: Apache HTTP Server: mod_dav_lock 間接ロックによるクラッシュ。Apache HTTP Server 2.4.66 以前の mod_dav_lock における NULL ポインタ参照により、攻撃者が悪意のあるリクエストでサーバーをクラッシュさせる可能性があります。mod_dav_lock は mod_dav や mod_dav_fs では内部利用されておらず、既知の利用例は Apache Subversion 1.2.0 より前の mod_dav_svn のみです。この問題を修正したバージョン 2.4.67 へのアップグレード、または mod_dav_lock の削除を推奨します。</li>
<li>CVE-2026-29168: Apache HTTP Server: mod_md における無制限な OCSP 応答処理。Apache HTTP Server の mod_md において、OCSP 応答データ経由でリソース制限やスロットリングが行われない脆弱性が存在します。この問題は Apache HTTP Server 2.4.30 から 2.4.66 まで影響します。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
<li>CVE-2026-28780: Apache HTTP Server: ajp_msg_check_header() を介した mod_proxy_ajp のバッファオーバーフロー。Apache HTTP Server の mod_proxy_ajp におけるヒープベースのバッファオーバーフロー脆弱性です。mod_proxy_ajp が悪意のある AJP サーバーへ接続した場合、そのサーバーが細工した AJP メッセージを返すことで、ヒープバッファ終端後に攻撃者制御の 4 バイトを書き込ませる可能性があります。この問題は Apache HTTP Server 2.4.66 まで影響します。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
<li>CVE-2026-24072: Apache HTTP Server: mod_rewrite における ap_expr 経由の権限昇格。Apache HTTP Server 2.4.66 以前の複数モジュールにおいて、ローカルの .htaccess 作成者が httpd ユーザー権限でファイルを読み取れる可能性があります。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
<li>CVE-2026-23918: Apache HTTP Server: HTTP/2 における二重解放および早期リセット時の RCE の可能性。Apache HTTP Server の HTTP/2 プロトコル実装において、二重解放およびリモートコード実行 (RCE) の可能性がある脆弱性です。この問題は Apache HTTP Server 2.4.66 に影響します。この問題を修正したバージョン 2.4.67 へのアップグレードを推奨します。</li>
</ul>
<h2>不具合修正</h2>
<ul>
<li>mod_md: バージョン 2.6.10 にアップデート</li>
</ul>
<p style="padding-left: 40px;">&#8211; 証明書更新が完了したと記録されているものの、必要な結果ファイルが生成されていない問題(Issue #420 <a href="https://github.com/icing/mod_md/issues/420" target="_blank" rel="noopener">https://github.com/icing/mod_md/issues/420</a> ) について、job.json ファイルを無視するよう修正されました。</p>
<ul>
<li>mod_http2: バージョン 2.0.39 にアップデート</li>
</ul>
<p style="padding-left: 40px;">&#8211; サードパーティ製モジュールとの組み合わせで発生していたメモリ問題の報告を受け、ストリーム独自のメモリアロケータが削除されました。</p>
<ul>
<li>mod_http2: バージョン 2.0.38 にアップデート</li>
</ul>
<p style="padding-left: 40px;">&#8211; mod_h2 GitHub リポジトリとのソース同期が行われました。機能的な変更はありません。</p>
<ul>
<li>conf/mime.types 更新</li>
</ul>
<p style="padding-left: 40px;">&#8211; vnd.sqlite3、HEIC、HEIF の MIME タイプが追加されました。</p>
<ul>
<li>mod_md: バージョン 2.6.7 にアップデート</li>
</ul>
<p style="padding-left: 40px;">&#8211; MDStapleOthers の回帰不具合が修正されました。この問題は v2.6.0 で発生し、設定内容に関係なく適用されなくなっていました。</p>
<ul>
<li>mod_md: バージョン 2.6.9 にアップデート</li>
</ul>
<p style="padding-left: 40px;">&#8211; Pebble 2.9 以降で利用規約同意が未設定時に返される別エラーに対応し、すべての userActionRequired エラーを恒久的エラーとして扱うよう修正されました。</p>
<ul>
<li>mod_md: バージョン 2.6.8 にアップデート</li>
</ul>
<p style="padding-left: 40px;">&#8211; ACME オーダー作成時の ARI 関連 replaces プロパティについて、CA が ARI をサポートし、かつ設定で有効な場合のみ使用するよう修正されました。<br />
&#8211; apr_cstr_casecmp を持たない APR 1.6.0 未満との互換性が修正され、代わりに apr_strnatcasecmp を利用するようになりました。</p>
<ul>
<li>mod_http2: バージョン 2.0.37 にアップデート</li>
</ul>
<p style="padding-left: 40px;">&#8211; ストリームの二重パージによる二重解放を防止するよう修正されました。(PR 69899)</p>
<ul>
<li>mod_md: APR 1.6.0 未満向けビルド時に、正しい関数名を使用するよう修正されました。(PR 69954)</li>
</ul>
<p>&nbsp;</p>
<p>詳細は以下をご覧ください。</p>
<p><a href="https://downloads.apache.org/httpd/CHANGES_2.4" target="_blank" rel="noopener">https://downloads.apache.org/httpd/CHANGES_2.4</a></p>
<div>
<a href="https://www.sraoss.co.jp/prod_serv/support/oss-pro-support/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-oss" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、各種OSS のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PostgreSQL 18.4 に関する技術情報</title>
		<link>https://www.sraoss.co.jp/tech-blog/pgsql/18-4/</link>
		
		<dc:creator><![CDATA[データベース技術グループ]]></dc:creator>
		<pubDate>Thu, 28 May 2026 03:11:36 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[PostgreSQL 18]]></category>
		<category><![CDATA[PostgreSQL 18.3]]></category>
		<category><![CDATA[PostgreSQL 18.4]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20716</guid>

					<description><![CDATA[このリリースは 18.3 からの修正リリース（2026年 5月 14日リリース）です。 18.X からのアップデートではダンプ、リストアは不要です。 しかしながら、18.2 よりも前のバージョンからアップデートする場合に ...]]></description>
										<content:encoded><![CDATA[<p>このリリースは 18.3 からの修正リリース（2026年 5月 14日リリース）です。<br />
18.X からのアップデートではダンプ、リストアは不要です。<br />
しかしながら、18.2 よりも前のバージョンからアップデートする場合には、<a href="/tech-blog/pgsql/18-2/" rel="noopener">18.2のリリース情報</a>も参照してください。</p>
<p><span id="more-20716"></span></p>
<h3>PostgreSQL 18.3 から 18.4 への変更点</h3>
<p>18.4, 17.10, 16.14, 15.18, 14.23 の各バージョンが同時にリリースされており、本ページでは共通の記載としています。各修正項目が適用されるバージョン系列番号を項目末尾に括弧書きで記載しています。</p>
<ol>
<li>スタートアップパケットの処理での際限ない再帰を防止するようになりました。(CVE-2026-6479)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
悪意のクライアントが、拒絶されたSSLとGSSの暗号化の要求を交互に何度も繰り返すことで、接続先バックエンドをクラッシュさせることができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f7a191f53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32a4ce55c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=66cf26b9e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fb66d302">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b4e66739">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6dffaeb8e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e6ef863">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fda4df6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14a4a7040">&#167;</a></small></p>
<li>メモリ割り当て計算における整数オーバーフローがいくつか修正されました。(CVE-2026-6473)  (Tom Lane, Nathan Bossart, Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
様々な場所のメモリ割り当てサイズの計算で整数オーバーフローの可能性について不注意がありました。整数オーバーフローにより小さすぎるメモリ確保が行なわれて、その結果、範囲外に書き込みが行なわれて、サーバプロセスのクラッシュを引き起こす可能性がありました。また、おそらく任意コード実行も可能と考えられます。
</p>
<p>
全てとは言えませんが、この危険があるのは概ね 32ビットビルドだけです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1c30458a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fe2720c45">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cfb610eaa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc5cea76">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=61a9b4b6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01e568b8c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01b5ef7df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aff71f87b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4032c9d98">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e31ef0720">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3cee4dc4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a2bea41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4f089c79">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fdb0907e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39bc8f2ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd8af778d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=26dd3cac2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c25973124">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fb0bc321d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bcfd848e7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=55328e3a9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=87357a606">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32c525eb6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=137013f60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=986753361">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=67dd6243d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c41f5534">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e24fb3247">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e49e9590d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e81995de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d1489d50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ebcfa7867">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f20b84081">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b11c3eadf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e0eba196">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7fb9f765">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e243e67">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=924b3e943">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d75b1dc96">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37842f3dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e5babf754">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=47dae5e74">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d106295b6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a423a256">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fbec9e50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e909812d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e42598a41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dc6c85ff4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c9447b8bd">&#167;</a></small></p>
<li>pg_createsubscriberコマンドで、オプションで指定されたサブスクリプション名を適切にクォートするようになりました。(CVE-2026-6476)  (Nathan Bossart) (18)(17)</li>
<p>
（ありそうにないことですが）信頼できない者がサブスクリプション名を任意に指定しているとして、サブスクリプション名にクォート無しのSQLコマンドを含めることで、SQLインジェクションが可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e44c370">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d7de7fa84">&#167;</a></small></p>
<li>論理レプリケーションのオリジンの検査で、オブジェクト名を適切にクォートするようになりました。(CVE-2026-6638)  (Pavel Kohout) (18)(17)(16)</li>
<p>
「ALTER SUBSCRIPTION ... REFRESH PUBLICATION」はクォートを付加することなくSQLコマンドにスキーマ名とリレーション名を埋め込んでいて、これによりSQLインジェクションでパブリッシャ側で任意のSQL実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb35d7306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0f59b658">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=248a433cd">&#167;</a></small></p>
<li>ts_headline()関数で長すぎるオプションをエラーを出して拒絶するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
オプション「StartSel」「StopSel」「FragmentDelimiter」の文字列長は32Kbが上限でしたが、入力の検査が行われていませんでした。これを超える長い文字列の指定は、典型的にはサーバプロセスのクラッシュを引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=62ad26266">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed3dbbf4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5919e0005">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fe365693">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d267ffc4">&#167;</a></small></p>
<li>列のMCV（最頻値）統計情報をリストアするときに、誤った入力を検出するようになりました。(CVE-2026-6575)  (Michael Paquier) (18)</li>
<p>
プランナ統計情報をリストアする関数はMCV統計値の検証が不十分でした。そのため、誤った値を受け入れて、後のプランナのクラッシュを引き起こすことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=661095c40">&#167;</a></small></p>
<li>timeofday()およびpg_strfname()関数で、悪意のタイムゾーン名による攻撃を防ぐようになりました。(CVE-2026-6474)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
作りこまれたタイムゾーン設定により、pg_strfname()関数に続いて実行されるsnprintf()関数のテンプレート文字列引数に「%」シーケンスを渡すことができました。これにより潜在的にクラッシュやサーバメモリ暴露を引き起こすことができました。また、pg_strftime()で使われるサイズに限りのある出力バッファのオーバーフローを起こすこともありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba27389c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4197c880c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=24e0e3254">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=126a236ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a50ae8306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6e7a9ef3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a386d14fe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=79b7847c7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3fff3950">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c8226f52">&#167;</a></small></p>
<li>マルチ範囲型を作るときに、ユーザに指定されたスキーマに対するCREATE権限があることの確認が漏れており、修正されました。(CVE-2026-6472)  (Jelte Fennema-Nio) (18)(17)(16)(15)(14)</li>
<p>
マルチ範囲型は元となる範囲型と異なるスキーマに作成することが可能ですが、このときマルチ範囲型のスキーマについて権限確認が行なわれませんでした。
</p>
<pre>
（誤動作例：scm_without_privilegeに権限がなくともエラーなく実行できてしまう）
db1=> CREATE TYPE scm_with_privilege.typ1_range AS RANGE
        (SUBTYPE=int4, MULTIRANGE_TYPE_NAME=scm_without_privilege.typ1_multi)
CREATE TYPE
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a44780f41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c27ba08cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d92852d62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=08c397b02">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bca85e9f">&#167;</a></small></p>
<li>認証のコードでタイミング攻撃に安全な文字列比較を使うようになりました。(CVE-2026-6478)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これからはパスワードやハッシュ文字列などの検査で、memcpy()やstrcmp()に替えてtimingsafe_bcmp()を使用します。所要時間のデータ依存性がどれほど攻撃に有用であるかは不明ですが、安全のため置き換える判断がされました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d93ef4131">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4e7435b3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e27235e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c95275f18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4608619a1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e34acfda">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1604939b2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dcfcb92f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b282280e9">&#167;</a></small></p>
<li>libpqのPQfn()を安全でない関数であるとドキュメント記載し、libpq実装内部でも使用しないようになりました。(CVE-2026-6477)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
非整数の結果型に対してPQfn()には出力バッファのサイズが渡されないため、サーバから返ったデータのサイズが一致するか検査できません。悪意のサーバはこれを使ってクライアントのメモリを上書きできました。PQfn()は既に「廃れたもの」とドキュメント記載されていました。
</p>
<p>
PQfn()をresult_is_int引数に0を指定して使用しているクライアントで危険性を回避するには、使用するAPIを変更するほかありません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=be0136440">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d88c7be15">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=614474996">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a1f83ea">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ac723b2b">&#167;</a></small></p>
<li>pg_basebackupとpg_rewindでパス横断が防止されました。(CVE-2026-6475)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これらのアプリケーションでは入力から読み込まれた出力ファイルのパスを検証できていませんでした。そのため、（PostgreSQLサーバ側の）入力を与える悪意の者がこれらのアプリケーションにクライアント側の任意のファイル上書きをさせることができました。これからは絶対パスと親ディレクトリ参照を含むパスを拒絶するようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a67c540a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8f881e188">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6778af13e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0c83fe8e4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=498829dca">&#167;</a></small></p>
<li>contrib/intarrayのquery_int型とcontrib/ltreeのltxtquery型の中で、フィールドのオーバーフローが防止されました。(CVE-2026-6473)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
16ビットのフィールドがオーバーフローを起こすか検査されていなかったため、これらのデータ型として多すぎる要素数を持つ値を与えると、問合せを実行したバックエンドプロセスのクラッシュが発生する可能性がありました。これから、そのような値は ERROR になります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c5790ec4f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4d04cc48">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c1069c35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=84a9f2641">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=074702525">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05e73b5c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b429d887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6f0bff33d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fc1fd3d97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=479823a71">&#167;</a></small></p>
<li>contrib/ltreeのlquery型の長すぎる値を防止するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
64Kアイテムを超える値は内部オーバーフローを起こしていて、潜在的にスタック破壊や誤った問い合わせ結果をもたらすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f019f341">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8c3426110">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b6b26fde">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c2fa5b6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b545c3787">&#167;</a></small></p>
<li>contrib/spiでSQLインジェクションとバッファオーバーランが防止されました。(CVE-2026-6637)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
check_foreign_key()関数はキー値のクォート付加が不十分で、また、クエリの組み立てに固定長のバッファを使用していました。このモジュールはサンプルコードにすぎないとはいえ、このような危険な誤りは含まれるべきでないため、修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ebda7da9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dc64ef28">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=710995782">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8053235ab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b026df29">&#167;</a></small></p>
<li>照合順序を適用できる型では、等価条件が一意性を示すものと仮定するのでなく、非決定論的照合順序を検査するようになりました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
多数のプランナ最適化がこれを仮定していました。例えば、一意性インデックスがx列にあれば、ある1行だけが「WHERE x = 'abc'」を満たします。しかしながら、WHERE句にインデックスと異なる照合順序が付加されている場合、この結論は一般には安全ではありません。両方の照合順序が決定論的であるときは文字列の等価がビット単位での等価を意味するため安全ですが、非決定論的な場合にはそのように動作しないため、WHERE句またはインデックスに非決定論的な照合順序が適用される場合に、一意性を前提とした最適化で、誤った問い合わせ結果が返される可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8fd5e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1132af22c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c214b58b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b62f514ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d0e73bb18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=748fe9e60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=872c9fae7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8395446df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bed3ffbf9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13226050e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5a24cef08">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bab4f7fa5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=172034f6e">&#167;</a></small></p>
<li>結合の削除時に、RestrictInfo構造体内のリレーション参照が完全に削除されない問題が修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
この見落としにより、「ERROR:  FULL JOIN is only supported with merge-joinable or hash-joinable join conditions」といった予期しないプランナでのエラーを引き起こすことが判明しています。また、他のケースでも有効なプランが考慮されない原因となっていた可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fb94605">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=766d40286">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d509be4ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53cb4ec1d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=798dabe83">&#167;</a></small></p>
<li>プランナによるパーティションキー列とサブクエリ出力の照合が改善されました。  (Richard Guo) (18)</li>
<p>
オペランドをパーティションキーと比較する前に、オペランドから何もしない（no-opの）PlaceHolderVarsを削除します。この変更により、以前はパーティションのスキャンが不要であると認識できなかった場合でも、パーティションプルーニングが正常に実行されるようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e8b2bef7">&#167;</a></small></p>
<li>「ON t1.boolcol」のようなboolean型の列のみで構成される結合句を処理できるように、自己結合の削除処理が修正されました。  (Andrei Lepikhov, Tender Wang, Alexander Korotkov) (18)</li>
<p>
以前は、このような場合に「ERROR:  no relation entry for relid ...」が発生していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8b9d6497">&#167;</a></small></p>
<li>仮想生成列を持つテーブルで、カーソルを使った更新「UPDATE/DELETE ... WHERE CURRENT OF」が正常に動作するように修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
これまでは、実行時に「ERROR:  WHERE CURRENT OF on a view is not implemented」が発生する動作が報告されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3d03fbd5">&#167;</a></small></p>
<li>「INSERT ... ON CONFLICT」内のEXCLUDED列参照における仮想生成列の展開が修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
不具合によって、予期せぬエラー「ERROR:  unexpected virtual generated column reference」が発生したり、誤った問い合わせ結果が発生したりしていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cf38dedf6">&#167;</a></small></p>
<li>ルールアクションおよびルール条件における「NEW」生成列の誤った処理が修正されました。  (Richard Guo, Dean Rasheed) (18)(17)(16)(15)(14)</li>
<p>
以前は、このような列参照がINSERTの場合にNULLとなり、UPDATEの場合にはOLDと同じ値になっていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t21 (id int PRIMARY KEY, a int,
        gen int GENERATED ALWAYS AS (a * 2) VIRTUAL);
db1=# CREATE TABLE t21log (op text, old_gen int, new_gen int);
db1=# CREATE RULE r21i AS ON INSERT TO t21 DO ALSO
        INSERT INTO t21log VALUES ('I', NULL, NEW.gen);
db1=# CREATE RULE r21u AS ON UPDATE TO t21 DO ALSO
        INSERT INTO t21log VALUES ('U', OLD.gen, NEW.gen);
db1=# INSERT INTO t21 (id, a) VALUES (1, 10);
db1=# UPDATE t21 SET a = 100 WHERE id = 1;
db1=# SELECT * FROM t21log;
 op | old_gen | new_gen
----+---------+---------
 I  |  *null* |  *null*
 U  |      20 |      20
(2 rows)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e528bfe97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d6208939">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07b257189">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7062bd577">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e39951be">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  indexes on virtual generated columns are not supported」が修正されました。  (Robert Haas) (18)</li>
<p>
式インデックスの作成時に、このエラーが誤って報告されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cceb9c18a">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  generated columns are not supported in COPY FROM WHERE conditions」が修正されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
「COPY t23 FROM stdin WHERE tableoid > 0」のように「COPY FROM」のWHERE句でシステム列を使用すると、このエラーが誤って報告されることがありました。アサート有効のビルドでのアサート失敗も報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=11c2c0cc8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=681a91d29">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c7a6bbe6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07e833e3c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=40fa04e7c">&#167;</a></small></p>
<li>MERGEがrepeatable readモードまたはserializableモードで同時更新されるタプルを検出した場合に、「ERROR:  could not serialize access due to concurrent update」を出して直列化失敗を正しく報告するようになりました。  (Tender Wang) (18)(17)(16)(15)</li>
<p>
以前は、このような場合により低い分離レベルの場合と同じ動作をしていて、トランザクションがアボートせず、不整合が見過ごされる可能性がありました。
</p>
<pre>
（誤動作例 - 字下げは並行する別セッションをあらわします）
db1=# CREATE TABLE t24 (id int, v int);
db1=# INSERT INTO t24 VALUES (1,0);

　　　db1=# BEGIN;
　　　db1=*# UPDATE t24 SET v = v + 100;

db1=# START TRANSACTION ISOLATION LEVEL serializable;
db1=*# MERGE INTO t24 t USING (VALUES (1, 100)) AS s (id, inc) ON t.id = s.id
         WHEN MATCHED THEN UPDATE SET v = t.v + s.inc
         WHEN NOT MATCHED THEN INSERT (id, v) VALUES (s.id, s.inc);

　　　db1=*# COMMIT;

db1=*# SELECT * FROM t24;
 id |  v
----+-----
  1 |   0
  1 | 200
(2 rows)

db1=*# COMMIT;
db1=# SELECT * FROM t24;
 id |  v
----+-----
  1 | 200
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13fab378e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dcac93c0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f6e63d4b8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bfaae6fb">&#167;</a></small></p>
<li>ソーステーブルから列が削除されている場合における「CREATE TABLE ... LIKE ... INCLUDING STATISTICS」の動作が修正されました。  (Julien Tachoires) (18)(17)(16)(15)(14)</li>
<p>
LIKEで指定するテーブルが作成後にALTER TABLEで列の削除を行なっているときに該当します。このような場合、拡張統計オブジェクトが正しくコピーされなかったり、コマンドが下記のような予期せぬエラーを返す可能性がありました。
</p>
<pre>
ERROR:  cache lookup failed for attribute 3 of relation 17106
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=149c875fc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0104b447">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7bb519635">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=76d15a7ee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=81b56b47c">&#167;</a></small></p>
<li>「ALTER INDEX ... ATTACH PARTITION」で、そうすべき場合には親インデックスを有効とマークできるようになりました。  (Sami Imseih) (18)(17)(16)(15)(14)</li>
<p>
すべてのリーフインデックスが有効であるにもかかわらず、パーティションインデックスが無効とマークされたままになる特殊なケースが存在していました。本修正は、ユーザが手動でカタログを更新することなく、このような状況を補正する仕組みを提供します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5713ac248">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=becf6d269">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=313355d68">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0859000d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d809b16d1">&#167;</a></small></p>
<li>「ALTER TABLE ... SET NOT NULL」がシステムテーブル（カタログ）の変更が完了した後にのみオブジェクトアクセスフック関数を呼び出すように修正されました。  (Artur Zakirov) (18)</li>
<p>
これはpg_constraintにNOT NULL制約用の行が追加された際につくられた不具合の修正です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6958077ce">&#167;</a></small></p>
<li>ALTER FOREIGN DATA WRAPPERが、ラッパーオブジェクトのハンドラ関数への依存関係を削除しないように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
以前は、VALIDATORパラメータの指定により、誤ってハンドラ関数への依存関係が削除されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c11f87b1a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=876fa84a2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a19edb66a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3a35ab1d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6f369e58">&#167;</a></small></p>
<li>外部キー制約のトリガーに対する遅延実行指定が効かなくなる問題が修正されました。  (Yasuo Honda) (18)</li>
<p>
以前は「DEFERRABLE INITIALLY DEFERRED」として定義された外部キー制約が、「NOT ENFORCED」ステータスに設定された後、再び「ENFORCED」に戻されると「NOT DEFERRABLE」として動作していました。
</p>
<p>
この問題が発生している外部キー制約がある場合は、本マイナーバージョンアップ適用後に「ALTER TABLE ..」で再度「NOT ENFORCED」に設定してから「ENFORCED」に戻すことで修復できます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5db5e3396">&#167;</a></small></p>
<li>ドメインを許可するように「WITHOUT OVERLAPS」が修正されました。  (Jian He) (18)</li>
<p>
「UNIQUE/PRIMARY KEY ... WITHOUT OVERLAPS」で指定する重複しない列は範囲型またはマルチ範囲型である必要がありますが、そのような型を元にしたドメインも許可する必要がありました。これまでは以下のようなエラーになっていました。
</p>
<pre>
（修正前の動作例）
db1=# CREATE DOMAIN dtsrange AS tsrange CHECK (lower(VALUE) IS NOT NULL);
db1=# CREATE TABLE t30 (id int, tsr dtsrange, PRIMARY KEY (id, tsr WITHOUT OVERLAPS));
ERROR:  column "tsr" in WITHOUT OVERLAPS is not a range or multirange type
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49f3cb453">&#167;</a></small></p>
<li>マルチ範囲型を介して、複合型が再帰的に自身をメンバーとして含むことが禁止されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
これまでも ALTER TABLE ADD COLUMN や ALTER TYPE ADD ATTRIBUTE の際に、ドメイン、配列、複合型、範囲型を通して自身をメンバーとして含まないことを検査していましたが、マルチ範囲型を経由する場合について見落とされていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TYPE typ31 AS (a int, b int);
db1=# CREATE TYPE typ31range AS RANGE (subtype = typ31);
db1=# ALTER TYPE typ31 ADD ATTRIBUTE c typ31range;
→ 修正前は実行できてしまう
　 修正後は「ERROR:  composite type two_ints cannot be made a member of itself」
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ff8f27d6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54343f6f9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=06e304524">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34ebeb15c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7a1d5fc6">&#167;</a></small></p>
<li>Datumのイメージ比較が符号拡張の違いに依存しないよう修正されました。  (David Rowley) (18)(17)(16)(15)(14)</li>
<p>
従来は「ERROR:  could not find memoization table entry」といったエラーメッセージが出力されたり、誤った問合せ結果を招いていました。
</p>
<p>
DatumとはSQLの各種データ型の値を格納する汎用的な内部実装上のデータ型です。そのイメージ比較とはビット単位での一致を調べる処理です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49315de0c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d29808e35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1bd90c887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b2e091f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ce5c310b">&#167;</a></small></p>
<li>ハッシュ化された「IN」/「NOT IN」において、非STRICTな等価演算子を使用した場合の処理が修正されました。  (Chengpeng Yan) (18)(17)(16)(15)(14)</li>
<p>
これまでは、NULLを空文字と等価とする独自の等価演算子を拡張機能で定義している場合などで、NULLを含む検索時にクラッシュや誤った問い合わせ結果を引き起こす可能性がありました。
</p>
<p>
なお、組み込みデータ型の等価演算子はすべてSTRICTであるため、この問題は拡張機能で定義されたデータ型でのみ発生します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=035c520db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fda3e12f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a2a0060d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=622f8b530">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=109de35b7">&#167;</a></small></p>
<li>to_char()における、ロケール依存の長すぎる数値記号を切り詰められるようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
to_char()は、パターン内の各フォーマットコードごとに8バイトを見込んで出力バッファを確保しています。ロケールで指定された通貨記号、桁区切り記号、小数点記号、または符号記号が8バイトを超える場合、理論上はバッファオーバーランが発生する可能性がありました。
</p>
<p>
現実にはそのようなロケールは存在せず、さらに権限のない攻撃者がPostgresSQLサーバ配下に悪意あるロケール定義をインストールするのは現実的ではありませんが、安全性を考慮し、記号が長すぎる場合にはそれを検出し、必要に応じて切り詰めるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=580e7be88">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c97a28618">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1e60f148">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f60d25986">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a6f08c0c">&#167;</a></small></p>
<li>「Ispell」辞書用のaffixファイル解析時に発生し得るバッファオーバーランが防止されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
破損した、あるいは悪意あるaffixファイルによってサーバプロセスがクラッシュする可能性があったため、入力値検証を強化し、異常に長いデータを安全に扱えるよう修正されました。
</p>
<p>
なお、テキスト検索設定ファイルは信頼できるものと想定されているため、これはセキュリティ問題の扱いにはなりませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00c6e0819">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea5f0d176">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42383d32d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b196d3db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=21a24d709">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2bfeb3bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5426dbf8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17f72e037">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f852c9093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cae0c2bd">&#167;</a></small></p>
<li>ウィンドウ集約におけるフレーム開始位置および終了位置の計算で、整数オーバーフローが発生しないよう保護されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
ユーザ指定のオフセット値が非常に大きい場合（INT64_MAXに近い値）、予期せぬエラーや誤った問い合わせ結果を引き起こす可能性がありました。開発用ビルドではアサート失敗も報告されました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t36 (i int);
db1=# INSERT INTO t36 SELECT generate_series(1, 1000) g;
db1=# SELECT sum(i) 
        OVER (ROWS BETWEEN 0x7fffffffffffffff FOLLOWING AND 1 FOLLOWING), i FROM t36;
ERROR:  window frame head moved backward
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc7dff26">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f8736f8bc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0fe032e6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4da71fc37">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=305cf0df0">&#167;</a></small></p>
<li>array_agg_array_combine()が、配列のNULLビットマップを正しく結合するよう修正されました。  (Dmytro Astapov) (18)(17)(16)</li>
<p>
array_agg_array_combine() はarray_agg()集約関数の内部実装で使われている関数です。
</p>
<p>
この不具合により、NULLと非NULL要素が混在する入力において、並列化されたarray_agg(anyarray)の計算が失敗し、誤った問い合わせ結果が生じるおそれがありました。このエラーは並列ワーカーの実行タイミングに依存するため、再現性の低い不具合として現れていました。
</p>
<pre>
（並列実行プランのときに誤動作が発生する可能性のある問い合わせ例）
db1=# CREATE TABLE t37 (id int, grpid int, c1 int, c2 int, c3 int);
db1=# INSERT INTO t37 SELECT g, g % 10000, 
        nullif(g % 3, 0), nullif(g % 5, 0), nullif(g % 7, 0)
        FROM generate_series(1, 100000) g;
db1=# SELECT grpid, array_agg(ARRAY[c1, c2, c3]) FROM t37 GROUP BY grpid;
　→ この結果が並列実行プランを無効化したときと一致しない場合がある
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14bf2c39e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d6c9432cb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bb959269e">&#167;</a></small></p>
<li>sync_file_range()がエラーコード「EINTR」を返した場合に再試行するようになりました。  (DaeMyung Kang) (18)(17)(16)</li>
<p>
これまでは、割り込み発生時のリトライ処理が正しく機能していませんでした。sync_file_range()はファイル書き込みをストレージに反映させるときに使われるLinuxのシステムコールです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cb307251">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5499be332">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b35c10a4">&#167;</a></small></p>
<li>共有システムテーブル（カタログ）に対するpg_stat_reset_single_table_counters()の誤動作が修正されました。  (Chao Li) (18)(17)(16)(15)</li>
<p>
これまでは、共有システムテーブルに対して同関数を実行すると、現在のデータベースの「stat_reset_timestamp」（pg_stat_databaseシステムビューのstats_reset列で報告される値）が誤って更新されていました。
</p>
<pre>
（誤動作例）
db1=# SELECT now(), pg_stat_reset_single_table_counters('pg_authid'::regclass);
              now              | pg_stat_reset_single_table_counters
-------------------------------+-------------------------------------
 2026-05-22 13:07:49.624814+09 |
(1 row)

db1=# SELECT datname, stats_reset FROM pg_stat_database
        WHERE datname = current_database();
 datname |          stats_reset
---------+-------------------------------
 db1     | 2026-05-22 13:07:49.627562+09
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b081c5b07">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4fefb3e0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7cdcbd3e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6d3f0585">&#167;</a></small></p>
<li>並列applyワーカーがidle状態のときにアクティビティ統計を更新するようになりました。  (Zhijie Hou) (18)(17)(16)</li>
<p>
これまでは、直近に完了したトランザクションの統計情報が長時間報告されない場合があり、特にワークロードが軽い環境で顕著でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=44c8dc280">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=88d7fdcc9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d052f6c7d">&#167;</a></small></p>
<li>集合演算で配列長を推定中するときに、予期せぬエラー「ERROR:  no relation entry for relid 0」が発生することがあり、修正されました。  (Tender Wang) (18)(17)</li>
<p>
UNIONなどの集合演算で、元となる型の異なる配列型を型変換する場合に発生することがありました。
</p>
<pre>
（発生例）
db1=# SELECT null::int[] UNION ALL SELECT null::int[] UNION ALL SELECT null::bigint[];
ERROR:  no relation entry for relid 0
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13e20d1c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=93ed18720">&#167;</a></small></p>
<li>pglz_decompress()が破損した入力を受け取った場合にバッファの超過読み取りが発生することがあり、修正されました。  (Andrew Dunstan) (18)(17)(16)(15)(14)</li>
<p>
pglz_decompress()はpglz形式の圧縮データを展開する内部実装関数です。破損した圧縮データによって入力末尾を越えた読み取りが発生する可能性があり、ごくまれにクラッシュを引き起こすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3e436b1c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c05c3baf1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e630f65d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c88ad3a21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=de32a01e7">&#167;</a></small></p>
<li>インクリメンタルJSONパーサにおいて、入力バッファの境界をまたぐ数値トークンの処理が修正されました。  (Andrew Dunstan) (18)(17)</li>
<p>
JSON数値の文法に反する不正な形式の数値を受け入れてしまう可能性があり、その結果として後の処理でエラー（「ERROR:  invalid input syntax for type json」など）が発生することがありえました。デバッグ用ビルドではアサート失敗を引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e4955630">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2e373785e">&#167;</a></small></p>
<li>インクリメンタルバックアップのリストア時に、リレーションの可視性マップが肥大化することがあり、防止されました。  (Robert Haas) (18)(17)</li>
<p>
このリストア処理では、期待されるファイル長の計算が誤っていたため、可視性マップに多数のゼロブロックが追加される可能性がありました。これはデータ破損にはつながりませんが、大量のディスク領域を無用に消費する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9540c0e5d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=076bc57fa">&#167;</a></small></p>
<li>カタログキャッシュのテキスト列検索において、データベースのデフォルト照合順序ではなく、C照合順序が使用されるようになりました。  (Jeff Davis) (18)(17)</li>
<p>
これにより、データベースが特定できずデフォルト照合順序も決定できない特殊ケースでも、物理レプリケーションが開始できるようになります。pg_receivewalによるレプリケーション接続の開始時に「FATAL:  cannot read pg_class without having selected a database」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=03c4f243e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dda30dd3">&#167;</a></small></p>
<li>スタンバイサーバ昇格時に、応答待ちのまま停止したslotsyncワーカープロセスが昇格処理をブロックする問題が修正されました。  (Nisha Moond, Ajin Cherian) (18)(17)</li>
<p>
プライマリサーバからの応答を待ち続けていたワーカープロセスにより、昇格処理が不必要に長時間遅延することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=58c1188a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15910b1c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=acf49bfed">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=586f4266f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=94efd308b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4bed04d39">&#167;</a></small></p>
<li>アイドル状態のslotsyncワーカープロセスによる過剰なログ出力が修正されました。  (Zhijie Hou) (18)(17)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=540fe8fb5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=91741b7cb">&#167;</a></small></p>
<li>tuplestoreデータ構造で、エラー発生後に内部状態の不整合が生じないようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
通常は問題になりませんが、WITH HOLDカーソルのtuplestoreでは問題となる可能性がありました。PostgreSQL 15以前では、この問題により容易に再現可能なクラッシュが発生することがありました。PostgreSQL 16以降での影響は確認されていませんが、すべてのサポートバージョンで内部状態の整合性が保たれるよう修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=adb7873bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1f5b6a5e5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=59c139d53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=811f3263a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7cd23aad2">&#167;</a></small></p>
<li>pg_aiosシステムビューのpid列が、所有プロセスが存在しない場合に0ではなくNULLを示すようになりました。  (ChangAo Chen) (18)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=882bdcf9f">&#167;</a></small></p>
<li>pg_stat_replicationのlag列が実際より早い段階でNULLと報告されてしまう問題が修正されました。  (Shinya Kato) (18)(17)(16)(15)(14)</li>
<p>
特に論理レプリケーション環境で、レプリケーション処理中であるにもかかわらず、過度に早くNULLとなることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=98e96e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fdce5de55">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f42105001">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=246c296f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bf7ecf353">&#167;</a></small></p>
<li>並列Btreeインデックススキャンで使用される共有メモリの割り当て不足が修正されました。  (Siddharth Kothari) (18)</li>
<p>
稀なケースで、この共有メモリの割り当て不足によりサーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1e71970d2">&#167;</a></small></p>
<li>WAL出力無しのGiSTインデックスを使用する際に、稀に発生するフラッシュ失敗を回避するようになりました。  (Tomas Vondra) (18)(17)(16)(15)(14)</li>
<p>
WAL出力無しのGiSTインデックスにおいて、挿入ポイントを表す擬似LSNの選択が不適切であったため、誤って「ERROR: xlog flush request n/nnnn is not satisfied」が発生することがありました。（なお、ここでのWAL出力無しはUNLOGGEDテーブルを意味していません。）
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b3f63a1b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ef36bb35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4f4025eac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ce06b5740">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c0ffc725f">&#167;</a></small></p>
<li>変則的なサイズのセグメント使用時に、DSAページマップの必要サイズの過小評価が修正されました  (Paul Bunn) (18)(17)(16)(15)(14)</li>
<p>
この計算ミスにより、範囲外アクセスが発生し、サーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0f38604d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2543b9ea9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0af5e64e9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=46c93b705">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eb11d7a91">&#167;</a></small></p>
<li>共有メモリ内における最も古いマルチトランザクション配列のインデックス計算が修正されました。  (Yura Sokolov) (18)(17)</li>
<p>
PREPARED状態であるが、未コミットのトランザクションが保持する行ロックが他セッションから見えなくなるなど、可視性の不整合が発生する可能性がありました。また、max_connectionsが非常に小さい場合には、メモリ破壊が発生する可能性もありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0a50ef094">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dcd9c06a4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa3b328e6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=969576dab">&#167;</a></small></p>
<li>多数のEXPLAIN拡張オプションを登録した場合に発生する配列オーバーランが修正されました。  (Joel Jacobson) (18)</li>
<p>
この問題により、メモリ破損やサーバプロセスのクラッシュが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=730c98d03">&#167;</a></small></p>
<li>拡張データ型の式に対する拡張統計情報処理時にクラッシュが発生する可能性があり、修正されました。  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
データ型のtypanalyze関数が有効な統計情報を生成しない場合、NULLポインタ参照が発生する可能性がありました。PostgreSQL本体のtypanalyzeでは発生しませんが、拡張機能では発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=83671c0da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=530b6b02f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04745ba9c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f033abc6c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=038c7d4a3">&#167;</a></small></p>
<li>GROUP BY句で使用される結合エイリアス変数を正しく表示するよう修正されました。  (Tom Lane) (18)</li>
<p>
「SELECT ... t1 LEFT JOIN t2 USING (x) GROUP BY x」のようなクエリを含むビューにおいて、GROUP BY句のSQL文が内部からの逆解析時に誤って表示され、データベースのダンプ/リストアが失敗する可能性がありました。この問題は、「t1.x」と「t2.x」のデータ型が同一ではなく、「t1.x」側で暗黙的な型変換が必要だった場合にのみ発生しました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t1 (x integer, a numeric);
db1=# CREATE TABLE t2 (x bigint, b text);
db1=# CREATE VIEW test_view AS SELECT x::integer AS x FROM t1 LEFT JOIN t2 USING (x) GROUP BY x;
（18.3以前では、以下のように誤ったSQLへ逆解析される）
db1=# SELECT pg_get_viewdef('test_view'::regclass, true);
       pg_get_viewdef
-----------------------------
  SELECT t1.x::integer AS x +
    FROM t1                 +
      LEFT JOIN t2 USING (x)+
   GROUP BY (t1.x::bigint);
(1 row)

（この状態でダンプしリストアすると、以下のようなエラーが発生する）
$ pg_dump db1 > dump.sql
$ psql restore_test < dump.sql
ERROR:  column "t1.x" must appear in the GROUP BY clause or be used in an aggregate function
LINE 2:  SELECT (t1.x)::integer AS x
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2c1962a6">&#167;</a></small></p>
<li>ICUを使用した文字列処理における、軽微なメモリリークが修正されました。  (Jeff Davis) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4abf63c62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4761f2eee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4515c9b4">&#167;</a></small></p>
<li>startupプロセス失敗時に、他の子プロセスを適切にシャットダウンするよう修正されました。  (Ayush Tiwari) (18)(17)(16)(15)</li>
<p>
従来は「startupプロセス実行中は他のpostmaster子プロセスは存在しない」という古い前提に依存しており、postmasterの即時終了でも問題ないとされていました。残存した子プロセスも最終的にはpostmasterの終了を検知して自主的に終了しますが、より適切なシャットダウン手順が望まれていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affdb2dd5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e381843cf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d347f2cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23cebf672">&#167;</a></small></p>
<li>チェックポイントのWALリプレイ処理とマルチトランザクションID生成の間に存在する競合状態が修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
古いマイナーバージョンのプライマリからWALを追従するスタンバイサーバにおいて、「ERROR: could not access status of transaction」というエラーを伴うクラッシュおよび再起動ループが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0852643e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ca385032">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=77dff5d93">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5f412107">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e35e466f6">&#167;</a></small></p>
<li>walsenderプロセス終了時に無限待機状態となりうる不具合が修正されました。  (Anthonin Bonnefoy) (18)(17)(16)(15)(14)</li>
<p>
論理レプリケーションのパブリッシャ側のPostgreSQLを停止する際に、walsenderプロセスは未書き込みのWALがすべて書き出されるまで待機します。しかし、その書き出し要求が正しく行われていなかったため、状況によっては待機が終了せず、無限に停止処理が続く場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3eb2fecdb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bbbc0888b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=82935467a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42734f296">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3bf6f22ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=980498138">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ee536c89">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=da21ecf57">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa9f2e317">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f15471464">&#167;</a></small></p>
<li>リカバリ中にテーブルの空き領域マップ（FSM）の変更内容が確実に保持されるように修正されました。  (Alexey Makhmutov) (18)(17)(16)(15)(14)</li>
<p>
これまでは、WALリプレイ時にFSMの更新自体は行われていたものの、チェックサムが有効な場合に、FSMページのバッファがダーティページとして印付けされていませんでした。そのため、変更内容がディスクへ書き出されず、反映されない場合がありました。
</p>
<p>
スタンバイサーバでは、この問題により時間の経過とともにFSMの内容が実際のテーブル状態と大きく乖離することがありました。FSMはあくまでヒント情報として使用されるだけですが、スタンバイサーバがアクティブに昇格した際、FSMの大部分が更新によって修復されるまでの間、大きく性能低下するおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ac3b97db3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cf010f21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54537de35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ca259b084">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f5d1038d9">&#167;</a></small></p>
<li>ecpgプリプロセッサで、接続が確立されていない状態で一部の関数を呼び出した場合に、クラッシュする不具合が修正されました。  (Shruthi Gowda) (18)(17)(16)(15)(14)</li>
<p>
ECPGdeallocate_all()、ECPGprepared_statement()、ECPGget_desc()、および、ecpg_freeStmtCacheEntry()でセグメンテーション違反が生じました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e2688ea5e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5d67549d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7e4c871f4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6916f4410">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0e3f9732">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでtarファイルの読み込み処理が強化されました。  (Tom Lane) (18)</li>
<p>
これまでは、入力ファイルがtarファイルであるかどうか、さらにPostgreSQLが処理可能なtar形式かどうかの検証が十分に行われていませんでした。そのため、PostgreSQLではない他のtar作成ツールによって生成されたtarファイルを入力とした場合、想定外の形式であることで問題が生じる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=698eae7db">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでバックアップの展開およびtar読み込み処理における各種バグが修正されました。  (Andrew Dunstan, Tom Lane, Chao Li) (18)(17)(16)(15)</li>
<p>
具体的には、tarファイルのパディング領域の扱いの不備、特殊ケースにおいてLZ4圧縮データが破損する可能性、一部の異常系エラー条件の検査漏れ、圧縮／展開のエラー発生後に終了しないことによる連鎖的なエラー報告、メモリリークの発生、ということが含まれます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5095f3f4a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1298a4c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1590723f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d3bb7841b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a01a592b1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b198b093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cce939c71">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9a42888a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=78dc9a808">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2640c5ba7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=415cc943f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4548e8746">&#167;</a></small></p>
<li>pg_dumpにおいて、NOT NULL制約のNO INHERIT属性が正しく保持されるように修正されました。  (Jian He) (18)</li>
<p>
これまでは、一部のケースでNO INHERIT句がダンプ出力されませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3c8b63d7">&#167;</a></small></p>
<li>pg_dumpallにおいて、OIDが存在しないロールが権限を与えた場合にもGRANT文を出力するように、修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
これまでは、このような状態のGRANTがダンプ対象から除外される場合がありました。今回の修正で、PostgreSQL v16より前と同様に、GRANTED BY句を付けずにGRANT文を出力するよう変更されました。
</p>
<p>
なお、権限を与えたロールのOIDが存在しないことに対する警告メッセージは引き続き出力されますが、警告を出すのはソースサーバがPostgreSQL v16以降の場合のみに限定されます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b09158cc7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cd783d20">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4649c50a">&#167;</a></small></p>
<li>pg_upgradeにおいて、古いソースサーバへ接続する際に正しいプロトコルバージョンを使用するように修正されました。  (Jacob Champion) (18)(17)(16)(15)(14)</li>
<p>
これまでは、2018年2月のマイナーリリース（10.2、9.6.7、9.5.11、9.4.16、9.3.21）よりも古いPostgreSQLサーバからアップグレードを行う場合に、不具合が発生する可能性がありました。
</p>
<p>
「FATAL: unsupported frontend protocol ...」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1b2773179">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ad7fc3f1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a38ed212f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e726620d2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c47744ede">&#167;</a></small></p>
<li>contrib/basic_archiveが、起動時にアーカイブディレクトリが存在しなくてもよくなりました。  (Nathan Bossart) (18)(17)(16)(15)</li>
<p>
これまでは、起動時点でbasic_archive.archive_directoryに指定したディレクトリが存在しない場合、その設定自体が無効なものとして扱われました。今回の修正により、起動時点でディレクトリが存在しなくても、後からディレクトリが作成された場合にアーカイブ処理を継続できるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bde9ad315">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f510577de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=28c2b7896">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8fc45ac5d">&#167;</a></small></p>
<li>contrib/ltreeが、大文字小文字のフォールドで文字列のバイト長が変化する場合に対応できるように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
これまでは、大文字小文字を区別しないマッチングを指定するlqueryパターンにおいて、本来一致するはずのラベルにマッチしない場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b3c2a3d38">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53a57cae1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d1bd9a7dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed2c7ef7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b993167f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=058710d41">&#167;</a></small></p>
<li>contrib/pg_overexplainにおいて、RANGE_TABLEオプションの出力構造の不具合が修正されました。  (Satyanarayana Narlapuram) (18)</li>
<p>
これまでは、JSON、YAML、XML形式の出力で一部のフィールドが誤った位置に出力される場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6723d462d">&#167;</a></small></p>
<li>contrib/pg_stat_statementsで、pgss_query_texts.statファイルの解析中にエラーが発生した時に、メモリリークが発生しないように修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=25b02320e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=351e59f34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=52edaf9d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=92cf11171">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a6d03067f">&#167;</a></small></p>
<li>contrib/postgres_fdwにおいて、利用不能になった接続を早期に解放してしまうことでクラッシュすることがあり、修正されました。  (Etsuro Fujita) (18)(17)(16)(15)(14)</li>
<p>
オープン中のカーソルなどのデータ構造に接続オブジェクトへの参照が残っている可能性があるため、トランザクション終了まで接続オブジェクトのクローズを遅延させるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c318777da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af8f9248f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1352651c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34c18a225">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd5b36ab1">&#167;</a></small></p>
<li>タイムゾーンデータファイルがtzdata release 2026bに更新されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
ブリティッシュコロンビア州（America/Vancouver）は、2026年11月から通年でUTC-07を使用するようになります（事実上の恒久的な夏時間）。同地域のタイムゾーン略称がそれ以降「MST」になると想定しています。実際には別の略称へ変更される可能性もありますが、現時点では未確定です。
</p>
<p>
モルドバの歴史的変更も行なわれました。モルドバは2022年以降、EUの夏時間切替時刻に従っていたことが反映されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a431b6d6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c0eab6f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0465c999e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e28fc73d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affd929c9">&#167;</a></small></p>
</ol>

<div>
<a href="https://www.sraoss.co.jp/prod_serv/support/pgsql-mainte/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-pgsql" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、PostgreSQL/Pgpool-II のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PostgreSQL 17.10 に関する技術情報</title>
		<link>https://www.sraoss.co.jp/tech-blog/pgsql/17-10/</link>
		
		<dc:creator><![CDATA[データベース技術グループ]]></dc:creator>
		<pubDate>Thu, 28 May 2026 03:11:19 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[PostgreSQL 17]]></category>
		<category><![CDATA[PostgreSQL 17.10]]></category>
		<category><![CDATA[PostgreSQL 17.9]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20718</guid>

					<description><![CDATA[このリリースは 17.9 からの修正リリース（2026年 5月 14日リリース）です。 17.X からのアップデートではダンプ、リストアは不要です。 しかしながら、17.6 よりも前のバージョンからアップデートする場合に ...]]></description>
										<content:encoded><![CDATA[<p>このリリースは 17.9 からの修正リリース（2026年 5月 14日リリース）です。<br />
17.X からのアップデートではダンプ、リストアは不要です。<br />
しかしながら、17.6 よりも前のバージョンからアップデートする場合には、<a href="/tech-blog/pgsql/17-6/" rel="noopener">17.6のリリース情報</a>も参照してください。</p>
<p><span id="more-20718"></span></p>
<h3>PostgreSQL 17.9 から 17.10 への変更点</h3>
<p>18.4, 17.10, 16.14, 15.18, 14.23 の各バージョンが同時にリリースされており、本ページでは共通の記載としています。各修正項目が適用されるバージョン系列番号を項目末尾に括弧書きで記載しています。</p>
<ol>
<li>スタートアップパケットの処理での際限ない再帰を防止するようになりました。(CVE-2026-6479)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
悪意のクライアントが、拒絶されたSSLとGSSの暗号化の要求を交互に何度も繰り返すことで、接続先バックエンドをクラッシュさせることができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f7a191f53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32a4ce55c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=66cf26b9e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fb66d302">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b4e66739">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6dffaeb8e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e6ef863">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fda4df6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14a4a7040">&#167;</a></small></p>
<li>メモリ割り当て計算における整数オーバーフローがいくつか修正されました。(CVE-2026-6473)  (Tom Lane, Nathan Bossart, Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
様々な場所のメモリ割り当てサイズの計算で整数オーバーフローの可能性について不注意がありました。整数オーバーフローにより小さすぎるメモリ確保が行なわれて、その結果、範囲外に書き込みが行なわれて、サーバプロセスのクラッシュを引き起こす可能性がありました。また、おそらく任意コード実行も可能と考えられます。
</p>
<p>
全てとは言えませんが、この危険があるのは概ね 32ビットビルドだけです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1c30458a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fe2720c45">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cfb610eaa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc5cea76">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=61a9b4b6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01e568b8c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01b5ef7df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aff71f87b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4032c9d98">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e31ef0720">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3cee4dc4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a2bea41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4f089c79">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fdb0907e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39bc8f2ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd8af778d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=26dd3cac2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c25973124">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fb0bc321d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bcfd848e7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=55328e3a9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=87357a606">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32c525eb6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=137013f60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=986753361">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=67dd6243d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c41f5534">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e24fb3247">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e49e9590d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e81995de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d1489d50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ebcfa7867">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f20b84081">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b11c3eadf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e0eba196">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7fb9f765">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e243e67">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=924b3e943">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d75b1dc96">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37842f3dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e5babf754">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=47dae5e74">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d106295b6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a423a256">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fbec9e50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e909812d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e42598a41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dc6c85ff4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c9447b8bd">&#167;</a></small></p>
<li>pg_createsubscriberコマンドで、オプションで指定されたサブスクリプション名を適切にクォートするようになりました。(CVE-2026-6476)  (Nathan Bossart) (18)(17)</li>
<p>
（ありそうにないことですが）信頼できない者がサブスクリプション名を任意に指定しているとして、サブスクリプション名にクォート無しのSQLコマンドを含めることで、SQLインジェクションが可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e44c370">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d7de7fa84">&#167;</a></small></p>
<li>論理レプリケーションのオリジンの検査で、オブジェクト名を適切にクォートするようになりました。(CVE-2026-6638)  (Pavel Kohout) (18)(17)(16)</li>
<p>
「ALTER SUBSCRIPTION ... REFRESH PUBLICATION」はクォートを付加することなくSQLコマンドにスキーマ名とリレーション名を埋め込んでいて、これによりSQLインジェクションでパブリッシャ側で任意のSQL実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb35d7306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0f59b658">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=248a433cd">&#167;</a></small></p>
<li>ts_headline()関数で長すぎるオプションをエラーを出して拒絶するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
オプション「StartSel」「StopSel」「FragmentDelimiter」の文字列長は32Kbが上限でしたが、入力の検査が行われていませんでした。これを超える長い文字列の指定は、典型的にはサーバプロセスのクラッシュを引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=62ad26266">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed3dbbf4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5919e0005">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fe365693">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d267ffc4">&#167;</a></small></p>
<li>列のMCV（最頻値）統計情報をリストアするときに、誤った入力を検出するようになりました。(CVE-2026-6575)  (Michael Paquier) (18)</li>
<p>
プランナ統計情報をリストアする関数はMCV統計値の検証が不十分でした。そのため、誤った値を受け入れて、後のプランナのクラッシュを引き起こすことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=661095c40">&#167;</a></small></p>
<li>timeofday()およびpg_strfname()関数で、悪意のタイムゾーン名による攻撃を防ぐようになりました。(CVE-2026-6474)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
作りこまれたタイムゾーン設定により、pg_strfname()関数に続いて実行されるsnprintf()関数のテンプレート文字列引数に「%」シーケンスを渡すことができました。これにより潜在的にクラッシュやサーバメモリ暴露を引き起こすことができました。また、pg_strftime()で使われるサイズに限りのある出力バッファのオーバーフローを起こすこともありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba27389c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4197c880c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=24e0e3254">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=126a236ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a50ae8306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6e7a9ef3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a386d14fe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=79b7847c7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3fff3950">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c8226f52">&#167;</a></small></p>
<li>マルチ範囲型を作るときに、ユーザに指定されたスキーマに対するCREATE権限があることの確認が漏れており、修正されました。(CVE-2026-6472)  (Jelte Fennema-Nio) (18)(17)(16)(15)(14)</li>
<p>
マルチ範囲型は元となる範囲型と異なるスキーマに作成することが可能ですが、このときマルチ範囲型のスキーマについて権限確認が行なわれませんでした。
</p>
<pre>
（誤動作例：scm_without_privilegeに権限がなくともエラーなく実行できてしまう）
db1=> CREATE TYPE scm_with_privilege.typ1_range AS RANGE
        (SUBTYPE=int4, MULTIRANGE_TYPE_NAME=scm_without_privilege.typ1_multi)
CREATE TYPE
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a44780f41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c27ba08cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d92852d62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=08c397b02">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bca85e9f">&#167;</a></small></p>
<li>認証のコードでタイミング攻撃に安全な文字列比較を使うようになりました。(CVE-2026-6478)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これからはパスワードやハッシュ文字列などの検査で、memcpy()やstrcmp()に替えてtimingsafe_bcmp()を使用します。所要時間のデータ依存性がどれほど攻撃に有用であるかは不明ですが、安全のため置き換える判断がされました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d93ef4131">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4e7435b3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e27235e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c95275f18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4608619a1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e34acfda">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1604939b2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dcfcb92f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b282280e9">&#167;</a></small></p>
<li>libpqのPQfn()を安全でない関数であるとドキュメント記載し、libpq実装内部でも使用しないようになりました。(CVE-2026-6477)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
非整数の結果型に対してPQfn()には出力バッファのサイズが渡されないため、サーバから返ったデータのサイズが一致するか検査できません。悪意のサーバはこれを使ってクライアントのメモリを上書きできました。PQfn()は既に「廃れたもの」とドキュメント記載されていました。
</p>
<p>
PQfn()をresult_is_int引数に0を指定して使用しているクライアントで危険性を回避するには、使用するAPIを変更するほかありません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=be0136440">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d88c7be15">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=614474996">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a1f83ea">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ac723b2b">&#167;</a></small></p>
<li>pg_basebackupとpg_rewindでパス横断が防止されました。(CVE-2026-6475)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これらのアプリケーションでは入力から読み込まれた出力ファイルのパスを検証できていませんでした。そのため、（PostgreSQLサーバ側の）入力を与える悪意の者がこれらのアプリケーションにクライアント側の任意のファイル上書きをさせることができました。これからは絶対パスと親ディレクトリ参照を含むパスを拒絶するようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a67c540a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8f881e188">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6778af13e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0c83fe8e4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=498829dca">&#167;</a></small></p>
<li>contrib/intarrayのquery_int型とcontrib/ltreeのltxtquery型の中で、フィールドのオーバーフローが防止されました。(CVE-2026-6473)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
16ビットのフィールドがオーバーフローを起こすか検査されていなかったため、これらのデータ型として多すぎる要素数を持つ値を与えると、問合せを実行したバックエンドプロセスのクラッシュが発生する可能性がありました。これから、そのような値は ERROR になります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c5790ec4f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4d04cc48">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c1069c35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=84a9f2641">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=074702525">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05e73b5c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b429d887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6f0bff33d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fc1fd3d97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=479823a71">&#167;</a></small></p>
<li>contrib/ltreeのlquery型の長すぎる値を防止するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
64Kアイテムを超える値は内部オーバーフローを起こしていて、潜在的にスタック破壊や誤った問い合わせ結果をもたらすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f019f341">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8c3426110">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b6b26fde">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c2fa5b6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b545c3787">&#167;</a></small></p>
<li>contrib/spiでSQLインジェクションとバッファオーバーランが防止されました。(CVE-2026-6637)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
check_foreign_key()関数はキー値のクォート付加が不十分で、また、クエリの組み立てに固定長のバッファを使用していました。このモジュールはサンプルコードにすぎないとはいえ、このような危険な誤りは含まれるべきでないため、修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ebda7da9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dc64ef28">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=710995782">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8053235ab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b026df29">&#167;</a></small></p>
<li>照合順序を適用できる型では、等価条件が一意性を示すものと仮定するのでなく、非決定論的照合順序を検査するようになりました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
多数のプランナ最適化がこれを仮定していました。例えば、一意性インデックスがx列にあれば、ある1行だけが「WHERE x = 'abc'」を満たします。しかしながら、WHERE句にインデックスと異なる照合順序が付加されている場合、この結論は一般には安全ではありません。両方の照合順序が決定論的であるときは文字列の等価がビット単位での等価を意味するため安全ですが、非決定論的な場合にはそのように動作しないため、WHERE句またはインデックスに非決定論的な照合順序が適用される場合に、一意性を前提とした最適化で、誤った問い合わせ結果が返される可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8fd5e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1132af22c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c214b58b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b62f514ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d0e73bb18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=748fe9e60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=872c9fae7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8395446df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bed3ffbf9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13226050e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5a24cef08">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bab4f7fa5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=172034f6e">&#167;</a></small></p>
<li>結合の削除時に、RestrictInfo構造体内のリレーション参照が完全に削除されない問題が修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
この見落としにより、「ERROR:  FULL JOIN is only supported with merge-joinable or hash-joinable join conditions」といった予期しないプランナでのエラーを引き起こすことが判明しています。また、他のケースでも有効なプランが考慮されない原因となっていた可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fb94605">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=766d40286">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d509be4ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53cb4ec1d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=798dabe83">&#167;</a></small></p>
<li>プランナによるパーティションキー列とサブクエリ出力の照合が改善されました。  (Richard Guo) (18)</li>
<p>
オペランドをパーティションキーと比較する前に、オペランドから何もしない（no-opの）PlaceHolderVarsを削除します。この変更により、以前はパーティションのスキャンが不要であると認識できなかった場合でも、パーティションプルーニングが正常に実行されるようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e8b2bef7">&#167;</a></small></p>
<li>「ON t1.boolcol」のようなboolean型の列のみで構成される結合句を処理できるように、自己結合の削除処理が修正されました。  (Andrei Lepikhov, Tender Wang, Alexander Korotkov) (18)</li>
<p>
以前は、このような場合に「ERROR:  no relation entry for relid ...」が発生していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8b9d6497">&#167;</a></small></p>
<li>仮想生成列を持つテーブルで、カーソルを使った更新「UPDATE/DELETE ... WHERE CURRENT OF」が正常に動作するように修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
これまでは、実行時に「ERROR:  WHERE CURRENT OF on a view is not implemented」が発生する動作が報告されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3d03fbd5">&#167;</a></small></p>
<li>「INSERT ... ON CONFLICT」内のEXCLUDED列参照における仮想生成列の展開が修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
不具合によって、予期せぬエラー「ERROR:  unexpected virtual generated column reference」が発生したり、誤った問い合わせ結果が発生したりしていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cf38dedf6">&#167;</a></small></p>
<li>ルールアクションおよびルール条件における「NEW」生成列の誤った処理が修正されました。  (Richard Guo, Dean Rasheed) (18)(17)(16)(15)(14)</li>
<p>
以前は、このような列参照がINSERTの場合にNULLとなり、UPDATEの場合にはOLDと同じ値になっていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t21 (id int PRIMARY KEY, a int,
        gen int GENERATED ALWAYS AS (a * 2) VIRTUAL);
db1=# CREATE TABLE t21log (op text, old_gen int, new_gen int);
db1=# CREATE RULE r21i AS ON INSERT TO t21 DO ALSO
        INSERT INTO t21log VALUES ('I', NULL, NEW.gen);
db1=# CREATE RULE r21u AS ON UPDATE TO t21 DO ALSO
        INSERT INTO t21log VALUES ('U', OLD.gen, NEW.gen);
db1=# INSERT INTO t21 (id, a) VALUES (1, 10);
db1=# UPDATE t21 SET a = 100 WHERE id = 1;
db1=# SELECT * FROM t21log;
 op | old_gen | new_gen
----+---------+---------
 I  |  *null* |  *null*
 U  |      20 |      20
(2 rows)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e528bfe97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d6208939">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07b257189">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7062bd577">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e39951be">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  indexes on virtual generated columns are not supported」が修正されました。  (Robert Haas) (18)</li>
<p>
式インデックスの作成時に、このエラーが誤って報告されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cceb9c18a">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  generated columns are not supported in COPY FROM WHERE conditions」が修正されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
「COPY t23 FROM stdin WHERE tableoid > 0」のように「COPY FROM」のWHERE句でシステム列を使用すると、このエラーが誤って報告されることがありました。アサート有効のビルドでのアサート失敗も報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=11c2c0cc8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=681a91d29">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c7a6bbe6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07e833e3c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=40fa04e7c">&#167;</a></small></p>
<li>MERGEがrepeatable readモードまたはserializableモードで同時更新されるタプルを検出した場合に、「ERROR:  could not serialize access due to concurrent update」を出して直列化失敗を正しく報告するようになりました。  (Tender Wang) (18)(17)(16)(15)</li>
<p>
以前は、このような場合により低い分離レベルの場合と同じ動作をしていて、トランザクションがアボートせず、不整合が見過ごされる可能性がありました。
</p>
<pre>
（誤動作例 - 字下げは並行する別セッションをあらわします）
db1=# CREATE TABLE t24 (id int, v int);
db1=# INSERT INTO t24 VALUES (1,0);

　　　db1=# BEGIN;
　　　db1=*# UPDATE t24 SET v = v + 100;

db1=# START TRANSACTION ISOLATION LEVEL serializable;
db1=*# MERGE INTO t24 t USING (VALUES (1, 100)) AS s (id, inc) ON t.id = s.id
         WHEN MATCHED THEN UPDATE SET v = t.v + s.inc
         WHEN NOT MATCHED THEN INSERT (id, v) VALUES (s.id, s.inc);

　　　db1=*# COMMIT;

db1=*# SELECT * FROM t24;
 id |  v
----+-----
  1 |   0
  1 | 200
(2 rows)

db1=*# COMMIT;
db1=# SELECT * FROM t24;
 id |  v
----+-----
  1 | 200
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13fab378e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dcac93c0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f6e63d4b8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bfaae6fb">&#167;</a></small></p>
<li>ソーステーブルから列が削除されている場合における「CREATE TABLE ... LIKE ... INCLUDING STATISTICS」の動作が修正されました。  (Julien Tachoires) (18)(17)(16)(15)(14)</li>
<p>
LIKEで指定するテーブルが作成後にALTER TABLEで列の削除を行なっているときに該当します。このような場合、拡張統計オブジェクトが正しくコピーされなかったり、コマンドが下記のような予期せぬエラーを返す可能性がありました。
</p>
<pre>
ERROR:  cache lookup failed for attribute 3 of relation 17106
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=149c875fc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0104b447">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7bb519635">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=76d15a7ee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=81b56b47c">&#167;</a></small></p>
<li>「ALTER INDEX ... ATTACH PARTITION」で、そうすべき場合には親インデックスを有効とマークできるようになりました。  (Sami Imseih) (18)(17)(16)(15)(14)</li>
<p>
すべてのリーフインデックスが有効であるにもかかわらず、パーティションインデックスが無効とマークされたままになる特殊なケースが存在していました。本修正は、ユーザが手動でカタログを更新することなく、このような状況を補正する仕組みを提供します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5713ac248">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=becf6d269">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=313355d68">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0859000d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d809b16d1">&#167;</a></small></p>
<li>「ALTER TABLE ... SET NOT NULL」がシステムテーブル（カタログ）の変更が完了した後にのみオブジェクトアクセスフック関数を呼び出すように修正されました。  (Artur Zakirov) (18)</li>
<p>
これはpg_constraintにNOT NULL制約用の行が追加された際につくられた不具合の修正です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6958077ce">&#167;</a></small></p>
<li>ALTER FOREIGN DATA WRAPPERが、ラッパーオブジェクトのハンドラ関数への依存関係を削除しないように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
以前は、VALIDATORパラメータの指定により、誤ってハンドラ関数への依存関係が削除されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c11f87b1a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=876fa84a2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a19edb66a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3a35ab1d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6f369e58">&#167;</a></small></p>
<li>外部キー制約のトリガーに対する遅延実行指定が効かなくなる問題が修正されました。  (Yasuo Honda) (18)</li>
<p>
以前は「DEFERRABLE INITIALLY DEFERRED」として定義された外部キー制約が、「NOT ENFORCED」ステータスに設定された後、再び「ENFORCED」に戻されると「NOT DEFERRABLE」として動作していました。
</p>
<p>
この問題が発生している外部キー制約がある場合は、本マイナーバージョンアップ適用後に「ALTER TABLE ..」で再度「NOT ENFORCED」に設定してから「ENFORCED」に戻すことで修復できます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5db5e3396">&#167;</a></small></p>
<li>ドメインを許可するように「WITHOUT OVERLAPS」が修正されました。  (Jian He) (18)</li>
<p>
「UNIQUE/PRIMARY KEY ... WITHOUT OVERLAPS」で指定する重複しない列は範囲型またはマルチ範囲型である必要がありますが、そのような型を元にしたドメインも許可する必要がありました。これまでは以下のようなエラーになっていました。
</p>
<pre>
（修正前の動作例）
db1=# CREATE DOMAIN dtsrange AS tsrange CHECK (lower(VALUE) IS NOT NULL);
db1=# CREATE TABLE t30 (id int, tsr dtsrange, PRIMARY KEY (id, tsr WITHOUT OVERLAPS));
ERROR:  column "tsr" in WITHOUT OVERLAPS is not a range or multirange type
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49f3cb453">&#167;</a></small></p>
<li>マルチ範囲型を介して、複合型が再帰的に自身をメンバーとして含むことが禁止されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
これまでも ALTER TABLE ADD COLUMN や ALTER TYPE ADD ATTRIBUTE の際に、ドメイン、配列、複合型、範囲型を通して自身をメンバーとして含まないことを検査していましたが、マルチ範囲型を経由する場合について見落とされていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TYPE typ31 AS (a int, b int);
db1=# CREATE TYPE typ31range AS RANGE (subtype = typ31);
db1=# ALTER TYPE typ31 ADD ATTRIBUTE c typ31range;
→ 修正前は実行できてしまう
　 修正後は「ERROR:  composite type two_ints cannot be made a member of itself」
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ff8f27d6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54343f6f9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=06e304524">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34ebeb15c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7a1d5fc6">&#167;</a></small></p>
<li>Datumのイメージ比較が符号拡張の違いに依存しないよう修正されました。  (David Rowley) (18)(17)(16)(15)(14)</li>
<p>
従来は「ERROR:  could not find memoization table entry」といったエラーメッセージが出力されたり、誤った問合せ結果を招いていました。
</p>
<p>
DatumとはSQLの各種データ型の値を格納する汎用的な内部実装上のデータ型です。そのイメージ比較とはビット単位での一致を調べる処理です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49315de0c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d29808e35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1bd90c887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b2e091f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ce5c310b">&#167;</a></small></p>
<li>ハッシュ化された「IN」/「NOT IN」において、非STRICTな等価演算子を使用した場合の処理が修正されました。  (Chengpeng Yan) (18)(17)(16)(15)(14)</li>
<p>
これまでは、NULLを空文字と等価とする独自の等価演算子を拡張機能で定義している場合などで、NULLを含む検索時にクラッシュや誤った問い合わせ結果を引き起こす可能性がありました。
</p>
<p>
なお、組み込みデータ型の等価演算子はすべてSTRICTであるため、この問題は拡張機能で定義されたデータ型でのみ発生します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=035c520db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fda3e12f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a2a0060d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=622f8b530">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=109de35b7">&#167;</a></small></p>
<li>to_char()における、ロケール依存の長すぎる数値記号を切り詰められるようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
to_char()は、パターン内の各フォーマットコードごとに8バイトを見込んで出力バッファを確保しています。ロケールで指定された通貨記号、桁区切り記号、小数点記号、または符号記号が8バイトを超える場合、理論上はバッファオーバーランが発生する可能性がありました。
</p>
<p>
現実にはそのようなロケールは存在せず、さらに権限のない攻撃者がPostgresSQLサーバ配下に悪意あるロケール定義をインストールするのは現実的ではありませんが、安全性を考慮し、記号が長すぎる場合にはそれを検出し、必要に応じて切り詰めるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=580e7be88">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c97a28618">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1e60f148">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f60d25986">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a6f08c0c">&#167;</a></small></p>
<li>「Ispell」辞書用のaffixファイル解析時に発生し得るバッファオーバーランが防止されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
破損した、あるいは悪意あるaffixファイルによってサーバプロセスがクラッシュする可能性があったため、入力値検証を強化し、異常に長いデータを安全に扱えるよう修正されました。
</p>
<p>
なお、テキスト検索設定ファイルは信頼できるものと想定されているため、これはセキュリティ問題の扱いにはなりませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00c6e0819">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea5f0d176">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42383d32d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b196d3db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=21a24d709">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2bfeb3bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5426dbf8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17f72e037">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f852c9093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cae0c2bd">&#167;</a></small></p>
<li>ウィンドウ集約におけるフレーム開始位置および終了位置の計算で、整数オーバーフローが発生しないよう保護されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
ユーザ指定のオフセット値が非常に大きい場合（INT64_MAXに近い値）、予期せぬエラーや誤った問い合わせ結果を引き起こす可能性がありました。開発用ビルドではアサート失敗も報告されました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t36 (i int);
db1=# INSERT INTO t36 SELECT generate_series(1, 1000) g;
db1=# SELECT sum(i) 
        OVER (ROWS BETWEEN 0x7fffffffffffffff FOLLOWING AND 1 FOLLOWING), i FROM t36;
ERROR:  window frame head moved backward
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc7dff26">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f8736f8bc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0fe032e6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4da71fc37">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=305cf0df0">&#167;</a></small></p>
<li>array_agg_array_combine()が、配列のNULLビットマップを正しく結合するよう修正されました。  (Dmytro Astapov) (18)(17)(16)</li>
<p>
array_agg_array_combine() はarray_agg()集約関数の内部実装で使われている関数です。
</p>
<p>
この不具合により、NULLと非NULL要素が混在する入力において、並列化されたarray_agg(anyarray)の計算が失敗し、誤った問い合わせ結果が生じるおそれがありました。このエラーは並列ワーカーの実行タイミングに依存するため、再現性の低い不具合として現れていました。
</p>
<pre>
（並列実行プランのときに誤動作が発生する可能性のある問い合わせ例）
db1=# CREATE TABLE t37 (id int, grpid int, c1 int, c2 int, c3 int);
db1=# INSERT INTO t37 SELECT g, g % 10000, 
        nullif(g % 3, 0), nullif(g % 5, 0), nullif(g % 7, 0)
        FROM generate_series(1, 100000) g;
db1=# SELECT grpid, array_agg(ARRAY[c1, c2, c3]) FROM t37 GROUP BY grpid;
　→ この結果が並列実行プランを無効化したときと一致しない場合がある
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14bf2c39e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d6c9432cb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bb959269e">&#167;</a></small></p>
<li>sync_file_range()がエラーコード「EINTR」を返した場合に再試行するようになりました。  (DaeMyung Kang) (18)(17)(16)</li>
<p>
これまでは、割り込み発生時のリトライ処理が正しく機能していませんでした。sync_file_range()はファイル書き込みをストレージに反映させるときに使われるLinuxのシステムコールです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cb307251">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5499be332">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b35c10a4">&#167;</a></small></p>
<li>共有システムテーブル（カタログ）に対するpg_stat_reset_single_table_counters()の誤動作が修正されました。  (Chao Li) (18)(17)(16)(15)</li>
<p>
これまでは、共有システムテーブルに対して同関数を実行すると、現在のデータベースの「stat_reset_timestamp」（pg_stat_databaseシステムビューのstats_reset列で報告される値）が誤って更新されていました。
</p>
<pre>
（誤動作例）
db1=# SELECT now(), pg_stat_reset_single_table_counters('pg_authid'::regclass);
              now              | pg_stat_reset_single_table_counters
-------------------------------+-------------------------------------
 2026-05-22 13:07:49.624814+09 |
(1 row)

db1=# SELECT datname, stats_reset FROM pg_stat_database
        WHERE datname = current_database();
 datname |          stats_reset
---------+-------------------------------
 db1     | 2026-05-22 13:07:49.627562+09
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b081c5b07">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4fefb3e0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7cdcbd3e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6d3f0585">&#167;</a></small></p>
<li>並列applyワーカーがidle状態のときにアクティビティ統計を更新するようになりました。  (Zhijie Hou) (18)(17)(16)</li>
<p>
これまでは、直近に完了したトランザクションの統計情報が長時間報告されない場合があり、特にワークロードが軽い環境で顕著でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=44c8dc280">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=88d7fdcc9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d052f6c7d">&#167;</a></small></p>
<li>集合演算で配列長を推定中するときに、予期せぬエラー「ERROR:  no relation entry for relid 0」が発生することがあり、修正されました。  (Tender Wang) (18)(17)</li>
<p>
UNIONなどの集合演算で、元となる型の異なる配列型を型変換する場合に発生することがありました。
</p>
<pre>
（発生例）
db1=# SELECT null::int[] UNION ALL SELECT null::int[] UNION ALL SELECT null::bigint[];
ERROR:  no relation entry for relid 0
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13e20d1c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=93ed18720">&#167;</a></small></p>
<li>pglz_decompress()が破損した入力を受け取った場合にバッファの超過読み取りが発生することがあり、修正されました。  (Andrew Dunstan) (18)(17)(16)(15)(14)</li>
<p>
pglz_decompress()はpglz形式の圧縮データを展開する内部実装関数です。破損した圧縮データによって入力末尾を越えた読み取りが発生する可能性があり、ごくまれにクラッシュを引き起こすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3e436b1c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c05c3baf1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e630f65d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c88ad3a21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=de32a01e7">&#167;</a></small></p>
<li>インクリメンタルJSONパーサにおいて、入力バッファの境界をまたぐ数値トークンの処理が修正されました。  (Andrew Dunstan) (18)(17)</li>
<p>
JSON数値の文法に反する不正な形式の数値を受け入れてしまう可能性があり、その結果として後の処理でエラー（「ERROR:  invalid input syntax for type json」など）が発生することがありえました。デバッグ用ビルドではアサート失敗を引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e4955630">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2e373785e">&#167;</a></small></p>
<li>インクリメンタルバックアップのリストア時に、リレーションの可視性マップが肥大化することがあり、防止されました。  (Robert Haas) (18)(17)</li>
<p>
このリストア処理では、期待されるファイル長の計算が誤っていたため、可視性マップに多数のゼロブロックが追加される可能性がありました。これはデータ破損にはつながりませんが、大量のディスク領域を無用に消費する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9540c0e5d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=076bc57fa">&#167;</a></small></p>
<li>カタログキャッシュのテキスト列検索において、データベースのデフォルト照合順序ではなく、C照合順序が使用されるようになりました。  (Jeff Davis) (18)(17)</li>
<p>
これにより、データベースが特定できずデフォルト照合順序も決定できない特殊ケースでも、物理レプリケーションが開始できるようになります。pg_receivewalによるレプリケーション接続の開始時に「FATAL:  cannot read pg_class without having selected a database」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=03c4f243e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dda30dd3">&#167;</a></small></p>
<li>スタンバイサーバ昇格時に、応答待ちのまま停止したslotsyncワーカープロセスが昇格処理をブロックする問題が修正されました。  (Nisha Moond, Ajin Cherian) (18)(17)</li>
<p>
プライマリサーバからの応答を待ち続けていたワーカープロセスにより、昇格処理が不必要に長時間遅延することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=58c1188a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15910b1c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=acf49bfed">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=586f4266f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=94efd308b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4bed04d39">&#167;</a></small></p>
<li>アイドル状態のslotsyncワーカープロセスによる過剰なログ出力が修正されました。  (Zhijie Hou) (18)(17)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=540fe8fb5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=91741b7cb">&#167;</a></small></p>
<li>tuplestoreデータ構造で、エラー発生後に内部状態の不整合が生じないようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
通常は問題になりませんが、WITH HOLDカーソルのtuplestoreでは問題となる可能性がありました。PostgreSQL 15以前では、この問題により容易に再現可能なクラッシュが発生することがありました。PostgreSQL 16以降での影響は確認されていませんが、すべてのサポートバージョンで内部状態の整合性が保たれるよう修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=adb7873bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1f5b6a5e5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=59c139d53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=811f3263a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7cd23aad2">&#167;</a></small></p>
<li>pg_aiosシステムビューのpid列が、所有プロセスが存在しない場合に0ではなくNULLを示すようになりました。  (ChangAo Chen) (18)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=882bdcf9f">&#167;</a></small></p>
<li>pg_stat_replicationのlag列が実際より早い段階でNULLと報告されてしまう問題が修正されました。  (Shinya Kato) (18)(17)(16)(15)(14)</li>
<p>
特に論理レプリケーション環境で、レプリケーション処理中であるにもかかわらず、過度に早くNULLとなることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=98e96e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fdce5de55">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f42105001">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=246c296f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bf7ecf353">&#167;</a></small></p>
<li>並列Btreeインデックススキャンで使用される共有メモリの割り当て不足が修正されました。  (Siddharth Kothari) (18)</li>
<p>
稀なケースで、この共有メモリの割り当て不足によりサーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1e71970d2">&#167;</a></small></p>
<li>WAL出力無しのGiSTインデックスを使用する際に、稀に発生するフラッシュ失敗を回避するようになりました。  (Tomas Vondra) (18)(17)(16)(15)(14)</li>
<p>
WAL出力無しのGiSTインデックスにおいて、挿入ポイントを表す擬似LSNの選択が不適切であったため、誤って「ERROR: xlog flush request n/nnnn is not satisfied」が発生することがありました。（なお、ここでのWAL出力無しはUNLOGGEDテーブルを意味していません。）
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b3f63a1b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ef36bb35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4f4025eac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ce06b5740">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c0ffc725f">&#167;</a></small></p>
<li>変則的なサイズのセグメント使用時に、DSAページマップの必要サイズの過小評価が修正されました  (Paul Bunn) (18)(17)(16)(15)(14)</li>
<p>
この計算ミスにより、範囲外アクセスが発生し、サーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0f38604d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2543b9ea9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0af5e64e9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=46c93b705">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eb11d7a91">&#167;</a></small></p>
<li>共有メモリ内における最も古いマルチトランザクション配列のインデックス計算が修正されました。  (Yura Sokolov) (18)(17)</li>
<p>
PREPARED状態であるが、未コミットのトランザクションが保持する行ロックが他セッションから見えなくなるなど、可視性の不整合が発生する可能性がありました。また、max_connectionsが非常に小さい場合には、メモリ破壊が発生する可能性もありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0a50ef094">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dcd9c06a4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa3b328e6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=969576dab">&#167;</a></small></p>
<li>多数のEXPLAIN拡張オプションを登録した場合に発生する配列オーバーランが修正されました。  (Joel Jacobson) (18)</li>
<p>
この問題により、メモリ破損やサーバプロセスのクラッシュが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=730c98d03">&#167;</a></small></p>
<li>拡張データ型の式に対する拡張統計情報処理時にクラッシュが発生する可能性があり、修正されました。  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
データ型のtypanalyze関数が有効な統計情報を生成しない場合、NULLポインタ参照が発生する可能性がありました。PostgreSQL本体のtypanalyzeでは発生しませんが、拡張機能では発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=83671c0da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=530b6b02f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04745ba9c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f033abc6c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=038c7d4a3">&#167;</a></small></p>
<li>GROUP BY句で使用される結合エイリアス変数を正しく表示するよう修正されました。  (Tom Lane) (18)</li>
<p>
「SELECT ... t1 LEFT JOIN t2 USING (x) GROUP BY x」のようなクエリを含むビューにおいて、GROUP BY句のSQL文が内部からの逆解析時に誤って表示され、データベースのダンプ/リストアが失敗する可能性がありました。この問題は、「t1.x」と「t2.x」のデータ型が同一ではなく、「t1.x」側で暗黙的な型変換が必要だった場合にのみ発生しました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t1 (x integer, a numeric);
db1=# CREATE TABLE t2 (x bigint, b text);
db1=# CREATE VIEW test_view AS SELECT x::integer AS x FROM t1 LEFT JOIN t2 USING (x) GROUP BY x;
（18.3以前では、以下のように誤ったSQLへ逆解析される）
db1=# SELECT pg_get_viewdef('test_view'::regclass, true);
       pg_get_viewdef
-----------------------------
  SELECT t1.x::integer AS x +
    FROM t1                 +
      LEFT JOIN t2 USING (x)+
   GROUP BY (t1.x::bigint);
(1 row)

（この状態でダンプしリストアすると、以下のようなエラーが発生する）
$ pg_dump db1 > dump.sql
$ psql restore_test < dump.sql
ERROR:  column "t1.x" must appear in the GROUP BY clause or be used in an aggregate function
LINE 2:  SELECT (t1.x)::integer AS x
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2c1962a6">&#167;</a></small></p>
<li>ICUを使用した文字列処理における、軽微なメモリリークが修正されました。  (Jeff Davis) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4abf63c62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4761f2eee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4515c9b4">&#167;</a></small></p>
<li>startupプロセス失敗時に、他の子プロセスを適切にシャットダウンするよう修正されました。  (Ayush Tiwari) (18)(17)(16)(15)</li>
<p>
従来は「startupプロセス実行中は他のpostmaster子プロセスは存在しない」という古い前提に依存しており、postmasterの即時終了でも問題ないとされていました。残存した子プロセスも最終的にはpostmasterの終了を検知して自主的に終了しますが、より適切なシャットダウン手順が望まれていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affdb2dd5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e381843cf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d347f2cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23cebf672">&#167;</a></small></p>
<li>チェックポイントのWALリプレイ処理とマルチトランザクションID生成の間に存在する競合状態が修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
古いマイナーバージョンのプライマリからWALを追従するスタンバイサーバにおいて、「ERROR: could not access status of transaction」というエラーを伴うクラッシュおよび再起動ループが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0852643e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ca385032">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=77dff5d93">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5f412107">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e35e466f6">&#167;</a></small></p>
<li>walsenderプロセス終了時に無限待機状態となりうる不具合が修正されました。  (Anthonin Bonnefoy) (18)(17)(16)(15)(14)</li>
<p>
論理レプリケーションのパブリッシャ側のPostgreSQLを停止する際に、walsenderプロセスは未書き込みのWALがすべて書き出されるまで待機します。しかし、その書き出し要求が正しく行われていなかったため、状況によっては待機が終了せず、無限に停止処理が続く場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3eb2fecdb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bbbc0888b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=82935467a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42734f296">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3bf6f22ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=980498138">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ee536c89">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=da21ecf57">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa9f2e317">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f15471464">&#167;</a></small></p>
<li>リカバリ中にテーブルの空き領域マップ（FSM）の変更内容が確実に保持されるように修正されました。  (Alexey Makhmutov) (18)(17)(16)(15)(14)</li>
<p>
これまでは、WALリプレイ時にFSMの更新自体は行われていたものの、チェックサムが有効な場合に、FSMページのバッファがダーティページとして印付けされていませんでした。そのため、変更内容がディスクへ書き出されず、反映されない場合がありました。
</p>
<p>
スタンバイサーバでは、この問題により時間の経過とともにFSMの内容が実際のテーブル状態と大きく乖離することがありました。FSMはあくまでヒント情報として使用されるだけですが、スタンバイサーバがアクティブに昇格した際、FSMの大部分が更新によって修復されるまでの間、大きく性能低下するおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ac3b97db3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cf010f21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54537de35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ca259b084">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f5d1038d9">&#167;</a></small></p>
<li>ecpgプリプロセッサで、接続が確立されていない状態で一部の関数を呼び出した場合に、クラッシュする不具合が修正されました。  (Shruthi Gowda) (18)(17)(16)(15)(14)</li>
<p>
ECPGdeallocate_all()、ECPGprepared_statement()、ECPGget_desc()、および、ecpg_freeStmtCacheEntry()でセグメンテーション違反が生じました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e2688ea5e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5d67549d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7e4c871f4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6916f4410">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0e3f9732">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでtarファイルの読み込み処理が強化されました。  (Tom Lane) (18)</li>
<p>
これまでは、入力ファイルがtarファイルであるかどうか、さらにPostgreSQLが処理可能なtar形式かどうかの検証が十分に行われていませんでした。そのため、PostgreSQLではない他のtar作成ツールによって生成されたtarファイルを入力とした場合、想定外の形式であることで問題が生じる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=698eae7db">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでバックアップの展開およびtar読み込み処理における各種バグが修正されました。  (Andrew Dunstan, Tom Lane, Chao Li) (18)(17)(16)(15)</li>
<p>
具体的には、tarファイルのパディング領域の扱いの不備、特殊ケースにおいてLZ4圧縮データが破損する可能性、一部の異常系エラー条件の検査漏れ、圧縮／展開のエラー発生後に終了しないことによる連鎖的なエラー報告、メモリリークの発生、ということが含まれます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5095f3f4a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1298a4c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1590723f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d3bb7841b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a01a592b1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b198b093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cce939c71">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9a42888a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=78dc9a808">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2640c5ba7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=415cc943f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4548e8746">&#167;</a></small></p>
<li>pg_dumpにおいて、NOT NULL制約のNO INHERIT属性が正しく保持されるように修正されました。  (Jian He) (18)</li>
<p>
これまでは、一部のケースでNO INHERIT句がダンプ出力されませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3c8b63d7">&#167;</a></small></p>
<li>pg_dumpallにおいて、OIDが存在しないロールが権限を与えた場合にもGRANT文を出力するように、修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
これまでは、このような状態のGRANTがダンプ対象から除外される場合がありました。今回の修正で、PostgreSQL v16より前と同様に、GRANTED BY句を付けずにGRANT文を出力するよう変更されました。
</p>
<p>
なお、権限を与えたロールのOIDが存在しないことに対する警告メッセージは引き続き出力されますが、警告を出すのはソースサーバがPostgreSQL v16以降の場合のみに限定されます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b09158cc7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cd783d20">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4649c50a">&#167;</a></small></p>
<li>pg_upgradeにおいて、古いソースサーバへ接続する際に正しいプロトコルバージョンを使用するように修正されました。  (Jacob Champion) (18)(17)(16)(15)(14)</li>
<p>
これまでは、2018年2月のマイナーリリース（10.2、9.6.7、9.5.11、9.4.16、9.3.21）よりも古いPostgreSQLサーバからアップグレードを行う場合に、不具合が発生する可能性がありました。
</p>
<p>
「FATAL: unsupported frontend protocol ...」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1b2773179">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ad7fc3f1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a38ed212f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e726620d2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c47744ede">&#167;</a></small></p>
<li>contrib/basic_archiveが、起動時にアーカイブディレクトリが存在しなくてもよくなりました。  (Nathan Bossart) (18)(17)(16)(15)</li>
<p>
これまでは、起動時点でbasic_archive.archive_directoryに指定したディレクトリが存在しない場合、その設定自体が無効なものとして扱われました。今回の修正により、起動時点でディレクトリが存在しなくても、後からディレクトリが作成された場合にアーカイブ処理を継続できるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bde9ad315">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f510577de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=28c2b7896">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8fc45ac5d">&#167;</a></small></p>
<li>contrib/ltreeが、大文字小文字のフォールドで文字列のバイト長が変化する場合に対応できるように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
これまでは、大文字小文字を区別しないマッチングを指定するlqueryパターンにおいて、本来一致するはずのラベルにマッチしない場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b3c2a3d38">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53a57cae1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d1bd9a7dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed2c7ef7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b993167f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=058710d41">&#167;</a></small></p>
<li>contrib/pg_overexplainにおいて、RANGE_TABLEオプションの出力構造の不具合が修正されました。  (Satyanarayana Narlapuram) (18)</li>
<p>
これまでは、JSON、YAML、XML形式の出力で一部のフィールドが誤った位置に出力される場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6723d462d">&#167;</a></small></p>
<li>contrib/pg_stat_statementsで、pgss_query_texts.statファイルの解析中にエラーが発生した時に、メモリリークが発生しないように修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=25b02320e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=351e59f34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=52edaf9d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=92cf11171">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a6d03067f">&#167;</a></small></p>
<li>contrib/postgres_fdwにおいて、利用不能になった接続を早期に解放してしまうことでクラッシュすることがあり、修正されました。  (Etsuro Fujita) (18)(17)(16)(15)(14)</li>
<p>
オープン中のカーソルなどのデータ構造に接続オブジェクトへの参照が残っている可能性があるため、トランザクション終了まで接続オブジェクトのクローズを遅延させるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c318777da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af8f9248f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1352651c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34c18a225">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd5b36ab1">&#167;</a></small></p>
<li>タイムゾーンデータファイルがtzdata release 2026bに更新されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
ブリティッシュコロンビア州（America/Vancouver）は、2026年11月から通年でUTC-07を使用するようになります（事実上の恒久的な夏時間）。同地域のタイムゾーン略称がそれ以降「MST」になると想定しています。実際には別の略称へ変更される可能性もありますが、現時点では未確定です。
</p>
<p>
モルドバの歴史的変更も行なわれました。モルドバは2022年以降、EUの夏時間切替時刻に従っていたことが反映されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a431b6d6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c0eab6f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0465c999e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e28fc73d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affd929c9">&#167;</a></small></p>
</ol>

<div>
<a href="https://www.sraoss.co.jp/prod_serv/support/pgsql-mainte/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-pgsql" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、PostgreSQL/Pgpool-II のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PostgreSQL 16.14 に関する技術情報</title>
		<link>https://www.sraoss.co.jp/tech-blog/pgsql/16-14/</link>
		
		<dc:creator><![CDATA[データベース技術グループ]]></dc:creator>
		<pubDate>Thu, 28 May 2026 03:10:59 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[PostgreSQL 16]]></category>
		<category><![CDATA[PostgreSQL 16.13]]></category>
		<category><![CDATA[PostgreSQL 16.14]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20720</guid>

					<description><![CDATA[このリリースは 16.13 からの修正リリース（2026年 5月 14日リリース）です。 16.X からのアップデートではダンプ、リストアは不要です。 しかしながら、16.10 よりも前のバージョンからアップデートする場 ...]]></description>
										<content:encoded><![CDATA[<p>このリリースは 16.13 からの修正リリース（2026年 5月 14日リリース）です。<br />
16.X からのアップデートではダンプ、リストアは不要です。<br />
しかしながら、16.10 よりも前のバージョンからアップデートする場合には、<a href="/tech-blog/pgsql/16-10/" rel="noopener">16.10のリリース情報</a>も参照してください。</p>
<p><span id="more-20720"></span></p>
<h3>PostgreSQL 16.13 から 16.14 への変更点</h3>
<p>18.4, 17.10, 16.14, 15.18, 14.23 の各バージョンが同時にリリースされており、本ページでは共通の記載としています。各修正項目が適用されるバージョン系列番号を項目末尾に括弧書きで記載しています。</p>
<ol>
<li>スタートアップパケットの処理での際限ない再帰を防止するようになりました。(CVE-2026-6479)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
悪意のクライアントが、拒絶されたSSLとGSSの暗号化の要求を交互に何度も繰り返すことで、接続先バックエンドをクラッシュさせることができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f7a191f53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32a4ce55c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=66cf26b9e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fb66d302">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b4e66739">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6dffaeb8e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e6ef863">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fda4df6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14a4a7040">&#167;</a></small></p>
<li>メモリ割り当て計算における整数オーバーフローがいくつか修正されました。(CVE-2026-6473)  (Tom Lane, Nathan Bossart, Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
様々な場所のメモリ割り当てサイズの計算で整数オーバーフローの可能性について不注意がありました。整数オーバーフローにより小さすぎるメモリ確保が行なわれて、その結果、範囲外に書き込みが行なわれて、サーバプロセスのクラッシュを引き起こす可能性がありました。また、おそらく任意コード実行も可能と考えられます。
</p>
<p>
全てとは言えませんが、この危険があるのは概ね 32ビットビルドだけです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1c30458a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fe2720c45">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cfb610eaa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc5cea76">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=61a9b4b6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01e568b8c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01b5ef7df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aff71f87b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4032c9d98">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e31ef0720">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3cee4dc4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a2bea41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4f089c79">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fdb0907e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39bc8f2ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd8af778d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=26dd3cac2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c25973124">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fb0bc321d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bcfd848e7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=55328e3a9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=87357a606">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32c525eb6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=137013f60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=986753361">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=67dd6243d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c41f5534">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e24fb3247">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e49e9590d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e81995de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d1489d50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ebcfa7867">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f20b84081">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b11c3eadf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e0eba196">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7fb9f765">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e243e67">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=924b3e943">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d75b1dc96">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37842f3dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e5babf754">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=47dae5e74">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d106295b6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a423a256">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fbec9e50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e909812d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e42598a41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dc6c85ff4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c9447b8bd">&#167;</a></small></p>
<li>pg_createsubscriberコマンドで、オプションで指定されたサブスクリプション名を適切にクォートするようになりました。(CVE-2026-6476)  (Nathan Bossart) (18)(17)</li>
<p>
（ありそうにないことですが）信頼できない者がサブスクリプション名を任意に指定しているとして、サブスクリプション名にクォート無しのSQLコマンドを含めることで、SQLインジェクションが可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e44c370">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d7de7fa84">&#167;</a></small></p>
<li>論理レプリケーションのオリジンの検査で、オブジェクト名を適切にクォートするようになりました。(CVE-2026-6638)  (Pavel Kohout) (18)(17)(16)</li>
<p>
「ALTER SUBSCRIPTION ... REFRESH PUBLICATION」はクォートを付加することなくSQLコマンドにスキーマ名とリレーション名を埋め込んでいて、これによりSQLインジェクションでパブリッシャ側で任意のSQL実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb35d7306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0f59b658">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=248a433cd">&#167;</a></small></p>
<li>ts_headline()関数で長すぎるオプションをエラーを出して拒絶するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
オプション「StartSel」「StopSel」「FragmentDelimiter」の文字列長は32Kbが上限でしたが、入力の検査が行われていませんでした。これを超える長い文字列の指定は、典型的にはサーバプロセスのクラッシュを引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=62ad26266">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed3dbbf4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5919e0005">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fe365693">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d267ffc4">&#167;</a></small></p>
<li>列のMCV（最頻値）統計情報をリストアするときに、誤った入力を検出するようになりました。(CVE-2026-6575)  (Michael Paquier) (18)</li>
<p>
プランナ統計情報をリストアする関数はMCV統計値の検証が不十分でした。そのため、誤った値を受け入れて、後のプランナのクラッシュを引き起こすことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=661095c40">&#167;</a></small></p>
<li>timeofday()およびpg_strfname()関数で、悪意のタイムゾーン名による攻撃を防ぐようになりました。(CVE-2026-6474)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
作りこまれたタイムゾーン設定により、pg_strfname()関数に続いて実行されるsnprintf()関数のテンプレート文字列引数に「%」シーケンスを渡すことができました。これにより潜在的にクラッシュやサーバメモリ暴露を引き起こすことができました。また、pg_strftime()で使われるサイズに限りのある出力バッファのオーバーフローを起こすこともありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba27389c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4197c880c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=24e0e3254">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=126a236ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a50ae8306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6e7a9ef3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a386d14fe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=79b7847c7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3fff3950">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c8226f52">&#167;</a></small></p>
<li>マルチ範囲型を作るときに、ユーザに指定されたスキーマに対するCREATE権限があることの確認が漏れており、修正されました。(CVE-2026-6472)  (Jelte Fennema-Nio) (18)(17)(16)(15)(14)</li>
<p>
マルチ範囲型は元となる範囲型と異なるスキーマに作成することが可能ですが、このときマルチ範囲型のスキーマについて権限確認が行なわれませんでした。
</p>
<pre>
（誤動作例：scm_without_privilegeに権限がなくともエラーなく実行できてしまう）
db1=> CREATE TYPE scm_with_privilege.typ1_range AS RANGE
        (SUBTYPE=int4, MULTIRANGE_TYPE_NAME=scm_without_privilege.typ1_multi)
CREATE TYPE
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a44780f41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c27ba08cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d92852d62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=08c397b02">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bca85e9f">&#167;</a></small></p>
<li>認証のコードでタイミング攻撃に安全な文字列比較を使うようになりました。(CVE-2026-6478)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これからはパスワードやハッシュ文字列などの検査で、memcpy()やstrcmp()に替えてtimingsafe_bcmp()を使用します。所要時間のデータ依存性がどれほど攻撃に有用であるかは不明ですが、安全のため置き換える判断がされました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d93ef4131">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4e7435b3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e27235e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c95275f18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4608619a1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e34acfda">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1604939b2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dcfcb92f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b282280e9">&#167;</a></small></p>
<li>libpqのPQfn()を安全でない関数であるとドキュメント記載し、libpq実装内部でも使用しないようになりました。(CVE-2026-6477)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
非整数の結果型に対してPQfn()には出力バッファのサイズが渡されないため、サーバから返ったデータのサイズが一致するか検査できません。悪意のサーバはこれを使ってクライアントのメモリを上書きできました。PQfn()は既に「廃れたもの」とドキュメント記載されていました。
</p>
<p>
PQfn()をresult_is_int引数に0を指定して使用しているクライアントで危険性を回避するには、使用するAPIを変更するほかありません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=be0136440">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d88c7be15">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=614474996">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a1f83ea">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ac723b2b">&#167;</a></small></p>
<li>pg_basebackupとpg_rewindでパス横断が防止されました。(CVE-2026-6475)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これらのアプリケーションでは入力から読み込まれた出力ファイルのパスを検証できていませんでした。そのため、（PostgreSQLサーバ側の）入力を与える悪意の者がこれらのアプリケーションにクライアント側の任意のファイル上書きをさせることができました。これからは絶対パスと親ディレクトリ参照を含むパスを拒絶するようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a67c540a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8f881e188">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6778af13e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0c83fe8e4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=498829dca">&#167;</a></small></p>
<li>contrib/intarrayのquery_int型とcontrib/ltreeのltxtquery型の中で、フィールドのオーバーフローが防止されました。(CVE-2026-6473)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
16ビットのフィールドがオーバーフローを起こすか検査されていなかったため、これらのデータ型として多すぎる要素数を持つ値を与えると、問合せを実行したバックエンドプロセスのクラッシュが発生する可能性がありました。これから、そのような値は ERROR になります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c5790ec4f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4d04cc48">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c1069c35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=84a9f2641">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=074702525">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05e73b5c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b429d887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6f0bff33d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fc1fd3d97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=479823a71">&#167;</a></small></p>
<li>contrib/ltreeのlquery型の長すぎる値を防止するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
64Kアイテムを超える値は内部オーバーフローを起こしていて、潜在的にスタック破壊や誤った問い合わせ結果をもたらすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f019f341">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8c3426110">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b6b26fde">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c2fa5b6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b545c3787">&#167;</a></small></p>
<li>contrib/spiでSQLインジェクションとバッファオーバーランが防止されました。(CVE-2026-6637)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
check_foreign_key()関数はキー値のクォート付加が不十分で、また、クエリの組み立てに固定長のバッファを使用していました。このモジュールはサンプルコードにすぎないとはいえ、このような危険な誤りは含まれるべきでないため、修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ebda7da9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dc64ef28">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=710995782">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8053235ab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b026df29">&#167;</a></small></p>
<li>照合順序を適用できる型では、等価条件が一意性を示すものと仮定するのでなく、非決定論的照合順序を検査するようになりました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
多数のプランナ最適化がこれを仮定していました。例えば、一意性インデックスがx列にあれば、ある1行だけが「WHERE x = 'abc'」を満たします。しかしながら、WHERE句にインデックスと異なる照合順序が付加されている場合、この結論は一般には安全ではありません。両方の照合順序が決定論的であるときは文字列の等価がビット単位での等価を意味するため安全ですが、非決定論的な場合にはそのように動作しないため、WHERE句またはインデックスに非決定論的な照合順序が適用される場合に、一意性を前提とした最適化で、誤った問い合わせ結果が返される可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8fd5e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1132af22c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c214b58b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b62f514ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d0e73bb18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=748fe9e60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=872c9fae7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8395446df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bed3ffbf9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13226050e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5a24cef08">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bab4f7fa5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=172034f6e">&#167;</a></small></p>
<li>結合の削除時に、RestrictInfo構造体内のリレーション参照が完全に削除されない問題が修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
この見落としにより、「ERROR:  FULL JOIN is only supported with merge-joinable or hash-joinable join conditions」といった予期しないプランナでのエラーを引き起こすことが判明しています。また、他のケースでも有効なプランが考慮されない原因となっていた可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fb94605">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=766d40286">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d509be4ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53cb4ec1d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=798dabe83">&#167;</a></small></p>
<li>プランナによるパーティションキー列とサブクエリ出力の照合が改善されました。  (Richard Guo) (18)</li>
<p>
オペランドをパーティションキーと比較する前に、オペランドから何もしない（no-opの）PlaceHolderVarsを削除します。この変更により、以前はパーティションのスキャンが不要であると認識できなかった場合でも、パーティションプルーニングが正常に実行されるようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e8b2bef7">&#167;</a></small></p>
<li>「ON t1.boolcol」のようなboolean型の列のみで構成される結合句を処理できるように、自己結合の削除処理が修正されました。  (Andrei Lepikhov, Tender Wang, Alexander Korotkov) (18)</li>
<p>
以前は、このような場合に「ERROR:  no relation entry for relid ...」が発生していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8b9d6497">&#167;</a></small></p>
<li>仮想生成列を持つテーブルで、カーソルを使った更新「UPDATE/DELETE ... WHERE CURRENT OF」が正常に動作するように修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
これまでは、実行時に「ERROR:  WHERE CURRENT OF on a view is not implemented」が発生する動作が報告されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3d03fbd5">&#167;</a></small></p>
<li>「INSERT ... ON CONFLICT」内のEXCLUDED列参照における仮想生成列の展開が修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
不具合によって、予期せぬエラー「ERROR:  unexpected virtual generated column reference」が発生したり、誤った問い合わせ結果が発生したりしていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cf38dedf6">&#167;</a></small></p>
<li>ルールアクションおよびルール条件における「NEW」生成列の誤った処理が修正されました。  (Richard Guo, Dean Rasheed) (18)(17)(16)(15)(14)</li>
<p>
以前は、このような列参照がINSERTの場合にNULLとなり、UPDATEの場合にはOLDと同じ値になっていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t21 (id int PRIMARY KEY, a int,
        gen int GENERATED ALWAYS AS (a * 2) VIRTUAL);
db1=# CREATE TABLE t21log (op text, old_gen int, new_gen int);
db1=# CREATE RULE r21i AS ON INSERT TO t21 DO ALSO
        INSERT INTO t21log VALUES ('I', NULL, NEW.gen);
db1=# CREATE RULE r21u AS ON UPDATE TO t21 DO ALSO
        INSERT INTO t21log VALUES ('U', OLD.gen, NEW.gen);
db1=# INSERT INTO t21 (id, a) VALUES (1, 10);
db1=# UPDATE t21 SET a = 100 WHERE id = 1;
db1=# SELECT * FROM t21log;
 op | old_gen | new_gen
----+---------+---------
 I  |  *null* |  *null*
 U  |      20 |      20
(2 rows)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e528bfe97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d6208939">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07b257189">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7062bd577">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e39951be">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  indexes on virtual generated columns are not supported」が修正されました。  (Robert Haas) (18)</li>
<p>
式インデックスの作成時に、このエラーが誤って報告されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cceb9c18a">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  generated columns are not supported in COPY FROM WHERE conditions」が修正されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
「COPY t23 FROM stdin WHERE tableoid > 0」のように「COPY FROM」のWHERE句でシステム列を使用すると、このエラーが誤って報告されることがありました。アサート有効のビルドでのアサート失敗も報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=11c2c0cc8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=681a91d29">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c7a6bbe6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07e833e3c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=40fa04e7c">&#167;</a></small></p>
<li>MERGEがrepeatable readモードまたはserializableモードで同時更新されるタプルを検出した場合に、「ERROR:  could not serialize access due to concurrent update」を出して直列化失敗を正しく報告するようになりました。  (Tender Wang) (18)(17)(16)(15)</li>
<p>
以前は、このような場合により低い分離レベルの場合と同じ動作をしていて、トランザクションがアボートせず、不整合が見過ごされる可能性がありました。
</p>
<pre>
（誤動作例 - 字下げは並行する別セッションをあらわします）
db1=# CREATE TABLE t24 (id int, v int);
db1=# INSERT INTO t24 VALUES (1,0);

　　　db1=# BEGIN;
　　　db1=*# UPDATE t24 SET v = v + 100;

db1=# START TRANSACTION ISOLATION LEVEL serializable;
db1=*# MERGE INTO t24 t USING (VALUES (1, 100)) AS s (id, inc) ON t.id = s.id
         WHEN MATCHED THEN UPDATE SET v = t.v + s.inc
         WHEN NOT MATCHED THEN INSERT (id, v) VALUES (s.id, s.inc);

　　　db1=*# COMMIT;

db1=*# SELECT * FROM t24;
 id |  v
----+-----
  1 |   0
  1 | 200
(2 rows)

db1=*# COMMIT;
db1=# SELECT * FROM t24;
 id |  v
----+-----
  1 | 200
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13fab378e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dcac93c0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f6e63d4b8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bfaae6fb">&#167;</a></small></p>
<li>ソーステーブルから列が削除されている場合における「CREATE TABLE ... LIKE ... INCLUDING STATISTICS」の動作が修正されました。  (Julien Tachoires) (18)(17)(16)(15)(14)</li>
<p>
LIKEで指定するテーブルが作成後にALTER TABLEで列の削除を行なっているときに該当します。このような場合、拡張統計オブジェクトが正しくコピーされなかったり、コマンドが下記のような予期せぬエラーを返す可能性がありました。
</p>
<pre>
ERROR:  cache lookup failed for attribute 3 of relation 17106
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=149c875fc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0104b447">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7bb519635">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=76d15a7ee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=81b56b47c">&#167;</a></small></p>
<li>「ALTER INDEX ... ATTACH PARTITION」で、そうすべき場合には親インデックスを有効とマークできるようになりました。  (Sami Imseih) (18)(17)(16)(15)(14)</li>
<p>
すべてのリーフインデックスが有効であるにもかかわらず、パーティションインデックスが無効とマークされたままになる特殊なケースが存在していました。本修正は、ユーザが手動でカタログを更新することなく、このような状況を補正する仕組みを提供します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5713ac248">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=becf6d269">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=313355d68">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0859000d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d809b16d1">&#167;</a></small></p>
<li>「ALTER TABLE ... SET NOT NULL」がシステムテーブル（カタログ）の変更が完了した後にのみオブジェクトアクセスフック関数を呼び出すように修正されました。  (Artur Zakirov) (18)</li>
<p>
これはpg_constraintにNOT NULL制約用の行が追加された際につくられた不具合の修正です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6958077ce">&#167;</a></small></p>
<li>ALTER FOREIGN DATA WRAPPERが、ラッパーオブジェクトのハンドラ関数への依存関係を削除しないように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
以前は、VALIDATORパラメータの指定により、誤ってハンドラ関数への依存関係が削除されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c11f87b1a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=876fa84a2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a19edb66a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3a35ab1d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6f369e58">&#167;</a></small></p>
<li>外部キー制約のトリガーに対する遅延実行指定が効かなくなる問題が修正されました。  (Yasuo Honda) (18)</li>
<p>
以前は「DEFERRABLE INITIALLY DEFERRED」として定義された外部キー制約が、「NOT ENFORCED」ステータスに設定された後、再び「ENFORCED」に戻されると「NOT DEFERRABLE」として動作していました。
</p>
<p>
この問題が発生している外部キー制約がある場合は、本マイナーバージョンアップ適用後に「ALTER TABLE ..」で再度「NOT ENFORCED」に設定してから「ENFORCED」に戻すことで修復できます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5db5e3396">&#167;</a></small></p>
<li>ドメインを許可するように「WITHOUT OVERLAPS」が修正されました。  (Jian He) (18)</li>
<p>
「UNIQUE/PRIMARY KEY ... WITHOUT OVERLAPS」で指定する重複しない列は範囲型またはマルチ範囲型である必要がありますが、そのような型を元にしたドメインも許可する必要がありました。これまでは以下のようなエラーになっていました。
</p>
<pre>
（修正前の動作例）
db1=# CREATE DOMAIN dtsrange AS tsrange CHECK (lower(VALUE) IS NOT NULL);
db1=# CREATE TABLE t30 (id int, tsr dtsrange, PRIMARY KEY (id, tsr WITHOUT OVERLAPS));
ERROR:  column "tsr" in WITHOUT OVERLAPS is not a range or multirange type
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49f3cb453">&#167;</a></small></p>
<li>マルチ範囲型を介して、複合型が再帰的に自身をメンバーとして含むことが禁止されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
これまでも ALTER TABLE ADD COLUMN や ALTER TYPE ADD ATTRIBUTE の際に、ドメイン、配列、複合型、範囲型を通して自身をメンバーとして含まないことを検査していましたが、マルチ範囲型を経由する場合について見落とされていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TYPE typ31 AS (a int, b int);
db1=# CREATE TYPE typ31range AS RANGE (subtype = typ31);
db1=# ALTER TYPE typ31 ADD ATTRIBUTE c typ31range;
→ 修正前は実行できてしまう
　 修正後は「ERROR:  composite type two_ints cannot be made a member of itself」
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ff8f27d6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54343f6f9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=06e304524">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34ebeb15c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7a1d5fc6">&#167;</a></small></p>
<li>Datumのイメージ比較が符号拡張の違いに依存しないよう修正されました。  (David Rowley) (18)(17)(16)(15)(14)</li>
<p>
従来は「ERROR:  could not find memoization table entry」といったエラーメッセージが出力されたり、誤った問合せ結果を招いていました。
</p>
<p>
DatumとはSQLの各種データ型の値を格納する汎用的な内部実装上のデータ型です。そのイメージ比較とはビット単位での一致を調べる処理です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49315de0c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d29808e35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1bd90c887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b2e091f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ce5c310b">&#167;</a></small></p>
<li>ハッシュ化された「IN」/「NOT IN」において、非STRICTな等価演算子を使用した場合の処理が修正されました。  (Chengpeng Yan) (18)(17)(16)(15)(14)</li>
<p>
これまでは、NULLを空文字と等価とする独自の等価演算子を拡張機能で定義している場合などで、NULLを含む検索時にクラッシュや誤った問い合わせ結果を引き起こす可能性がありました。
</p>
<p>
なお、組み込みデータ型の等価演算子はすべてSTRICTであるため、この問題は拡張機能で定義されたデータ型でのみ発生します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=035c520db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fda3e12f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a2a0060d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=622f8b530">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=109de35b7">&#167;</a></small></p>
<li>to_char()における、ロケール依存の長すぎる数値記号を切り詰められるようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
to_char()は、パターン内の各フォーマットコードごとに8バイトを見込んで出力バッファを確保しています。ロケールで指定された通貨記号、桁区切り記号、小数点記号、または符号記号が8バイトを超える場合、理論上はバッファオーバーランが発生する可能性がありました。
</p>
<p>
現実にはそのようなロケールは存在せず、さらに権限のない攻撃者がPostgresSQLサーバ配下に悪意あるロケール定義をインストールするのは現実的ではありませんが、安全性を考慮し、記号が長すぎる場合にはそれを検出し、必要に応じて切り詰めるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=580e7be88">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c97a28618">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1e60f148">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f60d25986">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a6f08c0c">&#167;</a></small></p>
<li>「Ispell」辞書用のaffixファイル解析時に発生し得るバッファオーバーランが防止されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
破損した、あるいは悪意あるaffixファイルによってサーバプロセスがクラッシュする可能性があったため、入力値検証を強化し、異常に長いデータを安全に扱えるよう修正されました。
</p>
<p>
なお、テキスト検索設定ファイルは信頼できるものと想定されているため、これはセキュリティ問題の扱いにはなりませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00c6e0819">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea5f0d176">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42383d32d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b196d3db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=21a24d709">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2bfeb3bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5426dbf8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17f72e037">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f852c9093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cae0c2bd">&#167;</a></small></p>
<li>ウィンドウ集約におけるフレーム開始位置および終了位置の計算で、整数オーバーフローが発生しないよう保護されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
ユーザ指定のオフセット値が非常に大きい場合（INT64_MAXに近い値）、予期せぬエラーや誤った問い合わせ結果を引き起こす可能性がありました。開発用ビルドではアサート失敗も報告されました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t36 (i int);
db1=# INSERT INTO t36 SELECT generate_series(1, 1000) g;
db1=# SELECT sum(i) 
        OVER (ROWS BETWEEN 0x7fffffffffffffff FOLLOWING AND 1 FOLLOWING), i FROM t36;
ERROR:  window frame head moved backward
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc7dff26">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f8736f8bc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0fe032e6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4da71fc37">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=305cf0df0">&#167;</a></small></p>
<li>array_agg_array_combine()が、配列のNULLビットマップを正しく結合するよう修正されました。  (Dmytro Astapov) (18)(17)(16)</li>
<p>
array_agg_array_combine() はarray_agg()集約関数の内部実装で使われている関数です。
</p>
<p>
この不具合により、NULLと非NULL要素が混在する入力において、並列化されたarray_agg(anyarray)の計算が失敗し、誤った問い合わせ結果が生じるおそれがありました。このエラーは並列ワーカーの実行タイミングに依存するため、再現性の低い不具合として現れていました。
</p>
<pre>
（並列実行プランのときに誤動作が発生する可能性のある問い合わせ例）
db1=# CREATE TABLE t37 (id int, grpid int, c1 int, c2 int, c3 int);
db1=# INSERT INTO t37 SELECT g, g % 10000, 
        nullif(g % 3, 0), nullif(g % 5, 0), nullif(g % 7, 0)
        FROM generate_series(1, 100000) g;
db1=# SELECT grpid, array_agg(ARRAY[c1, c2, c3]) FROM t37 GROUP BY grpid;
　→ この結果が並列実行プランを無効化したときと一致しない場合がある
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14bf2c39e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d6c9432cb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bb959269e">&#167;</a></small></p>
<li>sync_file_range()がエラーコード「EINTR」を返した場合に再試行するようになりました。  (DaeMyung Kang) (18)(17)(16)</li>
<p>
これまでは、割り込み発生時のリトライ処理が正しく機能していませんでした。sync_file_range()はファイル書き込みをストレージに反映させるときに使われるLinuxのシステムコールです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cb307251">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5499be332">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b35c10a4">&#167;</a></small></p>
<li>共有システムテーブル（カタログ）に対するpg_stat_reset_single_table_counters()の誤動作が修正されました。  (Chao Li) (18)(17)(16)(15)</li>
<p>
これまでは、共有システムテーブルに対して同関数を実行すると、現在のデータベースの「stat_reset_timestamp」（pg_stat_databaseシステムビューのstats_reset列で報告される値）が誤って更新されていました。
</p>
<pre>
（誤動作例）
db1=# SELECT now(), pg_stat_reset_single_table_counters('pg_authid'::regclass);
              now              | pg_stat_reset_single_table_counters
-------------------------------+-------------------------------------
 2026-05-22 13:07:49.624814+09 |
(1 row)

db1=# SELECT datname, stats_reset FROM pg_stat_database
        WHERE datname = current_database();
 datname |          stats_reset
---------+-------------------------------
 db1     | 2026-05-22 13:07:49.627562+09
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b081c5b07">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4fefb3e0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7cdcbd3e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6d3f0585">&#167;</a></small></p>
<li>並列applyワーカーがidle状態のときにアクティビティ統計を更新するようになりました。  (Zhijie Hou) (18)(17)(16)</li>
<p>
これまでは、直近に完了したトランザクションの統計情報が長時間報告されない場合があり、特にワークロードが軽い環境で顕著でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=44c8dc280">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=88d7fdcc9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d052f6c7d">&#167;</a></small></p>
<li>集合演算で配列長を推定中するときに、予期せぬエラー「ERROR:  no relation entry for relid 0」が発生することがあり、修正されました。  (Tender Wang) (18)(17)</li>
<p>
UNIONなどの集合演算で、元となる型の異なる配列型を型変換する場合に発生することがありました。
</p>
<pre>
（発生例）
db1=# SELECT null::int[] UNION ALL SELECT null::int[] UNION ALL SELECT null::bigint[];
ERROR:  no relation entry for relid 0
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13e20d1c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=93ed18720">&#167;</a></small></p>
<li>pglz_decompress()が破損した入力を受け取った場合にバッファの超過読み取りが発生することがあり、修正されました。  (Andrew Dunstan) (18)(17)(16)(15)(14)</li>
<p>
pglz_decompress()はpglz形式の圧縮データを展開する内部実装関数です。破損した圧縮データによって入力末尾を越えた読み取りが発生する可能性があり、ごくまれにクラッシュを引き起こすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3e436b1c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c05c3baf1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e630f65d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c88ad3a21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=de32a01e7">&#167;</a></small></p>
<li>インクリメンタルJSONパーサにおいて、入力バッファの境界をまたぐ数値トークンの処理が修正されました。  (Andrew Dunstan) (18)(17)</li>
<p>
JSON数値の文法に反する不正な形式の数値を受け入れてしまう可能性があり、その結果として後の処理でエラー（「ERROR:  invalid input syntax for type json」など）が発生することがありえました。デバッグ用ビルドではアサート失敗を引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e4955630">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2e373785e">&#167;</a></small></p>
<li>インクリメンタルバックアップのリストア時に、リレーションの可視性マップが肥大化することがあり、防止されました。  (Robert Haas) (18)(17)</li>
<p>
このリストア処理では、期待されるファイル長の計算が誤っていたため、可視性マップに多数のゼロブロックが追加される可能性がありました。これはデータ破損にはつながりませんが、大量のディスク領域を無用に消費する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9540c0e5d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=076bc57fa">&#167;</a></small></p>
<li>カタログキャッシュのテキスト列検索において、データベースのデフォルト照合順序ではなく、C照合順序が使用されるようになりました。  (Jeff Davis) (18)(17)</li>
<p>
これにより、データベースが特定できずデフォルト照合順序も決定できない特殊ケースでも、物理レプリケーションが開始できるようになります。pg_receivewalによるレプリケーション接続の開始時に「FATAL:  cannot read pg_class without having selected a database」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=03c4f243e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dda30dd3">&#167;</a></small></p>
<li>スタンバイサーバ昇格時に、応答待ちのまま停止したslotsyncワーカープロセスが昇格処理をブロックする問題が修正されました。  (Nisha Moond, Ajin Cherian) (18)(17)</li>
<p>
プライマリサーバからの応答を待ち続けていたワーカープロセスにより、昇格処理が不必要に長時間遅延することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=58c1188a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15910b1c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=acf49bfed">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=586f4266f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=94efd308b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4bed04d39">&#167;</a></small></p>
<li>アイドル状態のslotsyncワーカープロセスによる過剰なログ出力が修正されました。  (Zhijie Hou) (18)(17)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=540fe8fb5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=91741b7cb">&#167;</a></small></p>
<li>tuplestoreデータ構造で、エラー発生後に内部状態の不整合が生じないようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
通常は問題になりませんが、WITH HOLDカーソルのtuplestoreでは問題となる可能性がありました。PostgreSQL 15以前では、この問題により容易に再現可能なクラッシュが発生することがありました。PostgreSQL 16以降での影響は確認されていませんが、すべてのサポートバージョンで内部状態の整合性が保たれるよう修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=adb7873bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1f5b6a5e5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=59c139d53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=811f3263a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7cd23aad2">&#167;</a></small></p>
<li>pg_aiosシステムビューのpid列が、所有プロセスが存在しない場合に0ではなくNULLを示すようになりました。  (ChangAo Chen) (18)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=882bdcf9f">&#167;</a></small></p>
<li>pg_stat_replicationのlag列が実際より早い段階でNULLと報告されてしまう問題が修正されました。  (Shinya Kato) (18)(17)(16)(15)(14)</li>
<p>
特に論理レプリケーション環境で、レプリケーション処理中であるにもかかわらず、過度に早くNULLとなることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=98e96e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fdce5de55">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f42105001">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=246c296f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bf7ecf353">&#167;</a></small></p>
<li>並列Btreeインデックススキャンで使用される共有メモリの割り当て不足が修正されました。  (Siddharth Kothari) (18)</li>
<p>
稀なケースで、この共有メモリの割り当て不足によりサーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1e71970d2">&#167;</a></small></p>
<li>WAL出力無しのGiSTインデックスを使用する際に、稀に発生するフラッシュ失敗を回避するようになりました。  (Tomas Vondra) (18)(17)(16)(15)(14)</li>
<p>
WAL出力無しのGiSTインデックスにおいて、挿入ポイントを表す擬似LSNの選択が不適切であったため、誤って「ERROR: xlog flush request n/nnnn is not satisfied」が発生することがありました。（なお、ここでのWAL出力無しはUNLOGGEDテーブルを意味していません。）
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b3f63a1b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ef36bb35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4f4025eac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ce06b5740">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c0ffc725f">&#167;</a></small></p>
<li>変則的なサイズのセグメント使用時に、DSAページマップの必要サイズの過小評価が修正されました  (Paul Bunn) (18)(17)(16)(15)(14)</li>
<p>
この計算ミスにより、範囲外アクセスが発生し、サーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0f38604d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2543b9ea9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0af5e64e9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=46c93b705">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eb11d7a91">&#167;</a></small></p>
<li>共有メモリ内における最も古いマルチトランザクション配列のインデックス計算が修正されました。  (Yura Sokolov) (18)(17)</li>
<p>
PREPARED状態であるが、未コミットのトランザクションが保持する行ロックが他セッションから見えなくなるなど、可視性の不整合が発生する可能性がありました。また、max_connectionsが非常に小さい場合には、メモリ破壊が発生する可能性もありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0a50ef094">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dcd9c06a4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa3b328e6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=969576dab">&#167;</a></small></p>
<li>多数のEXPLAIN拡張オプションを登録した場合に発生する配列オーバーランが修正されました。  (Joel Jacobson) (18)</li>
<p>
この問題により、メモリ破損やサーバプロセスのクラッシュが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=730c98d03">&#167;</a></small></p>
<li>拡張データ型の式に対する拡張統計情報処理時にクラッシュが発生する可能性があり、修正されました。  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
データ型のtypanalyze関数が有効な統計情報を生成しない場合、NULLポインタ参照が発生する可能性がありました。PostgreSQL本体のtypanalyzeでは発生しませんが、拡張機能では発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=83671c0da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=530b6b02f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04745ba9c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f033abc6c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=038c7d4a3">&#167;</a></small></p>
<li>GROUP BY句で使用される結合エイリアス変数を正しく表示するよう修正されました。  (Tom Lane) (18)</li>
<p>
「SELECT ... t1 LEFT JOIN t2 USING (x) GROUP BY x」のようなクエリを含むビューにおいて、GROUP BY句のSQL文が内部からの逆解析時に誤って表示され、データベースのダンプ/リストアが失敗する可能性がありました。この問題は、「t1.x」と「t2.x」のデータ型が同一ではなく、「t1.x」側で暗黙的な型変換が必要だった場合にのみ発生しました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t1 (x integer, a numeric);
db1=# CREATE TABLE t2 (x bigint, b text);
db1=# CREATE VIEW test_view AS SELECT x::integer AS x FROM t1 LEFT JOIN t2 USING (x) GROUP BY x;
（18.3以前では、以下のように誤ったSQLへ逆解析される）
db1=# SELECT pg_get_viewdef('test_view'::regclass, true);
       pg_get_viewdef
-----------------------------
  SELECT t1.x::integer AS x +
    FROM t1                 +
      LEFT JOIN t2 USING (x)+
   GROUP BY (t1.x::bigint);
(1 row)

（この状態でダンプしリストアすると、以下のようなエラーが発生する）
$ pg_dump db1 > dump.sql
$ psql restore_test < dump.sql
ERROR:  column "t1.x" must appear in the GROUP BY clause or be used in an aggregate function
LINE 2:  SELECT (t1.x)::integer AS x
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2c1962a6">&#167;</a></small></p>
<li>ICUを使用した文字列処理における、軽微なメモリリークが修正されました。  (Jeff Davis) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4abf63c62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4761f2eee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4515c9b4">&#167;</a></small></p>
<li>startupプロセス失敗時に、他の子プロセスを適切にシャットダウンするよう修正されました。  (Ayush Tiwari) (18)(17)(16)(15)</li>
<p>
従来は「startupプロセス実行中は他のpostmaster子プロセスは存在しない」という古い前提に依存しており、postmasterの即時終了でも問題ないとされていました。残存した子プロセスも最終的にはpostmasterの終了を検知して自主的に終了しますが、より適切なシャットダウン手順が望まれていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affdb2dd5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e381843cf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d347f2cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23cebf672">&#167;</a></small></p>
<li>チェックポイントのWALリプレイ処理とマルチトランザクションID生成の間に存在する競合状態が修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
古いマイナーバージョンのプライマリからWALを追従するスタンバイサーバにおいて、「ERROR: could not access status of transaction」というエラーを伴うクラッシュおよび再起動ループが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0852643e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ca385032">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=77dff5d93">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5f412107">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e35e466f6">&#167;</a></small></p>
<li>walsenderプロセス終了時に無限待機状態となりうる不具合が修正されました。  (Anthonin Bonnefoy) (18)(17)(16)(15)(14)</li>
<p>
論理レプリケーションのパブリッシャ側のPostgreSQLを停止する際に、walsenderプロセスは未書き込みのWALがすべて書き出されるまで待機します。しかし、その書き出し要求が正しく行われていなかったため、状況によっては待機が終了せず、無限に停止処理が続く場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3eb2fecdb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bbbc0888b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=82935467a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42734f296">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3bf6f22ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=980498138">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ee536c89">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=da21ecf57">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa9f2e317">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f15471464">&#167;</a></small></p>
<li>リカバリ中にテーブルの空き領域マップ（FSM）の変更内容が確実に保持されるように修正されました。  (Alexey Makhmutov) (18)(17)(16)(15)(14)</li>
<p>
これまでは、WALリプレイ時にFSMの更新自体は行われていたものの、チェックサムが有効な場合に、FSMページのバッファがダーティページとして印付けされていませんでした。そのため、変更内容がディスクへ書き出されず、反映されない場合がありました。
</p>
<p>
スタンバイサーバでは、この問題により時間の経過とともにFSMの内容が実際のテーブル状態と大きく乖離することがありました。FSMはあくまでヒント情報として使用されるだけですが、スタンバイサーバがアクティブに昇格した際、FSMの大部分が更新によって修復されるまでの間、大きく性能低下するおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ac3b97db3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cf010f21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54537de35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ca259b084">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f5d1038d9">&#167;</a></small></p>
<li>ecpgプリプロセッサで、接続が確立されていない状態で一部の関数を呼び出した場合に、クラッシュする不具合が修正されました。  (Shruthi Gowda) (18)(17)(16)(15)(14)</li>
<p>
ECPGdeallocate_all()、ECPGprepared_statement()、ECPGget_desc()、および、ecpg_freeStmtCacheEntry()でセグメンテーション違反が生じました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e2688ea5e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5d67549d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7e4c871f4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6916f4410">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0e3f9732">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでtarファイルの読み込み処理が強化されました。  (Tom Lane) (18)</li>
<p>
これまでは、入力ファイルがtarファイルであるかどうか、さらにPostgreSQLが処理可能なtar形式かどうかの検証が十分に行われていませんでした。そのため、PostgreSQLではない他のtar作成ツールによって生成されたtarファイルを入力とした場合、想定外の形式であることで問題が生じる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=698eae7db">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでバックアップの展開およびtar読み込み処理における各種バグが修正されました。  (Andrew Dunstan, Tom Lane, Chao Li) (18)(17)(16)(15)</li>
<p>
具体的には、tarファイルのパディング領域の扱いの不備、特殊ケースにおいてLZ4圧縮データが破損する可能性、一部の異常系エラー条件の検査漏れ、圧縮／展開のエラー発生後に終了しないことによる連鎖的なエラー報告、メモリリークの発生、ということが含まれます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5095f3f4a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1298a4c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1590723f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d3bb7841b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a01a592b1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b198b093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cce939c71">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9a42888a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=78dc9a808">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2640c5ba7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=415cc943f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4548e8746">&#167;</a></small></p>
<li>pg_dumpにおいて、NOT NULL制約のNO INHERIT属性が正しく保持されるように修正されました。  (Jian He) (18)</li>
<p>
これまでは、一部のケースでNO INHERIT句がダンプ出力されませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3c8b63d7">&#167;</a></small></p>
<li>pg_dumpallにおいて、OIDが存在しないロールが権限を与えた場合にもGRANT文を出力するように、修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
これまでは、このような状態のGRANTがダンプ対象から除外される場合がありました。今回の修正で、PostgreSQL v16より前と同様に、GRANTED BY句を付けずにGRANT文を出力するよう変更されました。
</p>
<p>
なお、権限を与えたロールのOIDが存在しないことに対する警告メッセージは引き続き出力されますが、警告を出すのはソースサーバがPostgreSQL v16以降の場合のみに限定されます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b09158cc7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cd783d20">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4649c50a">&#167;</a></small></p>
<li>pg_upgradeにおいて、古いソースサーバへ接続する際に正しいプロトコルバージョンを使用するように修正されました。  (Jacob Champion) (18)(17)(16)(15)(14)</li>
<p>
これまでは、2018年2月のマイナーリリース（10.2、9.6.7、9.5.11、9.4.16、9.3.21）よりも古いPostgreSQLサーバからアップグレードを行う場合に、不具合が発生する可能性がありました。
</p>
<p>
「FATAL: unsupported frontend protocol ...」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1b2773179">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ad7fc3f1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a38ed212f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e726620d2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c47744ede">&#167;</a></small></p>
<li>contrib/basic_archiveが、起動時にアーカイブディレクトリが存在しなくてもよくなりました。  (Nathan Bossart) (18)(17)(16)(15)</li>
<p>
これまでは、起動時点でbasic_archive.archive_directoryに指定したディレクトリが存在しない場合、その設定自体が無効なものとして扱われました。今回の修正により、起動時点でディレクトリが存在しなくても、後からディレクトリが作成された場合にアーカイブ処理を継続できるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bde9ad315">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f510577de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=28c2b7896">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8fc45ac5d">&#167;</a></small></p>
<li>contrib/ltreeが、大文字小文字のフォールドで文字列のバイト長が変化する場合に対応できるように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
これまでは、大文字小文字を区別しないマッチングを指定するlqueryパターンにおいて、本来一致するはずのラベルにマッチしない場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b3c2a3d38">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53a57cae1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d1bd9a7dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed2c7ef7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b993167f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=058710d41">&#167;</a></small></p>
<li>contrib/pg_overexplainにおいて、RANGE_TABLEオプションの出力構造の不具合が修正されました。  (Satyanarayana Narlapuram) (18)</li>
<p>
これまでは、JSON、YAML、XML形式の出力で一部のフィールドが誤った位置に出力される場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6723d462d">&#167;</a></small></p>
<li>contrib/pg_stat_statementsで、pgss_query_texts.statファイルの解析中にエラーが発生した時に、メモリリークが発生しないように修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=25b02320e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=351e59f34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=52edaf9d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=92cf11171">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a6d03067f">&#167;</a></small></p>
<li>contrib/postgres_fdwにおいて、利用不能になった接続を早期に解放してしまうことでクラッシュすることがあり、修正されました。  (Etsuro Fujita) (18)(17)(16)(15)(14)</li>
<p>
オープン中のカーソルなどのデータ構造に接続オブジェクトへの参照が残っている可能性があるため、トランザクション終了まで接続オブジェクトのクローズを遅延させるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c318777da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af8f9248f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1352651c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34c18a225">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd5b36ab1">&#167;</a></small></p>
<li>タイムゾーンデータファイルがtzdata release 2026bに更新されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
ブリティッシュコロンビア州（America/Vancouver）は、2026年11月から通年でUTC-07を使用するようになります（事実上の恒久的な夏時間）。同地域のタイムゾーン略称がそれ以降「MST」になると想定しています。実際には別の略称へ変更される可能性もありますが、現時点では未確定です。
</p>
<p>
モルドバの歴史的変更も行なわれました。モルドバは2022年以降、EUの夏時間切替時刻に従っていたことが反映されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a431b6d6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c0eab6f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0465c999e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e28fc73d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affd929c9">&#167;</a></small></p>
</ol>

<div>
<a href="https://www.sraoss.co.jp/prod_serv/support/pgsql-mainte/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-pgsql" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、PostgreSQL/Pgpool-II のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PostgreSQL 15.18 に関する技術情報</title>
		<link>https://www.sraoss.co.jp/tech-blog/pgsql/15-18/</link>
		
		<dc:creator><![CDATA[データベース技術グループ]]></dc:creator>
		<pubDate>Thu, 28 May 2026 03:10:45 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[PostgreSQL 15]]></category>
		<category><![CDATA[PostgreSQL 15.17]]></category>
		<category><![CDATA[PostgreSQL 15.18]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20722</guid>

					<description><![CDATA[このリリースは 15.17 からの修正リリース（2026年 5月 14日リリース）です。 15.X からのアップデートではダンプ、リストアは不要です。 しかしながら、15.14 よりも前のバージョンからアップデートする場 ...]]></description>
										<content:encoded><![CDATA[<p>このリリースは 15.17 からの修正リリース（2026年 5月 14日リリース）です。<br />
15.X からのアップデートではダンプ、リストアは不要です。<br />
しかしながら、15.14 よりも前のバージョンからアップデートする場合には、<a href="/tech-blog/pgsql/15-14/" rel="noopener">15.14のリリース情報</a>も参照してください。</p>
<p><span id="more-20722"></span></p>
<h3>PostgreSQL 15.17 から 15.18 への変更点</h3>
<p>18.4, 17.10, 16.14, 15.18, 14.23 の各バージョンが同時にリリースされており、本ページでは共通の記載としています。各修正項目が適用されるバージョン系列番号を項目末尾に括弧書きで記載しています。</p>
<ol>
<li>スタートアップパケットの処理での際限ない再帰を防止するようになりました。(CVE-2026-6479)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
悪意のクライアントが、拒絶されたSSLとGSSの暗号化の要求を交互に何度も繰り返すことで、接続先バックエンドをクラッシュさせることができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f7a191f53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32a4ce55c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=66cf26b9e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fb66d302">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b4e66739">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6dffaeb8e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e6ef863">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fda4df6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14a4a7040">&#167;</a></small></p>
<li>メモリ割り当て計算における整数オーバーフローがいくつか修正されました。(CVE-2026-6473)  (Tom Lane, Nathan Bossart, Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
様々な場所のメモリ割り当てサイズの計算で整数オーバーフローの可能性について不注意がありました。整数オーバーフローにより小さすぎるメモリ確保が行なわれて、その結果、範囲外に書き込みが行なわれて、サーバプロセスのクラッシュを引き起こす可能性がありました。また、おそらく任意コード実行も可能と考えられます。
</p>
<p>
全てとは言えませんが、この危険があるのは概ね 32ビットビルドだけです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1c30458a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fe2720c45">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cfb610eaa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc5cea76">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=61a9b4b6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01e568b8c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01b5ef7df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aff71f87b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4032c9d98">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e31ef0720">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3cee4dc4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a2bea41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4f089c79">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fdb0907e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39bc8f2ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd8af778d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=26dd3cac2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c25973124">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fb0bc321d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bcfd848e7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=55328e3a9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=87357a606">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32c525eb6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=137013f60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=986753361">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=67dd6243d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c41f5534">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e24fb3247">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e49e9590d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e81995de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d1489d50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ebcfa7867">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f20b84081">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b11c3eadf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e0eba196">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7fb9f765">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e243e67">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=924b3e943">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d75b1dc96">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37842f3dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e5babf754">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=47dae5e74">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d106295b6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a423a256">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fbec9e50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e909812d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e42598a41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dc6c85ff4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c9447b8bd">&#167;</a></small></p>
<li>pg_createsubscriberコマンドで、オプションで指定されたサブスクリプション名を適切にクォートするようになりました。(CVE-2026-6476)  (Nathan Bossart) (18)(17)</li>
<p>
（ありそうにないことですが）信頼できない者がサブスクリプション名を任意に指定しているとして、サブスクリプション名にクォート無しのSQLコマンドを含めることで、SQLインジェクションが可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e44c370">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d7de7fa84">&#167;</a></small></p>
<li>論理レプリケーションのオリジンの検査で、オブジェクト名を適切にクォートするようになりました。(CVE-2026-6638)  (Pavel Kohout) (18)(17)(16)</li>
<p>
「ALTER SUBSCRIPTION ... REFRESH PUBLICATION」はクォートを付加することなくSQLコマンドにスキーマ名とリレーション名を埋め込んでいて、これによりSQLインジェクションでパブリッシャ側で任意のSQL実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb35d7306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0f59b658">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=248a433cd">&#167;</a></small></p>
<li>ts_headline()関数で長すぎるオプションをエラーを出して拒絶するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
オプション「StartSel」「StopSel」「FragmentDelimiter」の文字列長は32Kbが上限でしたが、入力の検査が行われていませんでした。これを超える長い文字列の指定は、典型的にはサーバプロセスのクラッシュを引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=62ad26266">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed3dbbf4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5919e0005">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fe365693">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d267ffc4">&#167;</a></small></p>
<li>列のMCV（最頻値）統計情報をリストアするときに、誤った入力を検出するようになりました。(CVE-2026-6575)  (Michael Paquier) (18)</li>
<p>
プランナ統計情報をリストアする関数はMCV統計値の検証が不十分でした。そのため、誤った値を受け入れて、後のプランナのクラッシュを引き起こすことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=661095c40">&#167;</a></small></p>
<li>timeofday()およびpg_strfname()関数で、悪意のタイムゾーン名による攻撃を防ぐようになりました。(CVE-2026-6474)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
作りこまれたタイムゾーン設定により、pg_strfname()関数に続いて実行されるsnprintf()関数のテンプレート文字列引数に「%」シーケンスを渡すことができました。これにより潜在的にクラッシュやサーバメモリ暴露を引き起こすことができました。また、pg_strftime()で使われるサイズに限りのある出力バッファのオーバーフローを起こすこともありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba27389c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4197c880c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=24e0e3254">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=126a236ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a50ae8306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6e7a9ef3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a386d14fe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=79b7847c7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3fff3950">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c8226f52">&#167;</a></small></p>
<li>マルチ範囲型を作るときに、ユーザに指定されたスキーマに対するCREATE権限があることの確認が漏れており、修正されました。(CVE-2026-6472)  (Jelte Fennema-Nio) (18)(17)(16)(15)(14)</li>
<p>
マルチ範囲型は元となる範囲型と異なるスキーマに作成することが可能ですが、このときマルチ範囲型のスキーマについて権限確認が行なわれませんでした。
</p>
<pre>
（誤動作例：scm_without_privilegeに権限がなくともエラーなく実行できてしまう）
db1=> CREATE TYPE scm_with_privilege.typ1_range AS RANGE
        (SUBTYPE=int4, MULTIRANGE_TYPE_NAME=scm_without_privilege.typ1_multi)
CREATE TYPE
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a44780f41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c27ba08cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d92852d62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=08c397b02">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bca85e9f">&#167;</a></small></p>
<li>認証のコードでタイミング攻撃に安全な文字列比較を使うようになりました。(CVE-2026-6478)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これからはパスワードやハッシュ文字列などの検査で、memcpy()やstrcmp()に替えてtimingsafe_bcmp()を使用します。所要時間のデータ依存性がどれほど攻撃に有用であるかは不明ですが、安全のため置き換える判断がされました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d93ef4131">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4e7435b3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e27235e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c95275f18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4608619a1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e34acfda">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1604939b2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dcfcb92f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b282280e9">&#167;</a></small></p>
<li>libpqのPQfn()を安全でない関数であるとドキュメント記載し、libpq実装内部でも使用しないようになりました。(CVE-2026-6477)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
非整数の結果型に対してPQfn()には出力バッファのサイズが渡されないため、サーバから返ったデータのサイズが一致するか検査できません。悪意のサーバはこれを使ってクライアントのメモリを上書きできました。PQfn()は既に「廃れたもの」とドキュメント記載されていました。
</p>
<p>
PQfn()をresult_is_int引数に0を指定して使用しているクライアントで危険性を回避するには、使用するAPIを変更するほかありません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=be0136440">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d88c7be15">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=614474996">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a1f83ea">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ac723b2b">&#167;</a></small></p>
<li>pg_basebackupとpg_rewindでパス横断が防止されました。(CVE-2026-6475)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これらのアプリケーションでは入力から読み込まれた出力ファイルのパスを検証できていませんでした。そのため、（PostgreSQLサーバ側の）入力を与える悪意の者がこれらのアプリケーションにクライアント側の任意のファイル上書きをさせることができました。これからは絶対パスと親ディレクトリ参照を含むパスを拒絶するようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a67c540a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8f881e188">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6778af13e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0c83fe8e4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=498829dca">&#167;</a></small></p>
<li>contrib/intarrayのquery_int型とcontrib/ltreeのltxtquery型の中で、フィールドのオーバーフローが防止されました。(CVE-2026-6473)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
16ビットのフィールドがオーバーフローを起こすか検査されていなかったため、これらのデータ型として多すぎる要素数を持つ値を与えると、問合せを実行したバックエンドプロセスのクラッシュが発生する可能性がありました。これから、そのような値は ERROR になります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c5790ec4f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4d04cc48">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c1069c35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=84a9f2641">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=074702525">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05e73b5c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b429d887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6f0bff33d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fc1fd3d97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=479823a71">&#167;</a></small></p>
<li>contrib/ltreeのlquery型の長すぎる値を防止するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
64Kアイテムを超える値は内部オーバーフローを起こしていて、潜在的にスタック破壊や誤った問い合わせ結果をもたらすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f019f341">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8c3426110">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b6b26fde">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c2fa5b6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b545c3787">&#167;</a></small></p>
<li>contrib/spiでSQLインジェクションとバッファオーバーランが防止されました。(CVE-2026-6637)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
check_foreign_key()関数はキー値のクォート付加が不十分で、また、クエリの組み立てに固定長のバッファを使用していました。このモジュールはサンプルコードにすぎないとはいえ、このような危険な誤りは含まれるべきでないため、修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ebda7da9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dc64ef28">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=710995782">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8053235ab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b026df29">&#167;</a></small></p>
<li>照合順序を適用できる型では、等価条件が一意性を示すものと仮定するのでなく、非決定論的照合順序を検査するようになりました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
多数のプランナ最適化がこれを仮定していました。例えば、一意性インデックスがx列にあれば、ある1行だけが「WHERE x = 'abc'」を満たします。しかしながら、WHERE句にインデックスと異なる照合順序が付加されている場合、この結論は一般には安全ではありません。両方の照合順序が決定論的であるときは文字列の等価がビット単位での等価を意味するため安全ですが、非決定論的な場合にはそのように動作しないため、WHERE句またはインデックスに非決定論的な照合順序が適用される場合に、一意性を前提とした最適化で、誤った問い合わせ結果が返される可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8fd5e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1132af22c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c214b58b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b62f514ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d0e73bb18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=748fe9e60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=872c9fae7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8395446df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bed3ffbf9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13226050e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5a24cef08">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bab4f7fa5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=172034f6e">&#167;</a></small></p>
<li>結合の削除時に、RestrictInfo構造体内のリレーション参照が完全に削除されない問題が修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
この見落としにより、「ERROR:  FULL JOIN is only supported with merge-joinable or hash-joinable join conditions」といった予期しないプランナでのエラーを引き起こすことが判明しています。また、他のケースでも有効なプランが考慮されない原因となっていた可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fb94605">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=766d40286">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d509be4ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53cb4ec1d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=798dabe83">&#167;</a></small></p>
<li>プランナによるパーティションキー列とサブクエリ出力の照合が改善されました。  (Richard Guo) (18)</li>
<p>
オペランドをパーティションキーと比較する前に、オペランドから何もしない（no-opの）PlaceHolderVarsを削除します。この変更により、以前はパーティションのスキャンが不要であると認識できなかった場合でも、パーティションプルーニングが正常に実行されるようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e8b2bef7">&#167;</a></small></p>
<li>「ON t1.boolcol」のようなboolean型の列のみで構成される結合句を処理できるように、自己結合の削除処理が修正されました。  (Andrei Lepikhov, Tender Wang, Alexander Korotkov) (18)</li>
<p>
以前は、このような場合に「ERROR:  no relation entry for relid ...」が発生していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8b9d6497">&#167;</a></small></p>
<li>仮想生成列を持つテーブルで、カーソルを使った更新「UPDATE/DELETE ... WHERE CURRENT OF」が正常に動作するように修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
これまでは、実行時に「ERROR:  WHERE CURRENT OF on a view is not implemented」が発生する動作が報告されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3d03fbd5">&#167;</a></small></p>
<li>「INSERT ... ON CONFLICT」内のEXCLUDED列参照における仮想生成列の展開が修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
不具合によって、予期せぬエラー「ERROR:  unexpected virtual generated column reference」が発生したり、誤った問い合わせ結果が発生したりしていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cf38dedf6">&#167;</a></small></p>
<li>ルールアクションおよびルール条件における「NEW」生成列の誤った処理が修正されました。  (Richard Guo, Dean Rasheed) (18)(17)(16)(15)(14)</li>
<p>
以前は、このような列参照がINSERTの場合にNULLとなり、UPDATEの場合にはOLDと同じ値になっていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t21 (id int PRIMARY KEY, a int,
        gen int GENERATED ALWAYS AS (a * 2) VIRTUAL);
db1=# CREATE TABLE t21log (op text, old_gen int, new_gen int);
db1=# CREATE RULE r21i AS ON INSERT TO t21 DO ALSO
        INSERT INTO t21log VALUES ('I', NULL, NEW.gen);
db1=# CREATE RULE r21u AS ON UPDATE TO t21 DO ALSO
        INSERT INTO t21log VALUES ('U', OLD.gen, NEW.gen);
db1=# INSERT INTO t21 (id, a) VALUES (1, 10);
db1=# UPDATE t21 SET a = 100 WHERE id = 1;
db1=# SELECT * FROM t21log;
 op | old_gen | new_gen
----+---------+---------
 I  |  *null* |  *null*
 U  |      20 |      20
(2 rows)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e528bfe97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d6208939">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07b257189">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7062bd577">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e39951be">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  indexes on virtual generated columns are not supported」が修正されました。  (Robert Haas) (18)</li>
<p>
式インデックスの作成時に、このエラーが誤って報告されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cceb9c18a">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  generated columns are not supported in COPY FROM WHERE conditions」が修正されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
「COPY t23 FROM stdin WHERE tableoid > 0」のように「COPY FROM」のWHERE句でシステム列を使用すると、このエラーが誤って報告されることがありました。アサート有効のビルドでのアサート失敗も報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=11c2c0cc8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=681a91d29">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c7a6bbe6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07e833e3c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=40fa04e7c">&#167;</a></small></p>
<li>MERGEがrepeatable readモードまたはserializableモードで同時更新されるタプルを検出した場合に、「ERROR:  could not serialize access due to concurrent update」を出して直列化失敗を正しく報告するようになりました。  (Tender Wang) (18)(17)(16)(15)</li>
<p>
以前は、このような場合により低い分離レベルの場合と同じ動作をしていて、トランザクションがアボートせず、不整合が見過ごされる可能性がありました。
</p>
<pre>
（誤動作例 - 字下げは並行する別セッションをあらわします）
db1=# CREATE TABLE t24 (id int, v int);
db1=# INSERT INTO t24 VALUES (1,0);

　　　db1=# BEGIN;
　　　db1=*# UPDATE t24 SET v = v + 100;

db1=# START TRANSACTION ISOLATION LEVEL serializable;
db1=*# MERGE INTO t24 t USING (VALUES (1, 100)) AS s (id, inc) ON t.id = s.id
         WHEN MATCHED THEN UPDATE SET v = t.v + s.inc
         WHEN NOT MATCHED THEN INSERT (id, v) VALUES (s.id, s.inc);

　　　db1=*# COMMIT;

db1=*# SELECT * FROM t24;
 id |  v
----+-----
  1 |   0
  1 | 200
(2 rows)

db1=*# COMMIT;
db1=# SELECT * FROM t24;
 id |  v
----+-----
  1 | 200
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13fab378e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dcac93c0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f6e63d4b8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bfaae6fb">&#167;</a></small></p>
<li>ソーステーブルから列が削除されている場合における「CREATE TABLE ... LIKE ... INCLUDING STATISTICS」の動作が修正されました。  (Julien Tachoires) (18)(17)(16)(15)(14)</li>
<p>
LIKEで指定するテーブルが作成後にALTER TABLEで列の削除を行なっているときに該当します。このような場合、拡張統計オブジェクトが正しくコピーされなかったり、コマンドが下記のような予期せぬエラーを返す可能性がありました。
</p>
<pre>
ERROR:  cache lookup failed for attribute 3 of relation 17106
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=149c875fc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0104b447">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7bb519635">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=76d15a7ee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=81b56b47c">&#167;</a></small></p>
<li>「ALTER INDEX ... ATTACH PARTITION」で、そうすべき場合には親インデックスを有効とマークできるようになりました。  (Sami Imseih) (18)(17)(16)(15)(14)</li>
<p>
すべてのリーフインデックスが有効であるにもかかわらず、パーティションインデックスが無効とマークされたままになる特殊なケースが存在していました。本修正は、ユーザが手動でカタログを更新することなく、このような状況を補正する仕組みを提供します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5713ac248">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=becf6d269">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=313355d68">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0859000d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d809b16d1">&#167;</a></small></p>
<li>「ALTER TABLE ... SET NOT NULL」がシステムテーブル（カタログ）の変更が完了した後にのみオブジェクトアクセスフック関数を呼び出すように修正されました。  (Artur Zakirov) (18)</li>
<p>
これはpg_constraintにNOT NULL制約用の行が追加された際につくられた不具合の修正です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6958077ce">&#167;</a></small></p>
<li>ALTER FOREIGN DATA WRAPPERが、ラッパーオブジェクトのハンドラ関数への依存関係を削除しないように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
以前は、VALIDATORパラメータの指定により、誤ってハンドラ関数への依存関係が削除されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c11f87b1a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=876fa84a2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a19edb66a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3a35ab1d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6f369e58">&#167;</a></small></p>
<li>外部キー制約のトリガーに対する遅延実行指定が効かなくなる問題が修正されました。  (Yasuo Honda) (18)</li>
<p>
以前は「DEFERRABLE INITIALLY DEFERRED」として定義された外部キー制約が、「NOT ENFORCED」ステータスに設定された後、再び「ENFORCED」に戻されると「NOT DEFERRABLE」として動作していました。
</p>
<p>
この問題が発生している外部キー制約がある場合は、本マイナーバージョンアップ適用後に「ALTER TABLE ..」で再度「NOT ENFORCED」に設定してから「ENFORCED」に戻すことで修復できます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5db5e3396">&#167;</a></small></p>
<li>ドメインを許可するように「WITHOUT OVERLAPS」が修正されました。  (Jian He) (18)</li>
<p>
「UNIQUE/PRIMARY KEY ... WITHOUT OVERLAPS」で指定する重複しない列は範囲型またはマルチ範囲型である必要がありますが、そのような型を元にしたドメインも許可する必要がありました。これまでは以下のようなエラーになっていました。
</p>
<pre>
（修正前の動作例）
db1=# CREATE DOMAIN dtsrange AS tsrange CHECK (lower(VALUE) IS NOT NULL);
db1=# CREATE TABLE t30 (id int, tsr dtsrange, PRIMARY KEY (id, tsr WITHOUT OVERLAPS));
ERROR:  column "tsr" in WITHOUT OVERLAPS is not a range or multirange type
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49f3cb453">&#167;</a></small></p>
<li>マルチ範囲型を介して、複合型が再帰的に自身をメンバーとして含むことが禁止されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
これまでも ALTER TABLE ADD COLUMN や ALTER TYPE ADD ATTRIBUTE の際に、ドメイン、配列、複合型、範囲型を通して自身をメンバーとして含まないことを検査していましたが、マルチ範囲型を経由する場合について見落とされていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TYPE typ31 AS (a int, b int);
db1=# CREATE TYPE typ31range AS RANGE (subtype = typ31);
db1=# ALTER TYPE typ31 ADD ATTRIBUTE c typ31range;
→ 修正前は実行できてしまう
　 修正後は「ERROR:  composite type two_ints cannot be made a member of itself」
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ff8f27d6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54343f6f9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=06e304524">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34ebeb15c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7a1d5fc6">&#167;</a></small></p>
<li>Datumのイメージ比較が符号拡張の違いに依存しないよう修正されました。  (David Rowley) (18)(17)(16)(15)(14)</li>
<p>
従来は「ERROR:  could not find memoization table entry」といったエラーメッセージが出力されたり、誤った問合せ結果を招いていました。
</p>
<p>
DatumとはSQLの各種データ型の値を格納する汎用的な内部実装上のデータ型です。そのイメージ比較とはビット単位での一致を調べる処理です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49315de0c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d29808e35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1bd90c887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b2e091f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ce5c310b">&#167;</a></small></p>
<li>ハッシュ化された「IN」/「NOT IN」において、非STRICTな等価演算子を使用した場合の処理が修正されました。  (Chengpeng Yan) (18)(17)(16)(15)(14)</li>
<p>
これまでは、NULLを空文字と等価とする独自の等価演算子を拡張機能で定義している場合などで、NULLを含む検索時にクラッシュや誤った問い合わせ結果を引き起こす可能性がありました。
</p>
<p>
なお、組み込みデータ型の等価演算子はすべてSTRICTであるため、この問題は拡張機能で定義されたデータ型でのみ発生します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=035c520db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fda3e12f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a2a0060d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=622f8b530">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=109de35b7">&#167;</a></small></p>
<li>to_char()における、ロケール依存の長すぎる数値記号を切り詰められるようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
to_char()は、パターン内の各フォーマットコードごとに8バイトを見込んで出力バッファを確保しています。ロケールで指定された通貨記号、桁区切り記号、小数点記号、または符号記号が8バイトを超える場合、理論上はバッファオーバーランが発生する可能性がありました。
</p>
<p>
現実にはそのようなロケールは存在せず、さらに権限のない攻撃者がPostgresSQLサーバ配下に悪意あるロケール定義をインストールするのは現実的ではありませんが、安全性を考慮し、記号が長すぎる場合にはそれを検出し、必要に応じて切り詰めるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=580e7be88">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c97a28618">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1e60f148">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f60d25986">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a6f08c0c">&#167;</a></small></p>
<li>「Ispell」辞書用のaffixファイル解析時に発生し得るバッファオーバーランが防止されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
破損した、あるいは悪意あるaffixファイルによってサーバプロセスがクラッシュする可能性があったため、入力値検証を強化し、異常に長いデータを安全に扱えるよう修正されました。
</p>
<p>
なお、テキスト検索設定ファイルは信頼できるものと想定されているため、これはセキュリティ問題の扱いにはなりませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00c6e0819">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea5f0d176">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42383d32d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b196d3db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=21a24d709">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2bfeb3bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5426dbf8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17f72e037">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f852c9093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cae0c2bd">&#167;</a></small></p>
<li>ウィンドウ集約におけるフレーム開始位置および終了位置の計算で、整数オーバーフローが発生しないよう保護されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
ユーザ指定のオフセット値が非常に大きい場合（INT64_MAXに近い値）、予期せぬエラーや誤った問い合わせ結果を引き起こす可能性がありました。開発用ビルドではアサート失敗も報告されました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t36 (i int);
db1=# INSERT INTO t36 SELECT generate_series(1, 1000) g;
db1=# SELECT sum(i) 
        OVER (ROWS BETWEEN 0x7fffffffffffffff FOLLOWING AND 1 FOLLOWING), i FROM t36;
ERROR:  window frame head moved backward
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc7dff26">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f8736f8bc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0fe032e6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4da71fc37">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=305cf0df0">&#167;</a></small></p>
<li>array_agg_array_combine()が、配列のNULLビットマップを正しく結合するよう修正されました。  (Dmytro Astapov) (18)(17)(16)</li>
<p>
array_agg_array_combine() はarray_agg()集約関数の内部実装で使われている関数です。
</p>
<p>
この不具合により、NULLと非NULL要素が混在する入力において、並列化されたarray_agg(anyarray)の計算が失敗し、誤った問い合わせ結果が生じるおそれがありました。このエラーは並列ワーカーの実行タイミングに依存するため、再現性の低い不具合として現れていました。
</p>
<pre>
（並列実行プランのときに誤動作が発生する可能性のある問い合わせ例）
db1=# CREATE TABLE t37 (id int, grpid int, c1 int, c2 int, c3 int);
db1=# INSERT INTO t37 SELECT g, g % 10000, 
        nullif(g % 3, 0), nullif(g % 5, 0), nullif(g % 7, 0)
        FROM generate_series(1, 100000) g;
db1=# SELECT grpid, array_agg(ARRAY[c1, c2, c3]) FROM t37 GROUP BY grpid;
　→ この結果が並列実行プランを無効化したときと一致しない場合がある
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14bf2c39e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d6c9432cb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bb959269e">&#167;</a></small></p>
<li>sync_file_range()がエラーコード「EINTR」を返した場合に再試行するようになりました。  (DaeMyung Kang) (18)(17)(16)</li>
<p>
これまでは、割り込み発生時のリトライ処理が正しく機能していませんでした。sync_file_range()はファイル書き込みをストレージに反映させるときに使われるLinuxのシステムコールです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cb307251">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5499be332">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b35c10a4">&#167;</a></small></p>
<li>共有システムテーブル（カタログ）に対するpg_stat_reset_single_table_counters()の誤動作が修正されました。  (Chao Li) (18)(17)(16)(15)</li>
<p>
これまでは、共有システムテーブルに対して同関数を実行すると、現在のデータベースの「stat_reset_timestamp」（pg_stat_databaseシステムビューのstats_reset列で報告される値）が誤って更新されていました。
</p>
<pre>
（誤動作例）
db1=# SELECT now(), pg_stat_reset_single_table_counters('pg_authid'::regclass);
              now              | pg_stat_reset_single_table_counters
-------------------------------+-------------------------------------
 2026-05-22 13:07:49.624814+09 |
(1 row)

db1=# SELECT datname, stats_reset FROM pg_stat_database
        WHERE datname = current_database();
 datname |          stats_reset
---------+-------------------------------
 db1     | 2026-05-22 13:07:49.627562+09
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b081c5b07">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4fefb3e0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7cdcbd3e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6d3f0585">&#167;</a></small></p>
<li>並列applyワーカーがidle状態のときにアクティビティ統計を更新するようになりました。  (Zhijie Hou) (18)(17)(16)</li>
<p>
これまでは、直近に完了したトランザクションの統計情報が長時間報告されない場合があり、特にワークロードが軽い環境で顕著でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=44c8dc280">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=88d7fdcc9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d052f6c7d">&#167;</a></small></p>
<li>集合演算で配列長を推定中するときに、予期せぬエラー「ERROR:  no relation entry for relid 0」が発生することがあり、修正されました。  (Tender Wang) (18)(17)</li>
<p>
UNIONなどの集合演算で、元となる型の異なる配列型を型変換する場合に発生することがありました。
</p>
<pre>
（発生例）
db1=# SELECT null::int[] UNION ALL SELECT null::int[] UNION ALL SELECT null::bigint[];
ERROR:  no relation entry for relid 0
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13e20d1c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=93ed18720">&#167;</a></small></p>
<li>pglz_decompress()が破損した入力を受け取った場合にバッファの超過読み取りが発生することがあり、修正されました。  (Andrew Dunstan) (18)(17)(16)(15)(14)</li>
<p>
pglz_decompress()はpglz形式の圧縮データを展開する内部実装関数です。破損した圧縮データによって入力末尾を越えた読み取りが発生する可能性があり、ごくまれにクラッシュを引き起こすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3e436b1c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c05c3baf1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e630f65d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c88ad3a21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=de32a01e7">&#167;</a></small></p>
<li>インクリメンタルJSONパーサにおいて、入力バッファの境界をまたぐ数値トークンの処理が修正されました。  (Andrew Dunstan) (18)(17)</li>
<p>
JSON数値の文法に反する不正な形式の数値を受け入れてしまう可能性があり、その結果として後の処理でエラー（「ERROR:  invalid input syntax for type json」など）が発生することがありえました。デバッグ用ビルドではアサート失敗を引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e4955630">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2e373785e">&#167;</a></small></p>
<li>インクリメンタルバックアップのリストア時に、リレーションの可視性マップが肥大化することがあり、防止されました。  (Robert Haas) (18)(17)</li>
<p>
このリストア処理では、期待されるファイル長の計算が誤っていたため、可視性マップに多数のゼロブロックが追加される可能性がありました。これはデータ破損にはつながりませんが、大量のディスク領域を無用に消費する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9540c0e5d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=076bc57fa">&#167;</a></small></p>
<li>カタログキャッシュのテキスト列検索において、データベースのデフォルト照合順序ではなく、C照合順序が使用されるようになりました。  (Jeff Davis) (18)(17)</li>
<p>
これにより、データベースが特定できずデフォルト照合順序も決定できない特殊ケースでも、物理レプリケーションが開始できるようになります。pg_receivewalによるレプリケーション接続の開始時に「FATAL:  cannot read pg_class without having selected a database」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=03c4f243e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dda30dd3">&#167;</a></small></p>
<li>スタンバイサーバ昇格時に、応答待ちのまま停止したslotsyncワーカープロセスが昇格処理をブロックする問題が修正されました。  (Nisha Moond, Ajin Cherian) (18)(17)</li>
<p>
プライマリサーバからの応答を待ち続けていたワーカープロセスにより、昇格処理が不必要に長時間遅延することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=58c1188a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15910b1c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=acf49bfed">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=586f4266f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=94efd308b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4bed04d39">&#167;</a></small></p>
<li>アイドル状態のslotsyncワーカープロセスによる過剰なログ出力が修正されました。  (Zhijie Hou) (18)(17)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=540fe8fb5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=91741b7cb">&#167;</a></small></p>
<li>tuplestoreデータ構造で、エラー発生後に内部状態の不整合が生じないようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
通常は問題になりませんが、WITH HOLDカーソルのtuplestoreでは問題となる可能性がありました。PostgreSQL 15以前では、この問題により容易に再現可能なクラッシュが発生することがありました。PostgreSQL 16以降での影響は確認されていませんが、すべてのサポートバージョンで内部状態の整合性が保たれるよう修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=adb7873bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1f5b6a5e5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=59c139d53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=811f3263a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7cd23aad2">&#167;</a></small></p>
<li>pg_aiosシステムビューのpid列が、所有プロセスが存在しない場合に0ではなくNULLを示すようになりました。  (ChangAo Chen) (18)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=882bdcf9f">&#167;</a></small></p>
<li>pg_stat_replicationのlag列が実際より早い段階でNULLと報告されてしまう問題が修正されました。  (Shinya Kato) (18)(17)(16)(15)(14)</li>
<p>
特に論理レプリケーション環境で、レプリケーション処理中であるにもかかわらず、過度に早くNULLとなることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=98e96e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fdce5de55">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f42105001">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=246c296f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bf7ecf353">&#167;</a></small></p>
<li>並列Btreeインデックススキャンで使用される共有メモリの割り当て不足が修正されました。  (Siddharth Kothari) (18)</li>
<p>
稀なケースで、この共有メモリの割り当て不足によりサーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1e71970d2">&#167;</a></small></p>
<li>WAL出力無しのGiSTインデックスを使用する際に、稀に発生するフラッシュ失敗を回避するようになりました。  (Tomas Vondra) (18)(17)(16)(15)(14)</li>
<p>
WAL出力無しのGiSTインデックスにおいて、挿入ポイントを表す擬似LSNの選択が不適切であったため、誤って「ERROR: xlog flush request n/nnnn is not satisfied」が発生することがありました。（なお、ここでのWAL出力無しはUNLOGGEDテーブルを意味していません。）
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b3f63a1b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ef36bb35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4f4025eac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ce06b5740">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c0ffc725f">&#167;</a></small></p>
<li>変則的なサイズのセグメント使用時に、DSAページマップの必要サイズの過小評価が修正されました  (Paul Bunn) (18)(17)(16)(15)(14)</li>
<p>
この計算ミスにより、範囲外アクセスが発生し、サーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0f38604d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2543b9ea9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0af5e64e9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=46c93b705">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eb11d7a91">&#167;</a></small></p>
<li>共有メモリ内における最も古いマルチトランザクション配列のインデックス計算が修正されました。  (Yura Sokolov) (18)(17)</li>
<p>
PREPARED状態であるが、未コミットのトランザクションが保持する行ロックが他セッションから見えなくなるなど、可視性の不整合が発生する可能性がありました。また、max_connectionsが非常に小さい場合には、メモリ破壊が発生する可能性もありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0a50ef094">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dcd9c06a4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa3b328e6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=969576dab">&#167;</a></small></p>
<li>多数のEXPLAIN拡張オプションを登録した場合に発生する配列オーバーランが修正されました。  (Joel Jacobson) (18)</li>
<p>
この問題により、メモリ破損やサーバプロセスのクラッシュが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=730c98d03">&#167;</a></small></p>
<li>拡張データ型の式に対する拡張統計情報処理時にクラッシュが発生する可能性があり、修正されました。  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
データ型のtypanalyze関数が有効な統計情報を生成しない場合、NULLポインタ参照が発生する可能性がありました。PostgreSQL本体のtypanalyzeでは発生しませんが、拡張機能では発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=83671c0da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=530b6b02f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04745ba9c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f033abc6c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=038c7d4a3">&#167;</a></small></p>
<li>GROUP BY句で使用される結合エイリアス変数を正しく表示するよう修正されました。  (Tom Lane) (18)</li>
<p>
「SELECT ... t1 LEFT JOIN t2 USING (x) GROUP BY x」のようなクエリを含むビューにおいて、GROUP BY句のSQL文が内部からの逆解析時に誤って表示され、データベースのダンプ/リストアが失敗する可能性がありました。この問題は、「t1.x」と「t2.x」のデータ型が同一ではなく、「t1.x」側で暗黙的な型変換が必要だった場合にのみ発生しました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t1 (x integer, a numeric);
db1=# CREATE TABLE t2 (x bigint, b text);
db1=# CREATE VIEW test_view AS SELECT x::integer AS x FROM t1 LEFT JOIN t2 USING (x) GROUP BY x;
（18.3以前では、以下のように誤ったSQLへ逆解析される）
db1=# SELECT pg_get_viewdef('test_view'::regclass, true);
       pg_get_viewdef
-----------------------------
  SELECT t1.x::integer AS x +
    FROM t1                 +
      LEFT JOIN t2 USING (x)+
   GROUP BY (t1.x::bigint);
(1 row)

（この状態でダンプしリストアすると、以下のようなエラーが発生する）
$ pg_dump db1 > dump.sql
$ psql restore_test < dump.sql
ERROR:  column "t1.x" must appear in the GROUP BY clause or be used in an aggregate function
LINE 2:  SELECT (t1.x)::integer AS x
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2c1962a6">&#167;</a></small></p>
<li>ICUを使用した文字列処理における、軽微なメモリリークが修正されました。  (Jeff Davis) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4abf63c62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4761f2eee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4515c9b4">&#167;</a></small></p>
<li>startupプロセス失敗時に、他の子プロセスを適切にシャットダウンするよう修正されました。  (Ayush Tiwari) (18)(17)(16)(15)</li>
<p>
従来は「startupプロセス実行中は他のpostmaster子プロセスは存在しない」という古い前提に依存しており、postmasterの即時終了でも問題ないとされていました。残存した子プロセスも最終的にはpostmasterの終了を検知して自主的に終了しますが、より適切なシャットダウン手順が望まれていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affdb2dd5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e381843cf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d347f2cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23cebf672">&#167;</a></small></p>
<li>チェックポイントのWALリプレイ処理とマルチトランザクションID生成の間に存在する競合状態が修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
古いマイナーバージョンのプライマリからWALを追従するスタンバイサーバにおいて、「ERROR: could not access status of transaction」というエラーを伴うクラッシュおよび再起動ループが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0852643e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ca385032">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=77dff5d93">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5f412107">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e35e466f6">&#167;</a></small></p>
<li>walsenderプロセス終了時に無限待機状態となりうる不具合が修正されました。  (Anthonin Bonnefoy) (18)(17)(16)(15)(14)</li>
<p>
論理レプリケーションのパブリッシャ側のPostgreSQLを停止する際に、walsenderプロセスは未書き込みのWALがすべて書き出されるまで待機します。しかし、その書き出し要求が正しく行われていなかったため、状況によっては待機が終了せず、無限に停止処理が続く場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3eb2fecdb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bbbc0888b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=82935467a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42734f296">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3bf6f22ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=980498138">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ee536c89">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=da21ecf57">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa9f2e317">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f15471464">&#167;</a></small></p>
<li>リカバリ中にテーブルの空き領域マップ（FSM）の変更内容が確実に保持されるように修正されました。  (Alexey Makhmutov) (18)(17)(16)(15)(14)</li>
<p>
これまでは、WALリプレイ時にFSMの更新自体は行われていたものの、チェックサムが有効な場合に、FSMページのバッファがダーティページとして印付けされていませんでした。そのため、変更内容がディスクへ書き出されず、反映されない場合がありました。
</p>
<p>
スタンバイサーバでは、この問題により時間の経過とともにFSMの内容が実際のテーブル状態と大きく乖離することがありました。FSMはあくまでヒント情報として使用されるだけですが、スタンバイサーバがアクティブに昇格した際、FSMの大部分が更新によって修復されるまでの間、大きく性能低下するおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ac3b97db3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cf010f21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54537de35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ca259b084">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f5d1038d9">&#167;</a></small></p>
<li>ecpgプリプロセッサで、接続が確立されていない状態で一部の関数を呼び出した場合に、クラッシュする不具合が修正されました。  (Shruthi Gowda) (18)(17)(16)(15)(14)</li>
<p>
ECPGdeallocate_all()、ECPGprepared_statement()、ECPGget_desc()、および、ecpg_freeStmtCacheEntry()でセグメンテーション違反が生じました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e2688ea5e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5d67549d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7e4c871f4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6916f4410">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0e3f9732">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでtarファイルの読み込み処理が強化されました。  (Tom Lane) (18)</li>
<p>
これまでは、入力ファイルがtarファイルであるかどうか、さらにPostgreSQLが処理可能なtar形式かどうかの検証が十分に行われていませんでした。そのため、PostgreSQLではない他のtar作成ツールによって生成されたtarファイルを入力とした場合、想定外の形式であることで問題が生じる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=698eae7db">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでバックアップの展開およびtar読み込み処理における各種バグが修正されました。  (Andrew Dunstan, Tom Lane, Chao Li) (18)(17)(16)(15)</li>
<p>
具体的には、tarファイルのパディング領域の扱いの不備、特殊ケースにおいてLZ4圧縮データが破損する可能性、一部の異常系エラー条件の検査漏れ、圧縮／展開のエラー発生後に終了しないことによる連鎖的なエラー報告、メモリリークの発生、ということが含まれます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5095f3f4a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1298a4c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1590723f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d3bb7841b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a01a592b1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b198b093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cce939c71">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9a42888a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=78dc9a808">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2640c5ba7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=415cc943f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4548e8746">&#167;</a></small></p>
<li>pg_dumpにおいて、NOT NULL制約のNO INHERIT属性が正しく保持されるように修正されました。  (Jian He) (18)</li>
<p>
これまでは、一部のケースでNO INHERIT句がダンプ出力されませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3c8b63d7">&#167;</a></small></p>
<li>pg_dumpallにおいて、OIDが存在しないロールが権限を与えた場合にもGRANT文を出力するように、修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
これまでは、このような状態のGRANTがダンプ対象から除外される場合がありました。今回の修正で、PostgreSQL v16より前と同様に、GRANTED BY句を付けずにGRANT文を出力するよう変更されました。
</p>
<p>
なお、権限を与えたロールのOIDが存在しないことに対する警告メッセージは引き続き出力されますが、警告を出すのはソースサーバがPostgreSQL v16以降の場合のみに限定されます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b09158cc7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cd783d20">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4649c50a">&#167;</a></small></p>
<li>pg_upgradeにおいて、古いソースサーバへ接続する際に正しいプロトコルバージョンを使用するように修正されました。  (Jacob Champion) (18)(17)(16)(15)(14)</li>
<p>
これまでは、2018年2月のマイナーリリース（10.2、9.6.7、9.5.11、9.4.16、9.3.21）よりも古いPostgreSQLサーバからアップグレードを行う場合に、不具合が発生する可能性がありました。
</p>
<p>
「FATAL: unsupported frontend protocol ...」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1b2773179">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ad7fc3f1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a38ed212f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e726620d2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c47744ede">&#167;</a></small></p>
<li>contrib/basic_archiveが、起動時にアーカイブディレクトリが存在しなくてもよくなりました。  (Nathan Bossart) (18)(17)(16)(15)</li>
<p>
これまでは、起動時点でbasic_archive.archive_directoryに指定したディレクトリが存在しない場合、その設定自体が無効なものとして扱われました。今回の修正により、起動時点でディレクトリが存在しなくても、後からディレクトリが作成された場合にアーカイブ処理を継続できるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bde9ad315">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f510577de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=28c2b7896">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8fc45ac5d">&#167;</a></small></p>
<li>contrib/ltreeが、大文字小文字のフォールドで文字列のバイト長が変化する場合に対応できるように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
これまでは、大文字小文字を区別しないマッチングを指定するlqueryパターンにおいて、本来一致するはずのラベルにマッチしない場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b3c2a3d38">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53a57cae1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d1bd9a7dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed2c7ef7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b993167f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=058710d41">&#167;</a></small></p>
<li>contrib/pg_overexplainにおいて、RANGE_TABLEオプションの出力構造の不具合が修正されました。  (Satyanarayana Narlapuram) (18)</li>
<p>
これまでは、JSON、YAML、XML形式の出力で一部のフィールドが誤った位置に出力される場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6723d462d">&#167;</a></small></p>
<li>contrib/pg_stat_statementsで、pgss_query_texts.statファイルの解析中にエラーが発生した時に、メモリリークが発生しないように修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=25b02320e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=351e59f34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=52edaf9d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=92cf11171">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a6d03067f">&#167;</a></small></p>
<li>contrib/postgres_fdwにおいて、利用不能になった接続を早期に解放してしまうことでクラッシュすることがあり、修正されました。  (Etsuro Fujita) (18)(17)(16)(15)(14)</li>
<p>
オープン中のカーソルなどのデータ構造に接続オブジェクトへの参照が残っている可能性があるため、トランザクション終了まで接続オブジェクトのクローズを遅延させるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c318777da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af8f9248f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1352651c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34c18a225">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd5b36ab1">&#167;</a></small></p>
<li>タイムゾーンデータファイルがtzdata release 2026bに更新されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
ブリティッシュコロンビア州（America/Vancouver）は、2026年11月から通年でUTC-07を使用するようになります（事実上の恒久的な夏時間）。同地域のタイムゾーン略称がそれ以降「MST」になると想定しています。実際には別の略称へ変更される可能性もありますが、現時点では未確定です。
</p>
<p>
モルドバの歴史的変更も行なわれました。モルドバは2022年以降、EUの夏時間切替時刻に従っていたことが反映されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a431b6d6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c0eab6f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0465c999e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e28fc73d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affd929c9">&#167;</a></small></p>
</ol>

<div>
<a href="https://www.sraoss.co.jp/prod_serv/support/pgsql-mainte/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-pgsql" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、PostgreSQL/Pgpool-II のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PostgreSQL 14.23 に関する技術情報</title>
		<link>https://www.sraoss.co.jp/tech-blog/pgsql/14-23/</link>
		
		<dc:creator><![CDATA[データベース技術グループ]]></dc:creator>
		<pubDate>Thu, 28 May 2026 03:10:26 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[PostgreSQL 14]]></category>
		<category><![CDATA[PostgreSQL 14.22]]></category>
		<category><![CDATA[PostgreSQL 14.23]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20724</guid>

					<description><![CDATA[このリリースは 14.22 からの修正リリース（2026年 5月 14日リリース）です。 14.X からのアップデートではダンプ、リストアは不要です。 しかしながら、14.19 よりも前のバージョンからアップデートする場 ...]]></description>
										<content:encoded><![CDATA[<p>このリリースは 14.22 からの修正リリース（2026年 5月 14日リリース）です。<br />
14.X からのアップデートではダンプ、リストアは不要です。<br />
しかしながら、14.19 よりも前のバージョンからアップデートする場合には、<a href="/tech-blog/pgsql/14-19/" rel="noopener">14.19のリリース情報</a>も参照してください。</p>
<p><span id="more-20724"></span></p>
<h3>PostgreSQL 14.22 から 14.23 への変更点</h3>
<p>18.4, 17.10, 16.14, 15.18, 14.23 の各バージョンが同時にリリースされており、本ページでは共通の記載としています。各修正項目が適用されるバージョン系列番号を項目末尾に括弧書きで記載しています。</p>
<ol>
<li>スタートアップパケットの処理での際限ない再帰を防止するようになりました。(CVE-2026-6479)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
悪意のクライアントが、拒絶されたSSLとGSSの暗号化の要求を交互に何度も繰り返すことで、接続先バックエンドをクラッシュさせることができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f7a191f53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32a4ce55c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=66cf26b9e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fb66d302">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b4e66739">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6dffaeb8e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e6ef863">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fda4df6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14a4a7040">&#167;</a></small></p>
<li>メモリ割り当て計算における整数オーバーフローがいくつか修正されました。(CVE-2026-6473)  (Tom Lane, Nathan Bossart, Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
様々な場所のメモリ割り当てサイズの計算で整数オーバーフローの可能性について不注意がありました。整数オーバーフローにより小さすぎるメモリ確保が行なわれて、その結果、範囲外に書き込みが行なわれて、サーバプロセスのクラッシュを引き起こす可能性がありました。また、おそらく任意コード実行も可能と考えられます。
</p>
<p>
全てとは言えませんが、この危険があるのは概ね 32ビットビルドだけです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1c30458a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fe2720c45">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cfb610eaa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc5cea76">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=61a9b4b6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01e568b8c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01b5ef7df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aff71f87b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4032c9d98">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e31ef0720">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3cee4dc4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a2bea41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4f089c79">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fdb0907e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39bc8f2ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd8af778d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=26dd3cac2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c25973124">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fb0bc321d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bcfd848e7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=55328e3a9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=87357a606">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32c525eb6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=137013f60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=986753361">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=67dd6243d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c41f5534">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e24fb3247">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e49e9590d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e81995de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d1489d50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ebcfa7867">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f20b84081">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b11c3eadf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e0eba196">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7fb9f765">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e243e67">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=924b3e943">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d75b1dc96">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37842f3dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e5babf754">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=47dae5e74">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d106295b6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a423a256">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fbec9e50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e909812d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e42598a41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dc6c85ff4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c9447b8bd">&#167;</a></small></p>
<li>pg_createsubscriberコマンドで、オプションで指定されたサブスクリプション名を適切にクォートするようになりました。(CVE-2026-6476)  (Nathan Bossart) (18)(17)</li>
<p>
（ありそうにないことですが）信頼できない者がサブスクリプション名を任意に指定しているとして、サブスクリプション名にクォート無しのSQLコマンドを含めることで、SQLインジェクションが可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2e44c370">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d7de7fa84">&#167;</a></small></p>
<li>論理レプリケーションのオリジンの検査で、オブジェクト名を適切にクォートするようになりました。(CVE-2026-6638)  (Pavel Kohout) (18)(17)(16)</li>
<p>
「ALTER SUBSCRIPTION ... REFRESH PUBLICATION」はクォートを付加することなくSQLコマンドにスキーマ名とリレーション名を埋め込んでいて、これによりSQLインジェクションでパブリッシャ側で任意のSQL実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb35d7306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0f59b658">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=248a433cd">&#167;</a></small></p>
<li>ts_headline()関数で長すぎるオプションをエラーを出して拒絶するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
オプション「StartSel」「StopSel」「FragmentDelimiter」の文字列長は32Kbが上限でしたが、入力の検査が行われていませんでした。これを超える長い文字列の指定は、典型的にはサーバプロセスのクラッシュを引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=62ad26266">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed3dbbf4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5919e0005">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fe365693">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d267ffc4">&#167;</a></small></p>
<li>列のMCV（最頻値）統計情報をリストアするときに、誤った入力を検出するようになりました。(CVE-2026-6575)  (Michael Paquier) (18)</li>
<p>
プランナ統計情報をリストアする関数はMCV統計値の検証が不十分でした。そのため、誤った値を受け入れて、後のプランナのクラッシュを引き起こすことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=661095c40">&#167;</a></small></p>
<li>timeofday()およびpg_strfname()関数で、悪意のタイムゾーン名による攻撃を防ぐようになりました。(CVE-2026-6474)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
作りこまれたタイムゾーン設定により、pg_strfname()関数に続いて実行されるsnprintf()関数のテンプレート文字列引数に「%」シーケンスを渡すことができました。これにより潜在的にクラッシュやサーバメモリ暴露を引き起こすことができました。また、pg_strftime()で使われるサイズに限りのある出力バッファのオーバーフローを起こすこともありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba27389c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4197c880c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=24e0e3254">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=126a236ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a50ae8306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6e7a9ef3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a386d14fe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=79b7847c7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3fff3950">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c8226f52">&#167;</a></small></p>
<li>マルチ範囲型を作るときに、ユーザに指定されたスキーマに対するCREATE権限があることの確認が漏れており、修正されました。(CVE-2026-6472)  (Jelte Fennema-Nio) (18)(17)(16)(15)(14)</li>
<p>
マルチ範囲型は元となる範囲型と異なるスキーマに作成することが可能ですが、このときマルチ範囲型のスキーマについて権限確認が行なわれませんでした。
</p>
<pre>
（誤動作例：scm_without_privilegeに権限がなくともエラーなく実行できてしまう）
db1=> CREATE TYPE scm_with_privilege.typ1_range AS RANGE
        (SUBTYPE=int4, MULTIRANGE_TYPE_NAME=scm_without_privilege.typ1_multi)
CREATE TYPE
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a44780f41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c27ba08cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d92852d62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=08c397b02">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bca85e9f">&#167;</a></small></p>
<li>認証のコードでタイミング攻撃に安全な文字列比較を使うようになりました。(CVE-2026-6478)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これからはパスワードやハッシュ文字列などの検査で、memcpy()やstrcmp()に替えてtimingsafe_bcmp()を使用します。所要時間のデータ依存性がどれほど攻撃に有用であるかは不明ですが、安全のため置き換える判断がされました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d93ef4131">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4e7435b3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00e27235e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c95275f18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4608619a1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e34acfda">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1604939b2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dcfcb92f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b282280e9">&#167;</a></small></p>
<li>libpqのPQfn()を安全でない関数であるとドキュメント記載し、libpq実装内部でも使用しないようになりました。(CVE-2026-6477)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
非整数の結果型に対してPQfn()には出力バッファのサイズが渡されないため、サーバから返ったデータのサイズが一致するか検査できません。悪意のサーバはこれを使ってクライアントのメモリを上書きできました。PQfn()は既に「廃れたもの」とドキュメント記載されていました。
</p>
<p>
PQfn()をresult_is_int引数に0を指定して使用しているクライアントで危険性を回避するには、使用するAPIを変更するほかありません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=be0136440">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d88c7be15">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=614474996">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3a1f83ea">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ac723b2b">&#167;</a></small></p>
<li>pg_basebackupとpg_rewindでパス横断が防止されました。(CVE-2026-6475)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
これらのアプリケーションでは入力から読み込まれた出力ファイルのパスを検証できていませんでした。そのため、（PostgreSQLサーバ側の）入力を与える悪意の者がこれらのアプリケーションにクライアント側の任意のファイル上書きをさせることができました。これからは絶対パスと親ディレクトリ参照を含むパスを拒絶するようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a67c540a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8f881e188">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6778af13e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0c83fe8e4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=498829dca">&#167;</a></small></p>
<li>contrib/intarrayのquery_int型とcontrib/ltreeのltxtquery型の中で、フィールドのオーバーフローが防止されました。(CVE-2026-6473)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
16ビットのフィールドがオーバーフローを起こすか検査されていなかったため、これらのデータ型として多すぎる要素数を持つ値を与えると、問合せを実行したバックエンドプロセスのクラッシュが発生する可能性がありました。これから、そのような値は ERROR になります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c5790ec4f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4d04cc48">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c1069c35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=84a9f2641">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=074702525">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05e73b5c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b429d887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6f0bff33d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fc1fd3d97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=479823a71">&#167;</a></small></p>
<li>contrib/ltreeのlquery型の長すぎる値を防止するようになりました。(CVE-2026-6473)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
64Kアイテムを超える値は内部オーバーフローを起こしていて、潜在的にスタック破壊や誤った問い合わせ結果をもたらすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f019f341">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8c3426110">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b6b26fde">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c2fa5b6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b545c3787">&#167;</a></small></p>
<li>contrib/spiでSQLインジェクションとバッファオーバーランが防止されました。(CVE-2026-6637)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
check_foreign_key()関数はキー値のクォート付加が不十分で、また、クエリの組み立てに固定長のバッファを使用していました。このモジュールはサンプルコードにすぎないとはいえ、このような危険な誤りは含まれるべきでないため、修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ebda7da9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dc64ef28">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=710995782">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8053235ab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b026df29">&#167;</a></small></p>
<li>照合順序を適用できる型では、等価条件が一意性を示すものと仮定するのでなく、非決定論的照合順序を検査するようになりました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
多数のプランナ最適化がこれを仮定していました。例えば、一意性インデックスがx列にあれば、ある1行だけが「WHERE x = 'abc'」を満たします。しかしながら、WHERE句にインデックスと異なる照合順序が付加されている場合、この結論は一般には安全ではありません。両方の照合順序が決定論的であるときは文字列の等価がビット単位での等価を意味するため安全ですが、非決定論的な場合にはそのように動作しないため、WHERE句またはインデックスに非決定論的な照合順序が適用される場合に、一意性を前提とした最適化で、誤った問い合わせ結果が返される可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8fd5e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1132af22c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c214b58b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b62f514ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d0e73bb18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=748fe9e60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=872c9fae7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8395446df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bed3ffbf9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13226050e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5a24cef08">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bab4f7fa5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=172034f6e">&#167;</a></small></p>
<li>結合の削除時に、RestrictInfo構造体内のリレーション参照が完全に削除されない問題が修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
この見落としにより、「ERROR:  FULL JOIN is only supported with merge-joinable or hash-joinable join conditions」といった予期しないプランナでのエラーを引き起こすことが判明しています。また、他のケースでも有効なプランが考慮されない原因となっていた可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16fb94605">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=766d40286">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d509be4ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53cb4ec1d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=798dabe83">&#167;</a></small></p>
<li>プランナによるパーティションキー列とサブクエリ出力の照合が改善されました。  (Richard Guo) (18)</li>
<p>
オペランドをパーティションキーと比較する前に、オペランドから何もしない（no-opの）PlaceHolderVarsを削除します。この変更により、以前はパーティションのスキャンが不要であると認識できなかった場合でも、パーティションプルーニングが正常に実行されるようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e8b2bef7">&#167;</a></small></p>
<li>「ON t1.boolcol」のようなboolean型の列のみで構成される結合句を処理できるように、自己結合の削除処理が修正されました。  (Andrei Lepikhov, Tender Wang, Alexander Korotkov) (18)</li>
<p>
以前は、このような場合に「ERROR:  no relation entry for relid ...」が発生していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8b9d6497">&#167;</a></small></p>
<li>仮想生成列を持つテーブルで、カーソルを使った更新「UPDATE/DELETE ... WHERE CURRENT OF」が正常に動作するように修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
これまでは、実行時に「ERROR:  WHERE CURRENT OF on a view is not implemented」が発生する動作が報告されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3d03fbd5">&#167;</a></small></p>
<li>「INSERT ... ON CONFLICT」内のEXCLUDED列参照における仮想生成列の展開が修正されました。  (Satyanarayana Narlapuram, Dean Rasheed) (18)</li>
<p>
不具合によって、予期せぬエラー「ERROR:  unexpected virtual generated column reference」が発生したり、誤った問い合わせ結果が発生したりしていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cf38dedf6">&#167;</a></small></p>
<li>ルールアクションおよびルール条件における「NEW」生成列の誤った処理が修正されました。  (Richard Guo, Dean Rasheed) (18)(17)(16)(15)(14)</li>
<p>
以前は、このような列参照がINSERTの場合にNULLとなり、UPDATEの場合にはOLDと同じ値になっていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t21 (id int PRIMARY KEY, a int,
        gen int GENERATED ALWAYS AS (a * 2) VIRTUAL);
db1=# CREATE TABLE t21log (op text, old_gen int, new_gen int);
db1=# CREATE RULE r21i AS ON INSERT TO t21 DO ALSO
        INSERT INTO t21log VALUES ('I', NULL, NEW.gen);
db1=# CREATE RULE r21u AS ON UPDATE TO t21 DO ALSO
        INSERT INTO t21log VALUES ('U', OLD.gen, NEW.gen);
db1=# INSERT INTO t21 (id, a) VALUES (1, 10);
db1=# UPDATE t21 SET a = 100 WHERE id = 1;
db1=# SELECT * FROM t21log;
 op | old_gen | new_gen
----+---------+---------
 I  |  *null* |  *null*
 U  |      20 |      20
(2 rows)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e528bfe97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d6208939">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07b257189">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7062bd577">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e39951be">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  indexes on virtual generated columns are not supported」が修正されました。  (Robert Haas) (18)</li>
<p>
式インデックスの作成時に、このエラーが誤って報告されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cceb9c18a">&#167;</a></small></p>
<li>偽性のエラー「ERROR:  generated columns are not supported in COPY FROM WHERE conditions」が修正されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
「COPY t23 FROM stdin WHERE tableoid > 0」のように「COPY FROM」のWHERE句でシステム列を使用すると、このエラーが誤って報告されることがありました。アサート有効のビルドでのアサート失敗も報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=11c2c0cc8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=681a91d29">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c7a6bbe6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07e833e3c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=40fa04e7c">&#167;</a></small></p>
<li>MERGEがrepeatable readモードまたはserializableモードで同時更新されるタプルを検出した場合に、「ERROR:  could not serialize access due to concurrent update」を出して直列化失敗を正しく報告するようになりました。  (Tender Wang) (18)(17)(16)(15)</li>
<p>
以前は、このような場合により低い分離レベルの場合と同じ動作をしていて、トランザクションがアボートせず、不整合が見過ごされる可能性がありました。
</p>
<pre>
（誤動作例 - 字下げは並行する別セッションをあらわします）
db1=# CREATE TABLE t24 (id int, v int);
db1=# INSERT INTO t24 VALUES (1,0);

　　　db1=# BEGIN;
　　　db1=*# UPDATE t24 SET v = v + 100;

db1=# START TRANSACTION ISOLATION LEVEL serializable;
db1=*# MERGE INTO t24 t USING (VALUES (1, 100)) AS s (id, inc) ON t.id = s.id
         WHEN MATCHED THEN UPDATE SET v = t.v + s.inc
         WHEN NOT MATCHED THEN INSERT (id, v) VALUES (s.id, s.inc);

　　　db1=*# COMMIT;

db1=*# SELECT * FROM t24;
 id |  v
----+-----
  1 |   0
  1 | 200
(2 rows)

db1=*# COMMIT;
db1=# SELECT * FROM t24;
 id |  v
----+-----
  1 | 200
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13fab378e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dcac93c0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f6e63d4b8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bfaae6fb">&#167;</a></small></p>
<li>ソーステーブルから列が削除されている場合における「CREATE TABLE ... LIKE ... INCLUDING STATISTICS」の動作が修正されました。  (Julien Tachoires) (18)(17)(16)(15)(14)</li>
<p>
LIKEで指定するテーブルが作成後にALTER TABLEで列の削除を行なっているときに該当します。このような場合、拡張統計オブジェクトが正しくコピーされなかったり、コマンドが下記のような予期せぬエラーを返す可能性がありました。
</p>
<pre>
ERROR:  cache lookup failed for attribute 3 of relation 17106
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=149c875fc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0104b447">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7bb519635">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=76d15a7ee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=81b56b47c">&#167;</a></small></p>
<li>「ALTER INDEX ... ATTACH PARTITION」で、そうすべき場合には親インデックスを有効とマークできるようになりました。  (Sami Imseih) (18)(17)(16)(15)(14)</li>
<p>
すべてのリーフインデックスが有効であるにもかかわらず、パーティションインデックスが無効とマークされたままになる特殊なケースが存在していました。本修正は、ユーザが手動でカタログを更新することなく、このような状況を補正する仕組みを提供します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5713ac248">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=becf6d269">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=313355d68">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0859000d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d809b16d1">&#167;</a></small></p>
<li>「ALTER TABLE ... SET NOT NULL」がシステムテーブル（カタログ）の変更が完了した後にのみオブジェクトアクセスフック関数を呼び出すように修正されました。  (Artur Zakirov) (18)</li>
<p>
これはpg_constraintにNOT NULL制約用の行が追加された際につくられた不具合の修正です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6958077ce">&#167;</a></small></p>
<li>ALTER FOREIGN DATA WRAPPERが、ラッパーオブジェクトのハンドラ関数への依存関係を削除しないように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
以前は、VALIDATORパラメータの指定により、誤ってハンドラ関数への依存関係が削除されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c11f87b1a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=876fa84a2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a19edb66a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3a35ab1d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6f369e58">&#167;</a></small></p>
<li>外部キー制約のトリガーに対する遅延実行指定が効かなくなる問題が修正されました。  (Yasuo Honda) (18)</li>
<p>
以前は「DEFERRABLE INITIALLY DEFERRED」として定義された外部キー制約が、「NOT ENFORCED」ステータスに設定された後、再び「ENFORCED」に戻されると「NOT DEFERRABLE」として動作していました。
</p>
<p>
この問題が発生している外部キー制約がある場合は、本マイナーバージョンアップ適用後に「ALTER TABLE ..」で再度「NOT ENFORCED」に設定してから「ENFORCED」に戻すことで修復できます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5db5e3396">&#167;</a></small></p>
<li>ドメインを許可するように「WITHOUT OVERLAPS」が修正されました。  (Jian He) (18)</li>
<p>
「UNIQUE/PRIMARY KEY ... WITHOUT OVERLAPS」で指定する重複しない列は範囲型またはマルチ範囲型である必要がありますが、そのような型を元にしたドメインも許可する必要がありました。これまでは以下のようなエラーになっていました。
</p>
<pre>
（修正前の動作例）
db1=# CREATE DOMAIN dtsrange AS tsrange CHECK (lower(VALUE) IS NOT NULL);
db1=# CREATE TABLE t30 (id int, tsr dtsrange, PRIMARY KEY (id, tsr WITHOUT OVERLAPS));
ERROR:  column "tsr" in WITHOUT OVERLAPS is not a range or multirange type
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49f3cb453">&#167;</a></small></p>
<li>マルチ範囲型を介して、複合型が再帰的に自身をメンバーとして含むことが禁止されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
これまでも ALTER TABLE ADD COLUMN や ALTER TYPE ADD ATTRIBUTE の際に、ドメイン、配列、複合型、範囲型を通して自身をメンバーとして含まないことを検査していましたが、マルチ範囲型を経由する場合について見落とされていました。
</p>
<pre>
（誤動作例）
db1=# CREATE TYPE typ31 AS (a int, b int);
db1=# CREATE TYPE typ31range AS RANGE (subtype = typ31);
db1=# ALTER TYPE typ31 ADD ATTRIBUTE c typ31range;
→ 修正前は実行できてしまう
　 修正後は「ERROR:  composite type two_ints cannot be made a member of itself」
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ff8f27d6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54343f6f9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=06e304524">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34ebeb15c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7a1d5fc6">&#167;</a></small></p>
<li>Datumのイメージ比較が符号拡張の違いに依存しないよう修正されました。  (David Rowley) (18)(17)(16)(15)(14)</li>
<p>
従来は「ERROR:  could not find memoization table entry」といったエラーメッセージが出力されたり、誤った問合せ結果を招いていました。
</p>
<p>
DatumとはSQLの各種データ型の値を格納する汎用的な内部実装上のデータ型です。そのイメージ比較とはビット単位での一致を調べる処理です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49315de0c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d29808e35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1bd90c887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b2e091f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ce5c310b">&#167;</a></small></p>
<li>ハッシュ化された「IN」/「NOT IN」において、非STRICTな等価演算子を使用した場合の処理が修正されました。  (Chengpeng Yan) (18)(17)(16)(15)(14)</li>
<p>
これまでは、NULLを空文字と等価とする独自の等価演算子を拡張機能で定義している場合などで、NULLを含む検索時にクラッシュや誤った問い合わせ結果を引き起こす可能性がありました。
</p>
<p>
なお、組み込みデータ型の等価演算子はすべてSTRICTであるため、この問題は拡張機能で定義されたデータ型でのみ発生します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=035c520db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3fda3e12f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a2a0060d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=622f8b530">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=109de35b7">&#167;</a></small></p>
<li>to_char()における、ロケール依存の長すぎる数値記号を切り詰められるようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
to_char()は、パターン内の各フォーマットコードごとに8バイトを見込んで出力バッファを確保しています。ロケールで指定された通貨記号、桁区切り記号、小数点記号、または符号記号が8バイトを超える場合、理論上はバッファオーバーランが発生する可能性がありました。
</p>
<p>
現実にはそのようなロケールは存在せず、さらに権限のない攻撃者がPostgresSQLサーバ配下に悪意あるロケール定義をインストールするのは現実的ではありませんが、安全性を考慮し、記号が長すぎる場合にはそれを検出し、必要に応じて切り詰めるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=580e7be88">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c97a28618">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1e60f148">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f60d25986">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a6f08c0c">&#167;</a></small></p>
<li>「Ispell」辞書用のaffixファイル解析時に発生し得るバッファオーバーランが防止されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
破損した、あるいは悪意あるaffixファイルによってサーバプロセスがクラッシュする可能性があったため、入力値検証を強化し、異常に長いデータを安全に扱えるよう修正されました。
</p>
<p>
なお、テキスト検索設定ファイルは信頼できるものと想定されているため、これはセキュリティ問題の扱いにはなりませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00c6e0819">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea5f0d176">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42383d32d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b196d3db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=21a24d709">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2bfeb3bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5426dbf8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17f72e037">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f852c9093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cae0c2bd">&#167;</a></small></p>
<li>ウィンドウ集約におけるフレーム開始位置および終了位置の計算で、整数オーバーフローが発生しないよう保護されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
ユーザ指定のオフセット値が非常に大きい場合（INT64_MAXに近い値）、予期せぬエラーや誤った問い合わせ結果を引き起こす可能性がありました。開発用ビルドではアサート失敗も報告されました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t36 (i int);
db1=# INSERT INTO t36 SELECT generate_series(1, 1000) g;
db1=# SELECT sum(i) 
        OVER (ROWS BETWEEN 0x7fffffffffffffff FOLLOWING AND 1 FOLLOWING), i FROM t36;
ERROR:  window frame head moved backward
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfc7dff26">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f8736f8bc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0fe032e6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4da71fc37">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=305cf0df0">&#167;</a></small></p>
<li>array_agg_array_combine()が、配列のNULLビットマップを正しく結合するよう修正されました。  (Dmytro Astapov) (18)(17)(16)</li>
<p>
array_agg_array_combine() はarray_agg()集約関数の内部実装で使われている関数です。
</p>
<p>
この不具合により、NULLと非NULL要素が混在する入力において、並列化されたarray_agg(anyarray)の計算が失敗し、誤った問い合わせ結果が生じるおそれがありました。このエラーは並列ワーカーの実行タイミングに依存するため、再現性の低い不具合として現れていました。
</p>
<pre>
（並列実行プランのときに誤動作が発生する可能性のある問い合わせ例）
db1=# CREATE TABLE t37 (id int, grpid int, c1 int, c2 int, c3 int);
db1=# INSERT INTO t37 SELECT g, g % 10000, 
        nullif(g % 3, 0), nullif(g % 5, 0), nullif(g % 7, 0)
        FROM generate_series(1, 100000) g;
db1=# SELECT grpid, array_agg(ARRAY[c1, c2, c3]) FROM t37 GROUP BY grpid;
　→ この結果が並列実行プランを無効化したときと一致しない場合がある
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=14bf2c39e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d6c9432cb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bb959269e">&#167;</a></small></p>
<li>sync_file_range()がエラーコード「EINTR」を返した場合に再試行するようになりました。  (DaeMyung Kang) (18)(17)(16)</li>
<p>
これまでは、割り込み発生時のリトライ処理が正しく機能していませんでした。sync_file_range()はファイル書き込みをストレージに反映させるときに使われるLinuxのシステムコールです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cb307251">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5499be332">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b35c10a4">&#167;</a></small></p>
<li>共有システムテーブル（カタログ）に対するpg_stat_reset_single_table_counters()の誤動作が修正されました。  (Chao Li) (18)(17)(16)(15)</li>
<p>
これまでは、共有システムテーブルに対して同関数を実行すると、現在のデータベースの「stat_reset_timestamp」（pg_stat_databaseシステムビューのstats_reset列で報告される値）が誤って更新されていました。
</p>
<pre>
（誤動作例）
db1=# SELECT now(), pg_stat_reset_single_table_counters('pg_authid'::regclass);
              now              | pg_stat_reset_single_table_counters
-------------------------------+-------------------------------------
 2026-05-22 13:07:49.624814+09 |
(1 row)

db1=# SELECT datname, stats_reset FROM pg_stat_database
        WHERE datname = current_database();
 datname |          stats_reset
---------+-------------------------------
 db1     | 2026-05-22 13:07:49.627562+09
(1 row)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b081c5b07">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4fefb3e0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7cdcbd3e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6d3f0585">&#167;</a></small></p>
<li>並列applyワーカーがidle状態のときにアクティビティ統計を更新するようになりました。  (Zhijie Hou) (18)(17)(16)</li>
<p>
これまでは、直近に完了したトランザクションの統計情報が長時間報告されない場合があり、特にワークロードが軽い環境で顕著でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=44c8dc280">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=88d7fdcc9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d052f6c7d">&#167;</a></small></p>
<li>集合演算で配列長を推定中するときに、予期せぬエラー「ERROR:  no relation entry for relid 0」が発生することがあり、修正されました。  (Tender Wang) (18)(17)</li>
<p>
UNIONなどの集合演算で、元となる型の異なる配列型を型変換する場合に発生することがありました。
</p>
<pre>
（発生例）
db1=# SELECT null::int[] UNION ALL SELECT null::int[] UNION ALL SELECT null::bigint[];
ERROR:  no relation entry for relid 0
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13e20d1c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=93ed18720">&#167;</a></small></p>
<li>pglz_decompress()が破損した入力を受け取った場合にバッファの超過読み取りが発生することがあり、修正されました。  (Andrew Dunstan) (18)(17)(16)(15)(14)</li>
<p>
pglz_decompress()はpglz形式の圧縮データを展開する内部実装関数です。破損した圧縮データによって入力末尾を越えた読み取りが発生する可能性があり、ごくまれにクラッシュを引き起こすおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3e436b1c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c05c3baf1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e630f65d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c88ad3a21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=de32a01e7">&#167;</a></small></p>
<li>インクリメンタルJSONパーサにおいて、入力バッファの境界をまたぐ数値トークンの処理が修正されました。  (Andrew Dunstan) (18)(17)</li>
<p>
JSON数値の文法に反する不正な形式の数値を受け入れてしまう可能性があり、その結果として後の処理でエラー（「ERROR:  invalid input syntax for type json」など）が発生することがありえました。デバッグ用ビルドではアサート失敗を引き起こしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e4955630">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2e373785e">&#167;</a></small></p>
<li>インクリメンタルバックアップのリストア時に、リレーションの可視性マップが肥大化することがあり、防止されました。  (Robert Haas) (18)(17)</li>
<p>
このリストア処理では、期待されるファイル長の計算が誤っていたため、可視性マップに多数のゼロブロックが追加される可能性がありました。これはデータ破損にはつながりませんが、大量のディスク領域を無用に消費する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9540c0e5d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=076bc57fa">&#167;</a></small></p>
<li>カタログキャッシュのテキスト列検索において、データベースのデフォルト照合順序ではなく、C照合順序が使用されるようになりました。  (Jeff Davis) (18)(17)</li>
<p>
これにより、データベースが特定できずデフォルト照合順序も決定できない特殊ケースでも、物理レプリケーションが開始できるようになります。pg_receivewalによるレプリケーション接続の開始時に「FATAL:  cannot read pg_class without having selected a database」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=03c4f243e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dda30dd3">&#167;</a></small></p>
<li>スタンバイサーバ昇格時に、応答待ちのまま停止したslotsyncワーカープロセスが昇格処理をブロックする問題が修正されました。  (Nisha Moond, Ajin Cherian) (18)(17)</li>
<p>
プライマリサーバからの応答を待ち続けていたワーカープロセスにより、昇格処理が不必要に長時間遅延することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=58c1188a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15910b1c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=acf49bfed">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=586f4266f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=94efd308b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4bed04d39">&#167;</a></small></p>
<li>アイドル状態のslotsyncワーカープロセスによる過剰なログ出力が修正されました。  (Zhijie Hou) (18)(17)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=540fe8fb5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=91741b7cb">&#167;</a></small></p>
<li>tuplestoreデータ構造で、エラー発生後に内部状態の不整合が生じないようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
通常は問題になりませんが、WITH HOLDカーソルのtuplestoreでは問題となる可能性がありました。PostgreSQL 15以前では、この問題により容易に再現可能なクラッシュが発生することがありました。PostgreSQL 16以降での影響は確認されていませんが、すべてのサポートバージョンで内部状態の整合性が保たれるよう修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=adb7873bb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1f5b6a5e5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=59c139d53">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=811f3263a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7cd23aad2">&#167;</a></small></p>
<li>pg_aiosシステムビューのpid列が、所有プロセスが存在しない場合に0ではなくNULLを示すようになりました。  (ChangAo Chen) (18)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=882bdcf9f">&#167;</a></small></p>
<li>pg_stat_replicationのlag列が実際より早い段階でNULLと報告されてしまう問題が修正されました。  (Shinya Kato) (18)(17)(16)(15)(14)</li>
<p>
特に論理レプリケーション環境で、レプリケーション処理中であるにもかかわらず、過度に早くNULLとなることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=98e96e579">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fdce5de55">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f42105001">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=246c296f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bf7ecf353">&#167;</a></small></p>
<li>並列Btreeインデックススキャンで使用される共有メモリの割り当て不足が修正されました。  (Siddharth Kothari) (18)</li>
<p>
稀なケースで、この共有メモリの割り当て不足によりサーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1e71970d2">&#167;</a></small></p>
<li>WAL出力無しのGiSTインデックスを使用する際に、稀に発生するフラッシュ失敗を回避するようになりました。  (Tomas Vondra) (18)(17)(16)(15)(14)</li>
<p>
WAL出力無しのGiSTインデックスにおいて、挿入ポイントを表す擬似LSNの選択が不適切であったため、誤って「ERROR: xlog flush request n/nnnn is not satisfied」が発生することがありました。（なお、ここでのWAL出力無しはUNLOGGEDテーブルを意味していません。）
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b3f63a1b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ef36bb35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4f4025eac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ce06b5740">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c0ffc725f">&#167;</a></small></p>
<li>変則的なサイズのセグメント使用時に、DSAページマップの必要サイズの過小評価が修正されました  (Paul Bunn) (18)(17)(16)(15)(14)</li>
<p>
この計算ミスにより、範囲外アクセスが発生し、サーバがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0f38604d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2543b9ea9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0af5e64e9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=46c93b705">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eb11d7a91">&#167;</a></small></p>
<li>共有メモリ内における最も古いマルチトランザクション配列のインデックス計算が修正されました。  (Yura Sokolov) (18)(17)</li>
<p>
PREPARED状態であるが、未コミットのトランザクションが保持する行ロックが他セッションから見えなくなるなど、可視性の不整合が発生する可能性がありました。また、max_connectionsが非常に小さい場合には、メモリ破壊が発生する可能性もありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0a50ef094">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dcd9c06a4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa3b328e6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=969576dab">&#167;</a></small></p>
<li>多数のEXPLAIN拡張オプションを登録した場合に発生する配列オーバーランが修正されました。  (Joel Jacobson) (18)</li>
<p>
この問題により、メモリ破損やサーバプロセスのクラッシュが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=730c98d03">&#167;</a></small></p>
<li>拡張データ型の式に対する拡張統計情報処理時にクラッシュが発生する可能性があり、修正されました。  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
データ型のtypanalyze関数が有効な統計情報を生成しない場合、NULLポインタ参照が発生する可能性がありました。PostgreSQL本体のtypanalyzeでは発生しませんが、拡張機能では発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=83671c0da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=530b6b02f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04745ba9c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f033abc6c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=038c7d4a3">&#167;</a></small></p>
<li>GROUP BY句で使用される結合エイリアス変数を正しく表示するよう修正されました。  (Tom Lane) (18)</li>
<p>
「SELECT ... t1 LEFT JOIN t2 USING (x) GROUP BY x」のようなクエリを含むビューにおいて、GROUP BY句のSQL文が内部からの逆解析時に誤って表示され、データベースのダンプ/リストアが失敗する可能性がありました。この問題は、「t1.x」と「t2.x」のデータ型が同一ではなく、「t1.x」側で暗黙的な型変換が必要だった場合にのみ発生しました。
</p>
<pre>
（誤動作例）
db1=# CREATE TABLE t1 (x integer, a numeric);
db1=# CREATE TABLE t2 (x bigint, b text);
db1=# CREATE VIEW test_view AS SELECT x::integer AS x FROM t1 LEFT JOIN t2 USING (x) GROUP BY x;
（18.3以前では、以下のように誤ったSQLへ逆解析される）
db1=# SELECT pg_get_viewdef('test_view'::regclass, true);
       pg_get_viewdef
-----------------------------
  SELECT t1.x::integer AS x +
    FROM t1                 +
      LEFT JOIN t2 USING (x)+
   GROUP BY (t1.x::bigint);
(1 row)

（この状態でダンプしリストアすると、以下のようなエラーが発生する）
$ pg_dump db1 > dump.sql
$ psql restore_test < dump.sql
ERROR:  column "t1.x" must appear in the GROUP BY clause or be used in an aggregate function
LINE 2:  SELECT (t1.x)::integer AS x
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2c1962a6">&#167;</a></small></p>
<li>ICUを使用した文字列処理における、軽微なメモリリークが修正されました。  (Jeff Davis) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4abf63c62">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4761f2eee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4515c9b4">&#167;</a></small></p>
<li>startupプロセス失敗時に、他の子プロセスを適切にシャットダウンするよう修正されました。  (Ayush Tiwari) (18)(17)(16)(15)</li>
<p>
従来は「startupプロセス実行中は他のpostmaster子プロセスは存在しない」という古い前提に依存しており、postmasterの即時終了でも問題ないとされていました。残存した子プロセスも最終的にはpostmasterの終了を検知して自主的に終了しますが、より適切なシャットダウン手順が望まれていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affdb2dd5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e381843cf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d347f2cd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23cebf672">&#167;</a></small></p>
<li>チェックポイントのWALリプレイ処理とマルチトランザクションID生成の間に存在する競合状態が修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
古いマイナーバージョンのプライマリからWALを追従するスタンバイサーバにおいて、「ERROR: could not access status of transaction」というエラーを伴うクラッシュおよび再起動ループが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0852643e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ca385032">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=77dff5d93">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5f412107">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e35e466f6">&#167;</a></small></p>
<li>walsenderプロセス終了時に無限待機状態となりうる不具合が修正されました。  (Anthonin Bonnefoy) (18)(17)(16)(15)(14)</li>
<p>
論理レプリケーションのパブリッシャ側のPostgreSQLを停止する際に、walsenderプロセスは未書き込みのWALがすべて書き出されるまで待機します。しかし、その書き出し要求が正しく行われていなかったため、状況によっては待機が終了せず、無限に停止処理が続く場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3eb2fecdb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bbbc0888b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=82935467a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42734f296">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3bf6f22ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=980498138">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ee536c89">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=da21ecf57">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa9f2e317">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f15471464">&#167;</a></small></p>
<li>リカバリ中にテーブルの空き領域マップ（FSM）の変更内容が確実に保持されるように修正されました。  (Alexey Makhmutov) (18)(17)(16)(15)(14)</li>
<p>
これまでは、WALリプレイ時にFSMの更新自体は行われていたものの、チェックサムが有効な場合に、FSMページのバッファがダーティページとして印付けされていませんでした。そのため、変更内容がディスクへ書き出されず、反映されない場合がありました。
</p>
<p>
スタンバイサーバでは、この問題により時間の経過とともにFSMの内容が実際のテーブル状態と大きく乖離することがありました。FSMはあくまでヒント情報として使用されるだけですが、スタンバイサーバがアクティブに昇格した際、FSMの大部分が更新によって修復されるまでの間、大きく性能低下するおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ac3b97db3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cf010f21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54537de35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ca259b084">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f5d1038d9">&#167;</a></small></p>
<li>ecpgプリプロセッサで、接続が確立されていない状態で一部の関数を呼び出した場合に、クラッシュする不具合が修正されました。  (Shruthi Gowda) (18)(17)(16)(15)(14)</li>
<p>
ECPGdeallocate_all()、ECPGprepared_statement()、ECPGget_desc()、および、ecpg_freeStmtCacheEntry()でセグメンテーション違反が生じました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e2688ea5e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5d67549d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7e4c871f4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6916f4410">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0e3f9732">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでtarファイルの読み込み処理が強化されました。  (Tom Lane) (18)</li>
<p>
これまでは、入力ファイルがtarファイルであるかどうか、さらにPostgreSQLが処理可能なtar形式かどうかの検証が十分に行われていませんでした。そのため、PostgreSQLではない他のtar作成ツールによって生成されたtarファイルを入力とした場合、想定外の形式であることで問題が生じる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=698eae7db">&#167;</a></small></p>
<li>pg_basebackupおよびpg_verifybackupでバックアップの展開およびtar読み込み処理における各種バグが修正されました。  (Andrew Dunstan, Tom Lane, Chao Li) (18)(17)(16)(15)</li>
<p>
具体的には、tarファイルのパディング領域の扱いの不備、特殊ケースにおいてLZ4圧縮データが破損する可能性、一部の異常系エラー条件の検査漏れ、圧縮／展開のエラー発生後に終了しないことによる連鎖的なエラー報告、メモリリークの発生、ということが含まれます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5095f3f4a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1298a4c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1590723f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d3bb7841b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a01a592b1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b198b093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cce939c71">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9a42888a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=78dc9a808">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2640c5ba7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=415cc943f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4548e8746">&#167;</a></small></p>
<li>pg_dumpにおいて、NOT NULL制約のNO INHERIT属性が正しく保持されるように修正されました。  (Jian He) (18)</li>
<p>
これまでは、一部のケースでNO INHERIT句がダンプ出力されませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3c8b63d7">&#167;</a></small></p>
<li>pg_dumpallにおいて、OIDが存在しないロールが権限を与えた場合にもGRANT文を出力するように、修正されました。  (Tom Lane) (18)(17)(16)</li>
<p>
これまでは、このような状態のGRANTがダンプ対象から除外される場合がありました。今回の修正で、PostgreSQL v16より前と同様に、GRANTED BY句を付けずにGRANT文を出力するよう変更されました。
</p>
<p>
なお、権限を与えたロールのOIDが存在しないことに対する警告メッセージは引き続き出力されますが、警告を出すのはソースサーバがPostgreSQL v16以降の場合のみに限定されます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b09158cc7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1cd783d20">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4649c50a">&#167;</a></small></p>
<li>pg_upgradeにおいて、古いソースサーバへ接続する際に正しいプロトコルバージョンを使用するように修正されました。  (Jacob Champion) (18)(17)(16)(15)(14)</li>
<p>
これまでは、2018年2月のマイナーリリース（10.2、9.6.7、9.5.11、9.4.16、9.3.21）よりも古いPostgreSQLサーバからアップグレードを行う場合に、不具合が発生する可能性がありました。
</p>
<p>
「FATAL: unsupported frontend protocol ...」が発生するケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1b2773179">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ad7fc3f1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a38ed212f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e726620d2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c47744ede">&#167;</a></small></p>
<li>contrib/basic_archiveが、起動時にアーカイブディレクトリが存在しなくてもよくなりました。  (Nathan Bossart) (18)(17)(16)(15)</li>
<p>
これまでは、起動時点でbasic_archive.archive_directoryに指定したディレクトリが存在しない場合、その設定自体が無効なものとして扱われました。今回の修正により、起動時点でディレクトリが存在しなくても、後からディレクトリが作成された場合にアーカイブ処理を継続できるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bde9ad315">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f510577de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=28c2b7896">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8fc45ac5d">&#167;</a></small></p>
<li>contrib/ltreeが、大文字小文字のフォールドで文字列のバイト長が変化する場合に対応できるように修正されました。  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
これまでは、大文字小文字を区別しないマッチングを指定するlqueryパターンにおいて、本来一致するはずのラベルにマッチしない場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b3c2a3d38">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53a57cae1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d1bd9a7dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ed2c7ef7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b993167f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=058710d41">&#167;</a></small></p>
<li>contrib/pg_overexplainにおいて、RANGE_TABLEオプションの出力構造の不具合が修正されました。  (Satyanarayana Narlapuram) (18)</li>
<p>
これまでは、JSON、YAML、XML形式の出力で一部のフィールドが誤った位置に出力される場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6723d462d">&#167;</a></small></p>
<li>contrib/pg_stat_statementsで、pgss_query_texts.statファイルの解析中にエラーが発生した時に、メモリリークが発生しないように修正されました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=25b02320e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=351e59f34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=52edaf9d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=92cf11171">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a6d03067f">&#167;</a></small></p>
<li>contrib/postgres_fdwにおいて、利用不能になった接続を早期に解放してしまうことでクラッシュすることがあり、修正されました。  (Etsuro Fujita) (18)(17)(16)(15)(14)</li>
<p>
オープン中のカーソルなどのデータ構造に接続オブジェクトへの参照が残っている可能性があるため、トランザクション終了まで接続オブジェクトのクローズを遅延させるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c318777da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af8f9248f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1352651c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34c18a225">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd5b36ab1">&#167;</a></small></p>
<li>タイムゾーンデータファイルがtzdata release 2026bに更新されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
ブリティッシュコロンビア州（America/Vancouver）は、2026年11月から通年でUTC-07を使用するようになります（事実上の恒久的な夏時間）。同地域のタイムゾーン略称がそれ以降「MST」になると想定しています。実際には別の略称へ変更される可能性もありますが、現時点では未確定です。
</p>
<p>
モルドバの歴史的変更も行なわれました。モルドバは2022年以降、EUの夏時間切替時刻に従っていたことが反映されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a431b6d6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c0eab6f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0465c999e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e28fc73d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=affd929c9">&#167;</a></small></p>
</ol>

<div>
<a href="https://www.sraoss.co.jp/prod_serv/support/pgsql-mainte/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-pgsql" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、PostgreSQL/Pgpool-II のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Zabbix 7.4.9 のリリースノート</title>
		<link>https://www.sraoss.co.jp/tech-blog/zabbix/rn-7-4-9/</link>
		
		<dc:creator><![CDATA[基盤技術グループ]]></dc:creator>
		<pubDate>Thu, 21 May 2026 01:18:52 +0000</pubDate>
				<category><![CDATA[Zabbix]]></category>
		<category><![CDATA[Zabbix 7.0]]></category>
		<category><![CDATA[Zabbix 7.4.8]]></category>
		<category><![CDATA[zabbix 7.4.9]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20708</guid>

					<description><![CDATA[このドキュメントは 2026 年 04 月 08 日にリリースされた Zabbix 7.4.9 のリリースノートの日本語訳です。 ダウンロードは Zabbix ダウンロードより行えます。 以下はリリースの詳細と、最新情報 ...]]></description>
										<content:encoded><![CDATA[<p>このドキュメントは 2026 年 04 月 08 日にリリースされた <a href="https://www.zabbix.com/jp/rn/rn7.4.9" target="_blank" rel="noopener noreferrer">Zabbix 7.4.9 のリリースノート</a>の日本語訳です。<br />
ダウンロードは <a href="https://www.zabbix.com/download" target="_blank" rel="noopener noreferrer">Zabbix ダウンロード</a>より行えます。<br />
以下はリリースの詳細と、最新情報およびドキュメントを補足するその他情報について記載しています。</p>
<p><span id="more-20708"></span></p>
<h2>不具合修正</h2>
<ul>
<li style="margin: 12px 0;">GLPI メディアタイプの名前が変更されました。[Templates]（ZBX-27662）</li>
<li style="margin: 12px 0;">Zabbix agent 2 のスケジューラーにおけるメモリリークが修正されました。[Agent]（ZBX-27542）</li>
<li style="margin: 12px 0;">Zabbix agent 2 の誤った man ページが修正されました。[Documentation]（ZBX-27179）</li>
<li style="margin: 12px 0;">障害画面の更新時にヒントボックスが消える問題が修正されました。[Frontend]（ZBX-26341）</li>
<li style="margin: 12px 0;">既存レコードのインラインバリデーションが int32 を超える ID でも機能するように修正されました。[Frontend]（ZBX-27274）</li>
<li style="margin: 12px 0;">フォーム内の主要フィールドのフォーカスと選択の一貫性がない問題が修正されました。[Frontend]（ZBX-27044）</li>
<li style="margin: 12px 0;">トリガー概要ウィジェットで「障害の更新」をクリックした後に発生する eventid エラーが修正されました。[Frontend]（ZBX-26820）</li>
<li style="margin: 12px 0;">カスタム UI モジュールのトップドロップダウンメニューに設定リンクを表示できるようになりました。[Frontend]（ZBX-27056）</li>
<li style="margin: 12px 0;">新しいタイマーの追加または更新を確認する際にヒストリシンカーがブロックされる問題が修正されました。[Server]（ZBX-27582）</li>
<li style="margin: 12px 0;">GLPi メディアタイプにおいて、OAuth2 を使用した RESTful API v2 のサポートが追加され、エンドポイントが更新されました。[Templates]（ZBX-27147）</li>
<li style="margin: 12px 0;">非プロトタイプアイテムを持つプロトタイプトリガーを削除した後の設定同期中にクラッシュする問題が修正されました。[Server]（ZBX-27626）</li>
<li style="margin: 12px 0;">同じタイムスタンプのレコードに対して ID を使用するように、障害およびイベントの確認のソート順が修正されました。[API] [Frontend]（ZBX-26128）</li>
<li style="margin: 12px 0;">グラフのプロトタイプを削除した後のリダイレクト先が、同じグラフのプロトタイプリストページに変更されました。[Frontend]（ZBX-27123）</li>
<li style="margin: 12px 0;">グラフの時間セレクターがページ全体の更新を引き起こし、現在のページネーションが失われる問題が修正されました。[Frontend]（ZBX-27108）</li>
<li style="margin: 12px 0;">HPE iLO by HTTP テンプレートにおける取得不可（unsupported）アイテムが修正されました。[Templates]（ZBX-27058）</li>
<li style="margin: 12px 0;">メディアタイプ設定フォームにおいて、アクセストークンの更新時刻が現在の Unix タイムスタンプを超過した場合の OAuth トークンフィールドの挙動が調整されました。[Frontend]（ZBX-26799）</li>
<li style="margin: 12px 0;">Web シナリオアイテムのタグが Web シナリオのタグに対応するようにするためのオプションのアップグレードパッチが追加されました。[Installation]（ZBX-27306）</li>
<li style="margin: 12px 0;">バッチ処理で削除を行うことにより、Zabbix proxy の設定同期パフォーマンスが向上しました。[Proxy]（ZBX-27584）</li>
<li style="margin: 12px 0;">ウィジェットの列作成時に複数の列が作成されてしまう問題が修正されました。[Frontend]（ZBX-25988）</li>
<li style="margin: 12px 0;">削除されたサービスのリストを開くか更新する際に、アクセス不可のサービスエラーを表示するようにサービスリストが修正されました。[Frontend]（ZBX-26931）</li>
<li style="margin: 12px 0;">Zabbix agent 2 が proc.num に対して誤った結果を返すことがある問題が修正されました。[Agent]（ZBX-27312）</li>
<li style="margin: 12px 0;">素早く切り替えた際に両方のマクロタイプが表示されるのを防ぐため、ホストマクロのビューが修正されました。[Frontend]（ZBX-26459）</li>
<li style="margin: 12px 0;">「監視」-&gt;「障害」ページにおけるメッセージボックスの表示バグが修正されました。[Frontend]（ZBX-27416）</li>
<li style="margin: 12px 0;">インポート比較のための YAML マーキングが修正されました。[Frontend]（ZBX-26899）</li>
<li style="margin: 12px 0;">ホストウィザードにおけるホスト名のエラーメッセージが修正されました。[Frontend]（ZBX-27467）</li>
<li style="margin: 12px 0;">テンプレートに新しいテンプレートグループを追加する際に空のエラーメッセージが表示される問題が修正され、テンプレートグループとホストグループフィールドのインラインバリデーションが更新されました。[Frontend]（ZBX-26979）</li>
<li style="margin: 12px 0;">許可された期間のパラメーターバリデーションにおける、グラフの最大期間の計算方法が修正されました。[Frontend]（ZBX-26542）</li>
<li style="margin: 12px 0;">ホストウィザードのエージェントポートのバリデーションが変更され、1024 から 32767 までの値を受け付けるようになりました。[Frontend]（ZBX-26633）</li>
</ul>
<h2>機能追加・改良</h2>
<ul>
<li style="margin: 12px 0;">PHP の最大サポートバージョンが 8.5 に更新されました。[API] [Frontend]（ZBXNEXT-10121）</li>
<li style="margin: 12px 0;">TimescaleDB の最大サポートバージョンが 2.26 に更新されました。[API] [Server]（ZBXNEXT-10553）</li>
<li style="margin: 12px 0;">MySQL の最大サポートバージョンが 9.6 に更新されました。[API] [Proxy] [Server]（ZBXNEXT-10448）</li>
<li style="margin: 12px 0;">Cradlepoint NCM v2 by HTTP および Cradlepoint NCM v2 device by HTTP テンプレートが追加されました。[Templates]（ZBXNEXT-10422）</li>
<li style="margin: 12px 0;">IBM Maximo のサービスリクエスト作成用の Webhook が追加されました。[Templates]（ZBXNEXT-9961）</li>
<li style="margin: 12px 0;">MariaDB の最大サポートバージョンが 12.2 に更新されました。[Proxy] [Server]（ZBXNEXT-10477）</li>
<li style="margin: 12px 0;">Huawei AR600 デバイス用のテンプレートが実装されました。[Templates]（ZBXNEXT-10403）</li>
</ul>
<p>詳細は以下をご覧ください。</p>
<p><a href="https://www.zabbix.com/jp/rn/rn7.4.9" target="_blank" rel="noopener">https://www.zabbix.com/jp/rn/rn7.4.9</a></p>
<p>&nbsp;</p>
<div>
<a href="https://www.sraoss.co.jp/zabbix_lp/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-zabbix" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、Zabbix のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Zabbix 7.0.25 のリリースノート</title>
		<link>https://www.sraoss.co.jp/tech-blog/zabbix/rn-7-0-25/</link>
		
		<dc:creator><![CDATA[基盤技術グループ]]></dc:creator>
		<pubDate>Thu, 21 May 2026 01:16:41 +0000</pubDate>
				<category><![CDATA[Zabbix]]></category>
		<category><![CDATA[Zabbix 7.0]]></category>
		<category><![CDATA[Zabbix 7.0.24]]></category>
		<category><![CDATA[zabbix 7.0.25]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20705</guid>

					<description><![CDATA[このドキュメントは 2026 年 04 月 07 日にリリースされた Zabbix 7.0.25 のリリースノートの日本語訳です。 ダウンロードは Zabbix ダウンロードより行えます。 以下はリリースの詳細と、最新情 ...]]></description>
										<content:encoded><![CDATA[<p>このドキュメントは 2026 年 04 月 07 日にリリースされた <a href="https://www.zabbix.com/jp/rn/rn7.0.25" target="_blank" rel="noopener noreferrer">Zabbix 7.0.25 のリリースノート</a>の日本語訳です。<br />
ダウンロードは <a href="https://www.zabbix.com/download" target="_blank" rel="noopener noreferrer">Zabbix ダウンロード</a>より行えます。<br />
以下はリリースの詳細と、最新情報およびドキュメントを補足するその他情報について記載しています。</p>
<p><span id="more-20705"></span></p>
<h2>不具合修正</h2>
<ul>
<li style="margin: 12px 0;">GLPI メディアタイプの名前が変更されました。[Templates]（ZBX-27662）</li>
<li style="margin: 12px 0;">Zabbix agent 2 のスケジューラーにおけるメモリリークが修正されました。[Agent]（ZBX-27542）</li>
<li style="margin: 12px 0;">Zabbix agent 2 の誤った man ページが修正されました。[Documentation]（ZBX-27179）</li>
<li style="margin: 12px 0;">障害画面の更新時にヒントボックスが消える問題が修正されました。[Frontend]（ZBX-26341）</li>
<li style="margin: 12px 0;">フォーム内の主要フィールドのフォーカスと選択の一貫性がない問題が修正されました。[Frontend]（ZBX-27044）</li>
<li style="margin: 12px 0;">カスタム UI モジュールのトップドロップダウンメニューに設定リンクを表示できるようになりました。[Frontend]（ZBX-27056）</li>
<li style="margin: 12px 0;">新しいタイマーの追加または更新を確認する際にヒストリシンカーがブロックされる問題が修正されました。[Server]（ZBX-27582）</li>
<li style="margin: 12px 0;">GLPi メディアタイプにおいて、OAuth2 を使用した RESTful API v2 のサポートが追加され、エンドポイントが更新されました。[Templates]（ZBX-27147）</li>
<li style="margin: 12px 0;">非プロトタイプアイテムを持つプロトタイプトリガーを削除した後の設定同期中にクラッシュする問題が修正されました。[Server]（ZBX-27626）</li>
<li style="margin: 12px 0;">同じタイムスタンプのレコードに対して ID を使用するように、障害およびイベントの確認のソート順が修正されました。[API] [Frontend]（ZBX-26128）</li>
<li style="margin: 12px 0;">グラフの時間セレクターがページ全体の更新を引き起こし、現在のページネーションが失われる問題が修正されました。[Frontend]（ZBX-27108）</li>
<li style="margin: 12px 0;">HPE iLO by HTTP テンプレートにおける取得不可（unsupported）アイテムが修正されました。[Templates]（ZBX-27058）</li>
<li style="margin: 12px 0;">ウィジェットの列作成時に複数の列が作成されてしまう問題が修正されました。[Frontend]（ZBX-25988）</li>
<li style="margin: 12px 0;">削除されたサービスのリストを開くか更新する際に、アクセス不可のサービスエラーを表示するようにサービスリストが修正されました。[Frontend]（ZBX-26931）</li>
<li style="margin: 12px 0;">バッチ処理で削除を行うことにより、Zabbix proxy の設定同期パフォーマンスが向上しました。[Proxy]（ZBX-27584）</li>
<li style="margin: 12px 0;">Zabbix agent 2 が proc.num に対して誤った結果を返すことがある問題が修正されました。[Agent]（ZBX-27312）</li>
<li style="margin: 12px 0;">インポート比較のための YAML マーキングが修正されました。[Frontend]（ZBX-26899）</li>
<li style="margin: 12px 0;">テンプレートに新しいテンプレートグループを追加する際に、空のエラーメッセージが表示される問題が修正されました。[Frontend]（ZBX-26979）</li>
<li style="margin: 12px 0;">許可された期間のパラメーターバリデーションにおける、グラフの最大期間の計算方法が修正されました。[Frontend]（ZBX-26542）</li>
<li style="margin: 12px 0;">Web シナリオアイテムのタグが Web シナリオのタグに対応するようにするためのオプションのアップグレードパッチが追加されました。[Installation]（ZBX-27306）</li>
</ul>
<h2>機能追加・改良</h2>
<ul>
<li style="margin: 12px 0;">PHP の最大サポートバージョンが 8.5 に更新されました。[API] [Frontend]（ZBXNEXT-10121）</li>
<li style="margin: 12px 0;">TimescaleDB の最大サポートバージョンが 2.26 に更新されました。[API] [Server]（ZBXNEXT-10553）</li>
<li style="margin: 12px 0;">MySQL の最大サポートバージョンが 9.6 に更新されました。[API] [Proxy] [Server]（ZBXNEXT-10448）</li>
<li style="margin: 12px 0;">Cradlepoint NCM v2 by HTTP および Cradlepoint NCM v2 device by HTTP テンプレートが追加されました。[Templates]（ZBXNEXT-10422）</li>
<li style="margin: 12px 0;">IBM Maximo のサービスリクエスト作成用の Webhook が追加されました。[Templates]（ZBXNEXT-9961）</li>
<li style="margin: 12px 0;">MariaDB の最大サポートバージョンが 12.2 に更新されました。[Proxy] [Server]（ZBXNEXT-10477）</li>
</ul>
<p>詳細は以下をご覧ください。</p>
<p><a href="https://www.zabbix.com/jp/rn/rn7.0.25" target="_blank" rel="noopener">https://www.zabbix.com/jp/rn/rn7.0.25</a></p>
<p>&nbsp;</p>
<div>
<a href="https://www.sraoss.co.jp/zabbix_lp/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-zabbix" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、Zabbix のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Tomcat 11.0.21 のリリースノート</title>
		<link>https://www.sraoss.co.jp/tech-blog/tomcat/rn-11-0-21/</link>
		
		<dc:creator><![CDATA[基盤技術グループ]]></dc:creator>
		<pubDate>Fri, 24 Apr 2026 05:55:35 +0000</pubDate>
				<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Tomcat 11.0]]></category>
		<category><![CDATA[Tomcat 11.0.20]]></category>
		<category><![CDATA[Tomcat 11.0.21]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20557</guid>

					<description><![CDATA[このドキュメントは 2026 年 4 月 4 日にリリースされた Tomcat 11.0.21 のリリースノートの日本語訳です。 ダウンロードは Tomcat ダウンロードより行えます。 以下はリリースの詳細と、最新情報 ...]]></description>
										<content:encoded><![CDATA[<p>このドキュメントは 2026 年 4 月 4 日にリリースされた <a href="https://tomcat.apache.org/tomcat-11.0-doc/changelog.html#Tomcat_11.0.21_(markt)" target="_blank" rel="noopener noreferrer">Tomcat 11.0.21 のリリースノート</a>の日本語訳です。<br />
ダウンロードは <a href="https://tomcat.apache.org/download-11.cgi" target="_blank" rel="noopener noreferrer">Tomcat ダウンロード</a>より行えます。<br />
以下はリリースの詳細と、最新情報およびドキュメントを補足するその他情報について記載しています。</p>
<p><span id="more-20557"></span></p>
<h2>脆弱性修正</h2>
<p>* FFM が使用され、かつソフトフェイルが無効化されている場合でも、一部のシナリオにおいて CLIENT_CERT 認証が期待どおり失敗しない問題がありました。(CVE-2026-34500)</p>
<p>* クラスタリングコンポーネントのクラウドメンバーシップにおいて、ログファイルへの機密情報挿入の脆弱性により、Kubernetes のベアラートークンが漏洩する可能性がありました。(CVE-2026-34487)</p>
<p>* CVE-2026-29146 の修正における不備により、EncryptInterceptor がバイパスされる問題がありました。(CVE-2026-34486)</p>
<p>* Connector 属性の relaxedPathChars および/または relaxedQueryChars にデフォルト以外の値が設定されている場合、エスケープ処理が不完全となり、JSON アクセスログへ任意の JSON を注入できる問題がありました。(CVE-2026-34483)</p>
<h2>不具合修正(Catalina)</h2>
<p>* アクセスログにおいて、URI およびクエリ文字列のエスケープが追加されました。</p>
<h2>不具合修正(Coyote)</h2>
<p>* 無効な HEADERS フレームが受信された場合に、GOAWAY フレームなしで接続が閉じられてしまう可能性があった HTTP/2 ヘッダーフレーム解析の不具合が修正されました。</p>
<p>* NIO+TLS におけるノンブロッキングフラッシュ処理の不具合が修正され、接続が閉じられるまでレスポンスが完全に書き込まれない問題が修正されました。(69982)</p>
<p>* ストリームリセット後に、HTTP/2 リクエストヘッダー読み取りバッファが（デフォルトサイズへの復元を含めて）リセットされるようになりました。</p>
<p>* 各種 OCSP のエッジケースにおいて、OpenSSL FFM の挙動が Tomcat Native と一致するように調整されました。</p>
<h2>不具合修正(Cluster)</h2>
<p>* Kubernetes への接続試行および失敗時のログ出力の冗長性が削減されました。</p>
<p>* EncryptInterceptor におけるエラーハンドリングが改善されました。</p>
<h2>機能追加・改良(Coyote)</h2>
<p>* トレーラーフィールドに対して、非トレーラーフィールドと同等のフィルタリングが提供されるようになりました。制御文字 (TAB を除く) およびコードポイント 255 を超える文字はスペースに置き換えられるようになりました。</p>
<h2>機能追加・改良(Other)</h2>
<p>* bnd が 7.2.3 に更新されました。</p>
<p>* フランス語翻訳が改善されました。</p>
<p>* 日本語翻訳が改善されました。</p>
<p>詳細は以下をご覧ください。</p>
<p><a href="https://tomcat.apache.org/tomcat-11.0-doc/changelog.html#Tomcat_11.0.21_(markt)" target="_blank" rel="noopener">https://tomcat.apache.org/tomcat-11.0-doc/changelog.html#Tomcat_11.0.21_(markt)</a><br />
<a href="https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.21" target="_blank" rel="noopener">https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.21</a></p>
<div>
<a href="https://www.sraoss.co.jp/prod_serv/support/oss-pro-support/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-oss" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、各種OSS のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Tomcat 9.0.117 のリリースノート</title>
		<link>https://www.sraoss.co.jp/tech-blog/tomcat/rn-9-0-117/</link>
		
		<dc:creator><![CDATA[基盤技術グループ]]></dc:creator>
		<pubDate>Fri, 24 Apr 2026 05:52:21 +0000</pubDate>
				<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Tomcat 9.0]]></category>
		<category><![CDATA[Tomcat 9.0.116]]></category>
		<category><![CDATA[Tomcat 9.0.117]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=20552</guid>

					<description><![CDATA[このドキュメントは 2026 年 4 月 3 日にリリースされた Tomcat 9.0.117 のリリースノートの日本語訳です。 ダウンロードは Tomcat ダウンロードより行えます。 以下はリリースの詳細と、最新情報 ...]]></description>
										<content:encoded><![CDATA[<p>このドキュメントは 2026 年 4 月 3 日にリリースされた <a href="https://tomcat.apache.org/tomcat-9.0-doc/changelog.html#Tomcat_9.0.117_(remm)" target="_blank" rel="noopener noreferrer">Tomcat 9.0.117 のリリースノート</a>の日本語訳です。<br />
ダウンロードは <a href="https://tomcat.apache.org/download-90.cgi" target="_blank" rel="noopener noreferrer">Tomcat ダウンロード</a>より行えます。<br />
以下はリリースの詳細と、最新情報およびドキュメントを補足するその他情報について記載しています。</p>
<p><span id="more-20552"></span></p>
<h2>脆弱性修正</h2>
<p>* FFM が使用され、かつソフトフェイルが無効化されている場合でも、一部のシナリオにおいて CLIENT_CERT 認証が期待どおり失敗しない問題がありました。(CVE-2026-34500)</p>
<p>* クラスタリングコンポーネントのクラウドメンバーシップにおいて、ログファイルへの機密情報挿入の脆弱性により、Kubernetes のベアラートークンが漏洩する可能性がありました。(CVE-2026-34487)</p>
<p>* CVE-2026-29146 の修正における不備により、EncryptInterceptor がバイパスされる問題がありました。(CVE-2026-34486)</p>
<p>* Connector 属性の relaxedPathChars および/または relaxedQueryChars にデフォルト以外の値が設定されている場合、エスケープ処理が不完全となり、JSON アクセスログへ任意の JSON を注入できる問題がありました。(CVE-2026-34483)</p>
<h2>不具合修正(Catalina)</h2>
<p>* アクセスログにおいて、URI およびクエリ文字列のエスケープが追加されました。</p>
<h2>不具合修正(Coyote)</h2>
<p>* 無効な HEADERS フレームが受信された場合に、GOAWAY フレームなしで接続が閉じられてしまう可能性があった HTTP/2 ヘッダーフレーム解析の不具合が修正されました。</p>
<p>* NIO+TLS におけるノンブロッキングフラッシュ処理の不具合が修正され、接続が閉じられるまでレスポンスが完全に書き込まれない問題が修正されました。(69982)</p>
<p>* ストリームリセット後に、HTTP/2 リクエストヘッダー読み取りバッファが（デフォルトサイズへの復元を含めて）リセットされるようになりました。</p>
<p>* 各種 OCSP のエッジケースにおいて、OpenSSL FFM の挙動が Tomcat Native と一致するように調整されました。</p>
<h2>不具合修正(Cluster)</h2>
<p>* Kubernetes への接続試行および失敗時のログ出力の冗長性が削減されました。</p>
<p>* EncryptInterceptor におけるエラーハンドリングが改善されました。</p>
<h2>機能追加・改良(Coyote)</h2>
<p>* tomcat-native における OpenSSLEngine のバッファ再利用が、FFM コードと整合するように調整されました。</p>
<p>* トレーラーフィールドに対して、非トレーラーフィールドと同等のフィルタリングが提供されるようになりました。制御文字 (TAB を除く) およびコードポイント 255 を超える文字はスペースに置き換えられるようになりました。</p>
<h2>機能追加・改良(Other)</h2>
<p>* bnd が 7.2.3 に更新されました。</p>
<p>* フランス語翻訳が改善されました。</p>
<p>* 日本語翻訳が改善されました。</p>
<p>詳細は以下をご覧ください。</p>
<p><a href="https://tomcat.apache.org/tomcat-9.0-doc/changelog.html#Tomcat_9.0.117_(remm)" target="_blank" rel="noopener">https://tomcat.apache.org/tomcat-9.0-doc/changelog.html#Tomcat_9.0.117_(remm)</a><br />
<a href="https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.117" target="_blank" rel="noopener">https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.117</a></p>
<div>
<a href="https://www.sraoss.co.jp/prod_serv/support/oss-pro-support/?utm_source=sraoss-techblog&utm_medium=referral&utm_campaign=under-article-oss" rel="noopener" style="color:initial;" target="_blank" class="no-ext"></p>
<div style="background-color:#DAEFF6; padding:20px; border-radius:8px; text-align:center;">
SRA OSSでは、各種OSS のサポートを提供しております。<br />
詳しくは<strong style="color:#2581c4;">弊社ホームページ</strong>をご覧ください。
</div>
<p></a>
</div>

]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
