<?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>PostgreSQL 17.12 &#8211; SRA OSS Tech Blog</title>
	<atom:link href="https://www.sraoss.co.jp/tech-blog/tag/postgresql-17-12/feed/index.xml" rel="self" type="application/rss+xml" />
	<link>https://www.sraoss.co.jp/tech-blog/</link>
	<description>OSS専門の技術ブログ。PostgreSQL、Zabbixを中心に10種類以上のOSSの解説、アップデート情報、運用ヒントを提供。</description>
	<lastBuildDate>Wed, 02 Dec 2026 04:09:28 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://www.sraoss.co.jp/tech-blog/wp-content/uploads/2018/07/blog-icon-150x150.png</url>
	<title>PostgreSQL 17.12 &#8211; SRA OSS Tech Blog</title>
	<link>https://www.sraoss.co.jp/tech-blog/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>PostgreSQL 17.12 に関する技術情報</title>
		<link>https://www.sraoss.co.jp/tech-blog/pgsql/17-12/</link>
		
		<dc:creator><![CDATA[データベース技術グループ]]></dc:creator>
		<pubDate>Wed, 02 Dec 2026 01:04:59 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[PostgreSQL 17]]></category>
		<category><![CDATA[PostgreSQL 17.11]]></category>
		<category><![CDATA[PostgreSQL 17.12]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=21660</guid>

					<description><![CDATA[このリリースは 17.11 からの修正リリース（2026年 11月 12日リリース）です。 17.X からのアップデートではダンプ、リストアは不要です。 しかしながら、いくつかのバグ修正はそれに該当インデックスを修復する ...]]></description>
										<content:encoded><![CDATA[<p>このリリースは 17.11 からの修正リリース（2026年 11月 12日リリース）です。<br />
17.X からのアップデートではダンプ、リストアは不要です。</p>
<p>しかしながら、いくつかのバグ修正はそれに該当インデックスを修復するためにアップデート後にREINDEXが必要です。<br />
また、既存のインクリメンタルバックアップは破損している可能性があるため、アップデート後にフルバックアップを取ることを推奨します。</p>
<p>さらに、17.11 よりも前のバージョンからアップデートする場合には、<a href="/tech-blog/pgsql/17-11/" rel="noopener">17.11のリリース情報</a>も参照してください。</p>
<p><span id="more-21660"></span></p>
<h3>PostgreSQL 17.11 から 17.12 への変更点</h3>
<p>18.7, 17.12, 16.16, 15.20, 14.25 の各バージョンが同時にリリースされており、本ページでは共通の記載としています。各修正項目が適用されるバージョン系列番号を項目末尾に括弧書きで記載しています。</p>
<ol>
<li>データ操作と同時の複合型の変更（ALTER）で引き起こされる問題に対する防御が加わりました。(CVE-2026-6460)  (Heikki Linnakangas, Andres Freund, Nathan Bossart, Nikhil Sontakke) (18)(17)(16)(15)(14)</li>
<p>
古い行レイアウトのタプルが残っているかもしれないため、「ALTER TABLE .. ALTER COLUMN TYPE」のような操作は危険でした。これに対して防御するためのいくつかのチェックがこれまで行われてきましたが、それらは不十分で、複合型が型の使用中に変更されるケースを検出できませんでした。オブジェクト作成のできる攻撃者によるサービス実行OSユーザでの任意コード実行を許す可能性がありました。
</p>
<p>
複合型データと解釈したいタプル記述子の不一致を検出できるように、バージョン管理ロジックが導入されました。この変更による防御を有効にするために、いくつかの拡張モジュールは再ビルドやコード修正が必要となります。セキュリティリスクがあるものの、新たな設定パラメータcomposite_type_mismatchでこの検査を無効化することもできます。
</p>
<p>
コミットされていない「CREATE TABLE」で使用される複合型での「ALTER TYPE」のような状況を防ぐためにロックが追加されました。複合型に依存性が存在する場合に「ALTER COLUMN TYPE」が許可されるかどうかに関する規則が厳格化されました。例えば、関数のデフォルト式や新形式のSQL関数本体が型に依存している場合には、許可されなくなります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=31114b996">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=afaff70f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfcb6625e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c67a4a24b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=22762f03a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6be4e665d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7575d08c6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=692f4b3c4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e8bb75c8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9528f2f31">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ee30c1dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8587d949f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3f2ff7ec7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9ef1cd650">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=11658b4df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1d1650e52">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2f5acf4fd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6c24b35e7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b129f05ab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9ddd897b3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fbee8e90f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=148fc8249">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4428c073a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e0765b6d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15cf82750">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1bb9942e2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7d089b28c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e5c581cd4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=032544a39">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d0efd64b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a407e940d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bcc692493">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1e3b37da9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b219eed24">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e90dffb9e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0a10508be">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1fa8ddab4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bb66a4e82">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7e1aeaad3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fe0b6c8e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4a4fffe35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b1ff3ce04">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd097cae9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05fc87f95">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b65b69f2c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=62761302b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e9e6af6ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b093b461">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=61d0c57a6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d48d28c4b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23a1d8825">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4a090c2a7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0cba22849">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8513bfaa2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4744b0148">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=67d89bb22">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f234ae72b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=74681445e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d054d0f6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3cef207b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39e620324">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e72f4e91c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b019147c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5024810ad">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ece162bd7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1762f2e7c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8490bd80e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5db4823d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d4f8c3e15">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cf3fcd765">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bed004f15">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f32e9d5b4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4993b83c5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=26ff7cbd3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=800e67351">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1c0c88109">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e00986934">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea00db41c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37c733dd3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fdbb7ffbb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=83ec4accd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3429a10d4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b7b16664a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17a225d95">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f36ac883c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ff6d9deca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5da4d4b1b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ecdfe0307">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b94b7254f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f5782736c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dca6ff5dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7bc2d46d1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d5cf40e02">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2ce625266">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=646a2ae1b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bdef8fa63">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b600a62f2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dcb2ff56d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=98e9001cf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=726ef27b8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bd5d3e2df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f7dcd99b9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b2286331">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7c32010ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05283881a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd0278aa3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fe7810094">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e5da6768">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b8f65da6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=da2cb6090">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d3d599625">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0dcf804f2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=237847ddc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=510561c3f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c920299ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b1a2a8ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f397e0ae3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cfe611199">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5ce00ae09">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8f50a412">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3dc90fdf6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b5f46bf0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=391884d5c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b2c73d0e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eb64484eb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d9373e992">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e7f11a295">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=86e2e8fba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=edcd260d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=db59ee006">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f8be5d19">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17a138be4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=97e0a9c4e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4b7a4c2c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d835dc88d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=deebcc772">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=813d92afc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3964f037d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7209daf61">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=79ddf5bb8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cfdd09589">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bcbcbd5a2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0c8ffa1ad">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c23382f0a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1d74a4aaf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b48cb76d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5f0add5cf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9f6302533">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=788915adf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=434594e74">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4ba2720b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3afe22bbc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=30d81a0ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d0b52be9b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0453c5539">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=825e1bd41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb85ce77f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c5f9a41d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=edcc027ee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5f8d39154">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5968dfa67">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6d8d8438b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37218773e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=412297476">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3643ce425">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d0db2258">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7875e1ec6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cc4434f15">&#167;</a></small></p>
<li>内部実装関数 ExecEvalFieldStoreForm()、ExecEvalFieldStoreDeForm() が、並行する行型の変更に対応できるようになりました。(CVE-2026-116306)  (Tomas Vondra, Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
これらの関数はタプルデータを組み立てる処理・読み取る処理をするものです。本セキュリティ障害で、クラッシュを起こすほか、オブジェクト作成のできる攻撃者によるサービス実行OSユーザでの任意コード実行を許す可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2ac7e6e8a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4ccea70a1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=02ca67429">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=71c8a6ac4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=357a99a4d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8f249272">&#167;</a></small></p>
<li>プランナ統計情報をインポートする関数の実行中に、悪意のテーブル定義変更が行なわれるのを防ぐようになりました。(CVE-2026-116329)  (Masahiko Sawada) (18)</li>
<p>
これまでは、この方法でテーブル定義と一致しない統計情報を格納することができて、クラッシュを引き起こしたり、サービス実行OSユーザでの任意コード実行を許したりする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ee7c8f051">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=780900dcf">&#167;</a></small></p>
<li>「INSERT ... ON CONFLICT」においてビューの行可視性が制限されるようになりました。(CVE-2026-16237)  (Peter Geoghegan, Zsolt Parragi) (18)(17)(16)(15)(14)</li>
<p>
ビューに対して「INSERT ... ON CONFLICT DO UPDATE」を実行するとき、ビュー定義のWHERE句により見えるべきでない行を更新する可能性がありました。これはドキュメント記載されている動作ですが、この振る舞いは、予期されず、アクセスできないはずの行の更新ができてしまうというセキュリティ問題を起こしました。
</p>
<p>
これからは「ERROR:  conflicting row is not visible through view ...」が出るようになります。本項は仕様変更を伴う修正といえます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=253252429">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a244ef271">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a14aacebe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=629f54970">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bbd75721">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4167810cf">&#167;</a></small></p>
<li>「REASSIGN OWNED」の呼び出し権限検査が「ALTER ... OWNER TO」と揃えられました。(CVE-2026-120146)  (Zsolt Parragi) (18)(17)(16)(15)(14)</li>
<p>
v16から、オブジェクトの所有者を他のロールに渡すには、渡す先のロールに「SET ROLE」できる権限が必要とされてきました。しかしながら、「INHERIT TRUE, SET FALSE」で権限付与されたロールが、「REASSIGN OWNED」を使って、検査をすり抜けることができました。
</p>
<pre>
（問題となる動作例）
$ psql -U foo db1
db1=&gt; \drg foo
            List of role grants
 Role name | Member of | Options | Grantor
-----------+-----------+---------+----------
 foo       | bar       | INHERIT | postgres
(1 row)

db1=&gt; ALTER TABLE t OWNER TO bar;
ERROR:  must be able to SET ROLE "bar"

db1=&gt; REASSIGN OWNED BY foo TO bar;
REASSIGN OWNED
</pre>
<p>
「INHERIT FALSE, SET TRUE」で権限付与されたロールは、逆に「REASSIGN OWNED」には成功して、「ALTER ... OWNER TO」に失敗しました。本修正で「ALTER ... OWNER TO」の規則に揃えられました。
</p>
<p>
「REASSIGN OWNED」では「ALTER DATABASE ... OWNER」でのCREATE権限の検査もすり抜けしており、これも修正されます。なお、v14とv15では(CREATE権限の検査以外で)「REASSIGN OWNED」の権限検査が「ALTER .. OWNER TO」よりも厳しくなっていましたが、これはこのままとされました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b6f8c974">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea228688e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b8d1768f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dbc8a36d7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=98ec97f67">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b83eab069">&#167;</a></small></p>
<li>「COPY FROM .. ON_ERROR」での解放後メモリの使用が修正されました。(CVE-2026-116310)  (Masahiko Sawada) (18)(17)</li>
<p>
この障害により「COPY FROM」でエラー報告が起きるとき、サーバメモリ露出が生じるおそれがありました。バージョン 18.x では file_fdw でも同様の影響があり、修正されています。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b3babb6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d9f203b8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3094cdb7d">&#167;</a></small></p>
<li>セットアップ中のポータルが閉じれないようにされました。(CVE-2026-116332)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
この変更は様々な解放後メモリの使用を防止するねらいです。本脆弱性により、オブジェクト作成権限を持つユーザによる、サービス実行OSユーザでの任意コード実行が可能でした。
</p>
<p>
ポータルとはPostgreSQL内部実装のおいて問合せの実行状態を保持するものです。SQL実行の振る舞い変更としては、OPEN直後のカーソルのCLOSEを試みたときに、「ERROR:  cannot drop portal "cur1" while it is being set up」が出る場合が発生するようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b63c8123e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a2982de9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=36f42216e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=38783780f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c65fee830">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=69b973c65">&#167;</a></small></p>
<li>トリガー関数の終わりに遷移テーブルに関連付けられたポータルを強制クローズするようになりました。(CVE-2026-120143)  (Jeff Davis) (18)(17)(16)(15)(14)</li>
<p>
この変更により解放後メモリの使用を回避します。本脆弱性により、オブジェクト作成権限を持つユーザによる、サービス実行OSユーザでの任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9ee5586a2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=983bcb768">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=695d72c57">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b2bd1dc1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bccc9f389">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=84a4e2c18">&#167;</a></small></p>
<li>共有タプルデスクリプタ管理において、解放後メモリの使用をひきおこす競合状態が修正されました。(CVE-2026-116304)  (Robert Haas) (18)(17)(16)(15)(14)</li>
<p>
任意SQLを実行できるデータベースユーザにより、パラレル問い合わせを通して、サービス実行OSユーザでの任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4285796c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=861b5a869">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4d40a6ae">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba00c3576">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=49521f66d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=792356244">&#167;</a></small></p>
<li>pg_show_all_settings()関数での解放後メモリの使用が修正されました。(CVE-2026-120152)  (Masahiko Sawada) (18)(17)(16)</li>
<p>
本関数の実行中にモジュールをロードすることでデータベースユーザが、サーバメモリ内容を取得することが可能でした。クラッシュも発生します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=369fe93c0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=921b93f25">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=46c7529fa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15b78dc39">&#167;</a></small></p>
<li>拡張されたレコードのドメイン制約検査において、解放後メモリの使用が修正されました。(CVE-2026-120150)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
ドメインの基底型に複合型を使った場合に拡張されたレコードが使われます。本障害により、クラッシュを引き起こすほかに、オブジェクト作成権限を持つユーザにより、サービス実行OSユーザでの任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05740dd40">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d91c1c78">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f4d200615">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4614c78a8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7c822f343">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f4ca5327a">&#167;</a></small></p>
<li>generationメモリコンテキストで、大きな割り当てが解放された後に生じるメモリ破壊が防止されました。(CVE-2026-116328)  (Heikki Linnakangas) (18)(17)(16)(15)</li>
<p>
generationメモリコンテキストはエグゼキュータにおいて、Hash Join、Hash Aggregate、Memoizeの実行でしばしば使われます。バージョン16.x、17.x、18.x では、データベースユーザにより、サービス実行OSユーザでの任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dfb3505b9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53a34a4de">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f34ccffdd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=735b0dc1a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d322a971">&#167;</a></small></p>
<li>ts_delete()の内部実装関数tsvector_delete*()のバッファオーバランが修正されました。  (Anthropic OSS program) (18)(17)(16)(15)(14)</li>
<p>
作りこまれた入力に対して、結果用に割り当てられた領域を超えた書き込みを引き起こすおそれがありました。ts_delete()関数を含む問合せを任意に実行できるデータベースユーザにより、サービス実行OSユーザでの任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=418f055bf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c2cadacd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cacc71935">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=834255ca8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3efcadec9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d681b9f6a">&#167;</a></small></p>
<li>ts_rank_cd()関数のバッファオーバーランが修正されました。(CVE-2026-116317)  (Anthropic OSS program) (18)(17)(16)(15)(14)</li>
<p>
作りこまれた入力に対して、結果用に割り当てられた領域を超えた書き込みを引き起こすおそれがありました。ts_rank_cd()関数を含む問合せを任意に実行できるデータベースユーザにより、サービス実行OSユーザでの任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f920b3c30">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e97c9a1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f8424ece">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d7573b00">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=44a414c99">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=530a034aa">&#167;</a></small></p>
<li>要素割り当てを通した不正なname型の値の構築が防止されました。(CVE-2026-116321)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
配列要素の値をセットする内部実装関数array_set_element()は、name型の値の最後のバイトを非ゼロにするために悪用される可能性がありました。後に末尾が非ゼロのname型の値を参照すると、終端を超えて読み取られました。これにより、クラッシュやサーバメモリ露出が発生しました。
</p>
<p>
本修正では、合わせて不正な文字エンコーディングでの構築も防止されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=82ffa9d00">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b3ef92518">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5788eaee3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c673c0a61">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ca1c604c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4d2710136">&#167;</a></small></p>
<li>「CaseTestExpr」または内部「Param」ノードへの非LEAKPROOFな関数の適用を、非LEAKPROOFとして扱うようになりました。(CVE-2026-116327)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
エグゼキュータツリーに紐づく「CaseTestExpr」や内部「Param」は、問合せのどこかにある式の値をあらわします。これらの式が「Var」を含んでいる場合には、情報漏洩の可能性がありました。そこで、式がLEAKPROOFであるかに応じて、このような場合を出力から外すようにされました。
</p>
<p>
この障害により、ビューのsecurity_barrier指定による保護をすり抜けたデータ参照が発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=36a8cb70a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9a96032e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=606c23540">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fad845598">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b33b48031">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eca4935d2">&#167;</a></small></p>
<li>入力と出力の型が一致しない集約に対するインデックスベースのプランを生成しないようになりました。(CVE-2026-116331)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
これまでは、集約に「SORTOP」オプションが付いていたなら、盲目的にこのようなプラン生成を行なっていました。インデックスベースのプランは集約の入力列を返し、宣言されている出力型と違っていた場合には、型違反や潜在的な任意コード実行がもたらされました。
</p>
<p>
マスターブランチでは、このような集約の宣言が禁止されました。リリース済みブランチでは、プラン作成時の型不一致の検査が追加されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=75c0441ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c03c7c48">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd2cd3803">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=63b204d9f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d35f66916">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0eba29495">&#167;</a></small></p>
<li>キャンセル要求パケットの処理が、安全に処理できるようになるまで遅延されました。(CVE-2026-116322)  (Michael Paquier) (18)</li>
<p>
タイミングが悪いと攻撃者が悪用して、キャンセル要求パケットを受け取るプロセスをスピンロックを保持している間に終了させることができました。その結果、クラッシュとサービス再起動が引き起こされます。
</p>
<p>
本障害により、ネットワーク接続が可能なクライアントから、PostgreSQLのサービス停止やサービス再起動を起こすことができます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f63b47aa1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e1cc4a893">&#167;</a></small></p>
<li>パーティションテーブルに対する、UPDATEに続いてINSERTを行うMERGEで、トリガの遷移テーブルへの誤ったタプルの挿入を回避するようになりました。(CVE-2026-116312)  (Heikki Linnakangas, Jacek Bylina, Jacob Robertson, Nigel Gott) (18)(17)(16)(15)</li>
<p>
本障害により、遷移テーブルを参照する処理で本来得られない行データが参照されるおそれがありました。
</p>
<pre>
（以下のような形状のMERGE文が該当します）
MERGE INTO partitioned_table_19 t
  USING (VALUES (1, 'ins1'), (2, 'upd2')) AS s(a, b) ON t.a = s.a
  WHEN MATCHED     THEN  UPDATE SET b = s.b
  WHEN NOT MATCHED THEN  INSERT VALUES (s.a, s.b);
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=851876b48">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f64f71188">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5a82b4d2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e48446c3e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ccaa399e">&#167;</a></small></p>
<li>CREATE OPERATOR、ALTER OPERATORで、交代(commutator)演算子、否定子(negator)演算子のペアが同じデータ型を返すことを検査するようになりました。(CVE-2026-116335)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
これまでは交代演算子や否定子演算子の置換で型違反を起こすことがありました。オブジェクト作成のできる攻撃者によるサービス実行OSユーザでの任意コード実行を許す可能性がありました。
</p>
<p>
本修正では合わせて、交代演算子、否定子演算子のペアの片方向にしかリンクが無い場合についての検査も追加されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=420586131">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=165bbc265">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=22f838a6d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=85420b358">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=332a81692">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7282f7dfe">&#167;</a></small></p>
<li>インデックスの条件や式に含まれる関数が、インデックス操作により、「REINDEX CONCURRENTLY」に不具合を起こすことがあり、防止されました。(CVE-2026-116336)  (Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
オブジェクト作成のできるデータベースユーザにより、サービス実行OSユーザでの任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3eba6492">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=061cc0ee6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23e7e2bde">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2362bc619">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3a70ff73c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=122d1f8be">&#167;</a></small></p>
<li>「CREATE EXTENSION」の実行中にインストール先のスキーマ名を変更したり、一時スキーマに拡張機能をインストールしたりすることで、新規インストールされた拡張機能が不正に改変される障害が修正されました。(CVE-2026-6467)  (Noah Misch) (18)(17)(16)(15)(14)</li>
<p>
攻撃者は拡張機能に含まれるオブジェクトを、自身が作成した別のオブジェクトにすり替えることが可能でした。データベースレベルの作成権限を持つ（スキーマや拡張を作れる）ユーザにより、スーパーユーザとして任意SQL実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fae85aa19">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=68ee5a816">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=79f9793fc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1dc59af89">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c8b00bbf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=73c657797">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4fea981a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b552d6efb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c7515337">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=60341198b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b2f9e083f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b04910651">&#167;</a></small></p>
<li>拡張機能のインストールスクリプトにおける置換処理で、危険な文字列を含む名前を拒絶するようになりました。(CVE-2026-120153)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
これまでも、引用符、バックスラッシュ、ドル記号を含むスキーマ名や所有者名は拒絶していましたが、改行、復帰（キャリッジリターン）、コメント区切り文字、置換トークンそのものを含む名称であっても、SQLインジェクションを引き起こす可能性があり、こうしたケースもすべてエラーを出して拒絶するようになりました。
</p>
<p>
データベースレベルの作成権限を持つ（スキーマや拡張を作れる）ユーザにより、スーパーユーザとして任意SQL実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d094e92be">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d3c9f8c61">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=438b435f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b0e85b99b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bc146a3d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f233bee1e">&#167;</a></small></p>
<li>to_json()などのJSON変換処理でキャスト関数を呼び出す前に、その関数に対するEXECUTE権限を確認するように修正されました。(CVE-2026-116303)  (Nathan Bossart, Anthropic OSS program) (18)(17)(16)(15)(14)</li>
<p>
通常、このようなキャスト関数にはすべてのユーザーに対してEXECUTE権限が付与されていることが多いのですが、攻撃者に悪用される可能性がありました。今回の修正により、通常のキャスト実行時と同じ権限チェックが行われるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af852c3a3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3531f4b34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9520dbea7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ab7594cd1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=879c760d8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d275f6acc">&#167;</a></small></p>
<li>外部キー制約のチェック処理でキャスト関数を呼び出す前に、その関数に対するEXECUTE権限を確認するように修正されました。(CVE-2026-116303)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
通常、このようなキャスト関数にはすべてのユーザにEXECUTE権限が付与されていることが多いものの、攻撃者に悪用される可能性がありました。今回の修正により、通常のキャスト実行時と同じ権限チェックが行われるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d3c033944">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d9b15fda5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=445e10c50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3409adfbe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0fdf86e95">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=98090a0ff">&#167;</a></small></p>
<li>「DROP OWNED BY」によって、実行ユーザが所有していないテーブルの行レベルセキュリティ（RLS）ポリシーが変更される障害が修正されました。(CVE-2026-116311)  (Zsolt Parragi, Anthropic OSS program) (18)(17)(16)(15)(14)</li>
<p>
これまでは、権限を持たないロールが、自分が所有していないテーブルに付加された自身のロールに対する制限ポリシーを除くことができました。今回の修正で、そのような変更は実行されず、警告が出るようになりました。
</p>
<pre>
（修正後の動作／修正前はDROP OWNEDでポリシーが削除される）
db1=# CREATE TABLE t26 (c1 text);
db1=# CREATE ROLE r26;
db1=# CREATE POLICY p26 ON t26 TO r26 USING (true);
db1=# SET SESSION AUTHORIZATION r26;
db1=$ DROP OWNED BY r26;
WARNING:  role "r26" could not be removed from policy "p26" for table "t26"
DROP OWNED
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c98434b85">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f30f607a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=21c732aad">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d90159929">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1f2dd21c1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=368f52460">&#167;</a></small></p>
<li>セキュリティ制限された操作で、一時スキーマへのデータ型の作成が禁止されました。(CVE-2026-116316)  (Anthropic OSS program, Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
これまでも、このような操作中に一時テーブルを作成することは禁止されていました。しかし、一時スキーマにデータ型を作成し、恒久的なオブジェクトを同名の一時オブジェクトで隠蔽することで、権限昇格につながる脆弱性がありました。
</p>
<p>
ここでのセキュリティ制限とは、PostgreSQL内部実装において危険な操作を禁止する印付けのことです。マテリアライズドビューのデータ生成やリフレッシュ、インデックス作成などで使われます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c4d55de4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=448db1451">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3f082dcc7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0ed462c1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ac809c8b1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=44ebef3b5">&#167;</a></small></p>
<li>postgres_fdwが一括で行をINSERTする処理で、バッファオーバーフローが発生する脆弱性が修正されました。(CVE-2026-120149)  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
該当する状況を作れる場合に外部サーバでPostgreSQL実行OSユーザにて任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ecb163f69">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1e0a55a0f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e0bd77667">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b7c0062c1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=be83a07a5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=56c7f155f">&#167;</a></small></p>
<li>配列キーを使用した並列B-tree スキャンで、範囲外のメモリ読み取りが発生する脆弱性が修正されました。(CVE-2026-116333)  (Nathan Bossart) (18)(17)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サーバメモリの読み取りが可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6445784e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1dfde5b37">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4cd18df09">&#167;</a></small></p>
<li>型キャッシュの仕組みを、よりシンプルで安全なものに置き換えることで脆弱性が修正されました。(CVE-2026-120144)  (Robert Haas) (18)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザとして任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=130cf749e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2950cc789">&#167;</a></small></p>
<li>一時的な型の式に対する拡張統計情報の作成が禁止されました。(CVE-2026-120148)  (Masahiko Sawada) (18)(17)(16)(15)(14)</li>
<p>
テーブルの列の型として許可されない型（特に匿名のレコード型など）を含む式に対して、「CREATE STATISTICS」を実行することが禁止されました。これにより、他のセッションが格納された値を誤った型で解釈する脆弱性が修正されました。
</p>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザとして任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a98f50aec">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=74a999de1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f51d62e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=30f67bdac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=033886653">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f2b6da9a6">&#167;</a></small></p>
<li>システムカタログを論理レプリケーションのターゲットとして使用することが禁止されました。(CVE-2026-120145)  (Masahiko Sawada) (18)(17)(16)(15)(14)</li>
<p>
これまでは、スーパーユーザによるサブスクリプションを通してサブスクライバ側のシステムカタログへの書き込みが可能でした。これを使って、パブリッシャ側から、サブスクライバ側のサービス実行OSユーザにて任意コード実行が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23c616158">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cc2d1a4c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9532d4c94">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=71bb0b587">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=60c7b4d04">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d2ea7772e">&#167;</a></small></p>
<li>ユーザーが指定した検索条件を適用する前に、「ON CONFLICT」の対象行が行レベルセキュリティ（RLS）ポリシーに違反していないか確認するように修正されました。(CVE-2026-120154)  (Peter Geoghegan, Zsolt Parragi) (18)(17)(16)(15)(14)</li>
<p>
これまでは、情報漏洩の恐れがある検索条件が評価されることで、RLSポリシーによって参照を禁止されている行の情報が漏れる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aac16b69f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a748ed909">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c677791d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9ee0723c0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=48be6f9e8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=661a0951b">&#167;</a></small></p>
<li>レプリケーションのサブスクリプションや、contrib/dblinkで、すべての接続オプションを検証するようになりました。(CVE-2026-14661)  (Jacob Champion) (18)(17)(16)(15)(14)</li>
<p>
sslkeylogfileオプション等で指定されたファイルに不正なデータを加えることで永続的なサービス不能（DoS）を引き起こすことができました。本脆弱性はクライアントライブラリlibpqがバージョン18以降の場合に該当します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0adbf6bb1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=780809ba6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea9b427fa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f7b12b9f7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6925c6816">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bead7abd">&#167;</a></small></p>
<li>行型を比較する際に、削除済みの列を安全に処理するように修正されました。(CVE-2026-120142)  (Peter Geoghegan) (18)(17)</li>
<p>
これまでは、同じ位置に削除された列を持つ2つの行型について、それらの列の物理的な幅が異なっていても、両者が等しいとみなされることがありました。これにより、オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c9f334488">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=35d851811">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=354d5c71b">&#167;</a></small></p>
<li>SQL関数の戻り値の型として、anyを宣言することが禁止されました。(CVE-2026-18447)  (Peter Geoghegan) (18)(17)(16)(15)(14)</li>
<p>
any型の出力パラメータを悪用することで、オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c2f70845c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ff961cbbf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5e99fab61">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4ac399b6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=046a36e03">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ded6c00d3">&#167;</a></small></p>
<li>メモリサイズ計算における整数オーバーフローへの対策が強化されました。(CVE-2026-120139)  (Álvaro Herrera) (18)(17)(16)(15)(14)</li>
<p>
任意の問い合わせができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01cdd163c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=317b7bcab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bef80ad61">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aa2d0aefe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=249fa011f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9fe1c7813">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=839b1a04e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1b226dee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a17bc8b3c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c152f62ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16aa33802">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=376324afd">&#167;</a></small></p>
<li>SELECTコマンドのターゲットリスト内で、結果がマテリアライズされるRECORDデータ型を返す関数において、型違反が発生する脆弱性が修正されました。(CVE-2026-120141)  (Melanie Plageman, Robert Haas) (18)(17)(16)(15)(14)</li>
<p>
同じタプル記述子が複数の呼び出しにわたって使われていて、実際のレコード型は変わりうるため、これは安全ではありませんでした。
</p>
<p>
任意の問い合わせができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c5dc8b0a0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4fb349500">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=55c00bffe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=19cff5432">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=74bb8aa8c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9bb8b360f">&#167;</a></small></p>
<li>PL/pgSQLのRECORD型変数へのフィールド代入時に、行型が同時に変更されても正しく処理できるように修正されました。(CVE-2026-120151)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd4e840b6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b1ca1333">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3a3eb7616">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cac94a040">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3754d3689">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4a0b7919">&#167;</a></small></p>
<li>PL/Perlおよび関連するcontribモジュールで、Perlのtiedオブジェクトがサポートされました。(CVE-2026-116326)  (Andrey Rachitskiy) (18)(17)(16)(15)(14)</li>
<p>
これまでは、PL/Perlの操作にtiedオブジェクトを渡した場合、受け取った値に対してPerlのフック処理が適切に実行されないため、ほとんどの場合「undef」として扱われていました。tiedハッシュの場合、キーの読み出しは可能であったものの、値は常に「undef」となっていました。また、tiedオブジェクトが悪用されることでセキュリティ上の問題が生じる脆弱性がありました。
</p>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができる可能性を排除できません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a1a43897e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bbe476c74">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=217eb08b4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=26a89a81a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b3a668b1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=68abacaca">&#167;</a></small></p>
<li>tieされたオブジェクトから発生するエラーを適切に扱えるようにPL/Perlが修正されました。(CVE-2026-116326)  (Tom Lane, Andrew Dunstan) (18)(17)(16)(15)(14)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができる可能性を排除できません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6d81df55">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d308caee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=62a19e158">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ab70d013e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7db7244ee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ab0f897d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=80e73b3ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ce3d94c0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6e5524cda">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d6ca4358">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e9f179372">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a38943996">&#167;</a></small></p>
<li>PL/Perlのget_perl_array_ref()における型の混同が修正されました。(CVE-2026-116309)  (Andrew Dunstan) (18)(17)(16)(15)(14)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができるか不明ですが可能性を排除できません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0bf1ac6be">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=030b28a8d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dcc32e7d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=25baebeb2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7138dcbef">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c032c0fbd">&#167;</a></small></p>
<li>PL/PerlでPerlの配列やハッシュをスキャンする際に発生するメモリ解放後の使用が修正されました。(CVE-2026-116320)  (Tom Lane, Anthropic OSS program) (18)(17)(16)(15)(14)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3e7fe9c6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5215e9d6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d1883981a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=adbbabe18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b9ad25564">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bd76c497e">&#167;</a></small></p>
<li>PL/Perlの内部実装関数plperl_return_next_internal()におけるメモリ解放後の使用が修正されました。(CVE-2026-116319)  (Anthropic OSS program) (18)(17)(16)(15)(14)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e51917d91">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=343663966">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eab800134">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a78974d34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f2f1fd38f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=556614e04">&#167;</a></small></p>
<li>PL/Perlにおいて、実行中のプリペアド問い合わせが解放されることで引き起こされるメモリ解放後の使用が修正されました。(CVE-2026-116307)  (Masahiko Sawada) (18)(17)(16)(15)(14)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=31d908432">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=250405afb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2009539be">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b4ebd7240">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=11ed90979">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c148f9509">&#167;</a></small></p>
<li>PL/Tclの再入可能な使用におけるメモリ解放後使用の危険性が修正されました。(CVE-2026-116323)  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5eaab71a7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f01727316">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d15ca063">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05114072c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c0ac961ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b2b0f9507">&#167;</a></small></p>
<li>contrib/dblinkの再入可能な使用を拒絶するようになりました。(CVE-2026-120147)  (Masahiko Sawada) (18)(17)(16)(15)(14)</li>
<p>
オブジェクト作成ができるデータベースユーザにより、サービス実行OSユーザでの任意コード実行ができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2fe5aa626">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b8fbeeb76">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=33f4232cb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0aa15186">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b90297426">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=887f6fee5">&#167;</a></small></p>
<li>contrib/dict_intで、ゼロ長トークンにはNULLを返すようになりました。(CVE-2026-116308)  (Nathan Bossart, Anthropic OSS program) (18)(17)(16)(15)(14)</li>
<p>
この振る舞いは他の全文検索辞書タイプと一貫性があり、以前に可能性のあったサーバメモリ露出を回避することができます。
</p>
<p>
dict_intは全文検索用の辞書テンプレートの追加例として提供されているものです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=19b565088">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8373a4215">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b24a45486">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dec3a342d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4fb06bd93">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd0864aa0">&#167;</a></small></p>
<li>reindexdbコマンドが処理するインデックス名の引用符付けを正しく行うように修正されました。(CVE-2026-116325)  (Anthropic OSS program) (18)(17)</li>
<p>
オブジェクト作成権限のあるユーザは、作りこまれたインデックス名を用いて、reindexdb実行に対してSQLインジェクション攻撃が可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0ae4e866a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aac5e6f50">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2680b0781">&#167;</a></small></p>
<li>vacuumdbコマンドが完全修飾された演算子名を用いるようになりました。(CVE-2026-116313)  (Nathan Bossart, Anthropic OSS program) (18)</li>
<p>
これによりvacuumdb実行を通した攻撃を防止します。PostgreSQL 18で追加された「--missing-stats-only」オプションに問題がありました。データベース所有者がvacuumdbを実行するユーザとして任意SQLをさせるSQLインジェクションが可能でした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=623cda5ef">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e10d38d47">&#167;</a></small></p>
<li>pg_dumpがNOT NULL制約名を引用符付けするようになりました。(CVE-2026-116318)  (Anthropic OSS program) (18)</li>
<p>
これにより、オブジェクト作成のできるユーザにより、ダンプのリストアするユーザに任意SQLを実行させるSQLインジェクションが可能でした。また、リストア時の誤った名前で制約が作られました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=de7a4a3ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9e4cde792">&#167;</a></small></p>
<li>pg_dumpのtar形式出力で「\[un]restrict」コマンドが機能するようになりました。(CVE-2026-116330)  (Noah Misch) (18)(17)(16)(15)(14)</li>
<p>
これにより、ドキュメント化されていないtar要素のrestore.sqlを使うユーザに、想定された水準での防御を提供します。
</p>
<p>
悪意のサーバにより、クライアント上でpsqlを実行するユーザでの任意コマンド実行を狙うことができました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=211e736a1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17e57d06c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4d3c13724">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=40a81579e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7d1f31c73">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d2cda9f3">&#167;</a></small></p>
<li>pg_restoreがアーカイブファイル破損に対して頑健になりました。(CVE-2026-116314)  (Dilip Kumar, Yonghwa Lee, Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
不正な入力ファイルによる範囲外アクセスおよびファイルパス横断が防止されました。プレーン形式以外のリストア予定のダンプファイルを用意できる者により、pg_restoreを実行するOSユーザによる任意コード実行を狙うことができました。
</p>
<p>
なお、セキュリティ上の不具合ではないとみられる問題が他にいくつか残っています。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1f0ccd2f8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=673ef2341">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a6dc99b28">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cc13d5e0c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=265d71b28">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=179c2c37e">&#167;</a></small></p>
<li>pg_basebackupで外部制御されたフォーマット文字列の使用について修正されました。(CVE-2026-16240)  (Peter Eisentraut) (18)(17)(16)(15)(14)</li>
<p>
この問題は、サーバのデータベースクラスタディレクトリに普通でない名前のファイルがある場合にのみ発生する可能性があります。悪意のサーバがpg_basebackupコマンドのメモリを露出させることができました。ただし、不正に読み取られたバイト列をサーバに返す動作はありません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=410b7056e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af250ef26">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04986ad59">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=885dfee08">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0f9f20c36">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=50f650b91">&#167;</a></small></p>
<li>bpchar型について、Btreeインデックスの重複排除のサポートが無効化されました。  (Shihao Zhong, Peter Geoghegan) (18)(17)(16)(15)(14)</li>
<p>
bpchar型は透過の概念がビットごとの比較よりも緩いため、インデックスの重複排除は安全ではありません。等価の判定で末尾の空白を無視するため、異なる長さの値が等しいとされることがあり、このために、Index Only Scanのときに重複排除によって誤った問い合わせ結果が返るおそれがありました。
</p>
<p>
本修正は既存の壊れたインデックスエントリは補正しませんので、アップデート後に該当するインデックスにREINDEXを行う必要があります。
</p>
<p>
bpchar型はchar(n)型の内部データ型名ですが、本問題は列の型名をbpcharと指定して文字列長の制約を与えなかった場合にのみ該当します。char(n)型の場合には文字列長の制約に従って比較対象の文字列を同じ長さに揃えるため、本問題のリスクを回避できます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=18740523a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=882fd416d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=74f26a193">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=80c32ab93">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=de0d4f0b1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=469713804">&#167;</a></small></p>
<li>GINインデックスについて、VACUUMが確実に全てのデッドタプルをクリーンアップするようになりました。  (Peter Geoghegan) (18)(17)(16)(15)(14)</li>
<p>
1つのVACUUM操作が（一度にメモリに保持できる以上のタプルを取り除くために）複数回のインデックススキャンを必要とするとき、一部のインデックスエントリの除去を取りこぼす可能性がありました。また、VACUUMとリーフページ分割との競合でも、除去の取りこぼしが生じました。これらの障害は結果として、テーブル行に紐づかないエントリポイントを持った破損したインデックスをもたらしました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=adf440cbe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b0a36462b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d778f00c1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fb7c2a514">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=76c05f508">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0bace7af3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ee9a8b39">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9900966c7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af7cbf4e2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd1634ddb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=076151080">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fbf889de9">&#167;</a></small></p>
<li>GINのポスティングツリーの不完全なページ分割後のページ削除について修正されました。  (Peter Geoghegan) (18)(17)(16)(15)(14)</li>
<p>
これまでの削除手順では誤って隣接ページとの繋がりを切ってしまい、続くインデック検索で誤った問い合わせ結果を引き起こす可能性がありました。該当しそうなインデックスはアップデート後にREINDEXを行ってください。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b13fd2899">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9448c3e7b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aa14281fd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4dd227f51">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aef6198af">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bbe7aca31">&#167;</a></small></p>
<li>TOASTテーブルのインデックスに対応したpg_indexの変更可能フィールドの更新に失敗しており、修正されました。  (Bharath Rupireddy) (18)(17)(16)(15)(14)</li>
<p>
REINDEX CONCURRENTLYはこれらのフィールドを変更することがありますが、リレーションキャッシュはこれを想定おらず、その結果、インデックスの更新で取りこぼしが生じました。インデックスエントリの欠損ために、内部エラー「ERROR:  missing chunk number ...」が発生しました。
</p>
<p>
この障害はインデックスの破損を引き起こしますが、TOASTテーブル自体を壊すことはありません。インデックスを修復するにはアップデート後に該当するインデックスにREINDEXを実行してください。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4b2f037d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e4807a0f3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b3852eec6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17c5a0659">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb51daa27">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9a56e080f">&#167;</a></small></p>
<li>結合の除去を行うのに、プランナの派生データ構造を修正するのではなく、問い合わせのパースツリーを書き換えるようになりました。  (Tom Lane, Richard Guo, Shihao Zhong, Ayush Tiwari) (18)(17)(16)</li>
<p>
プランナにおける結合除去の元々の実装は、これまでも多数のバグがありました。派生データ構造の変更に合わせて、しばしば結合除去のコードも修正を要することから、本質的に脆弱であると判断され、ずっとシンプルなパースツリーを書き換えして派生データを再生成する実装に差し替えられました。このような大きな変更は通常はマイナーバージョンアップではおこないませんが、これまでの方式の実装では引続きバグ発生が予想されるため、実施されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0ab90a5c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9f25197bf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13466d1f7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=986870baa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=78d07020b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37c2bc950">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4264a1748">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=476b9eb3c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1000f7b14">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=38fe5a936">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0c45929db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=18aca7257">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=12f10c25c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d15ab66f5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=763d563ea">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e509be9ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=197a41aa6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fc8ed6362">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d48d0f15">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37b6e2657">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ccb7d9dba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=54ac06f31">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=22a8f5339">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=83bd1c1ba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=51f9e30f3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ea97ee34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c04649d1d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=051db7737">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bd003dca0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9df23331f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bcb6f901">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3bfc7c849">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00d1b4598">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=533915857">&#167;</a></small></p>
<li>ラテラル参照で発生する、いくつかのプランナのバグが修正されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
これらの障害により、誤った問い合わせ結果や、「ERROR:  failed to build any N-way joins」などの内部エラーが発生が生じる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=10a84539b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cbec57291">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=651893c22">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=30baaacdd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=70cf32506">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e2a7f784c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=011dd5095">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=df1196369">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=46875a4c7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b7866c934">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b83b7ddf7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aad7571d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2bdcd6cf0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d8a311e8d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c37a2bb54">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fb765945">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d236e2241">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b65ff900">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5f49c6db1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=96c869df7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d9595e7e6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b03eb54b1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=02aa28583">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7432ecba1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9e8f4ce28">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=333d566c4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6161b2c3d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=60b2a2f52">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a66ab9a9d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=707b3738d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cf24f8e61">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e89049cba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5978e4c63">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a91883995">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=58d16be8a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=01a9e573f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=55b9f54dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cdc21ba1b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=221423812">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d7938ff30">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=65e944d92">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e9288030">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c47a86f73">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=77c4a9037">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e914438a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a8b9a7fe4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b534f9b3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17b45abef">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=94035972a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d87257b2c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=34147f884">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dedb20d5f">&#167;</a></small></p>
<li>SubLinkから生成されたアンチジョインに対してリレーションIDを割り当てることで、PlaceHolderVarを含む条件句が適切な位置に配置されるよう修正されました。  (Richard Guo) (18)(17)(16)</li>
<p><pre>
(誤動作例)
db1=# CREATE TABLE t61 (a int);
db1=# CREATE TABLE t61_2 (a int PRIMARY KEY);
db1=# INSERT INTO t61 VALUES (1), (1000);
db1=# INSERT INTO t61_2 SELECT generate_series(1, 1000);
db1=# ANALYZE t61, t61_2;

db1=# SELECT s.* FROM t61 LEFT JOIN
       (SELECT 2 AS c, t61.a AS x FROM t61 WHERE NOT EXISTS
         (SELECT 1 FROM t61_2 WHERE t61_2.a = t61.a )
       ) s ON true
     WHERE s.x = s.c;
 c |  x
---+------
 2 |    1
 2 |    1
 2 | 1000
 2 | 1000
(4 rows)
→ t61の全ての値はt61_2に存在するため、NOT EXISTSを満たす行はないが、
　 不具合により4行返る
</pre>
<p>これにより、そのような条件句が誤ってアンチジョインの右側へ移動され、本来とは逆の意味で評価されてしまう特殊なケースが修正されました。PlaceHolderVarはPostgreSQLのプランナの実装で使われている構造体変数です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d7d4424c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=64fb20a52">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=854f81f07">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ca4273866">&#167;</a></small></p>
<li>PlaceHolderVarがNestLoopのパラメータとして適切に配置されるよう修正されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p><pre>
ERROR:  failed to assign all NestLoopParams to plan nodes
ERROR:  plan should not reference subplan's variable
ERROR:  variable not found in subplan target list
</pre>
<p>まれなケースで、実行計画の作成時に以下のエラーが発生し、クエリの実行に失敗することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d1e045baf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e84fb3f1c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=729e4a322">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e0f5f79d2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f2e9e3aa1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=071fb9af2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a9875e35e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=627081c73">&#167;</a></small></p>
<li>PlaceHolderVarをソートキーとして使用する場合に、プランナが失敗する問題が修正されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
プランの生成内容によっては、誤った検索結果を返したり、「ERROR:  variable not found in subplan target list」エラーが発生してクエリの実行に失敗したりすることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f366c2ce1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5fb5bef3e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05d073e2c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d9452ecf5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cd48b4a70">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2f975e2e4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b5f59d54">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f6642a97f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b66c9c8a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=617555d74">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5092f544e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1fcd7dd80">&#167;</a></small></p>
<pre>
(誤動作例)
db1=# SELECT a.a, b.b, c.c, d.d FROM (VALUES (1),(2)) AS a(a)
LEFT JOIN (VALUES (1),(2)) AS b(b) ON a.a = b.b
LEFT JOIN (VALUES (7),(2)) AS c(c) ON b.b = c.c
LEFT JOIN (VALUES (1),(2)) AS d(d) ON c.c = d.d
WHERE a.a = 1;
 a | b | c | d
---+---+---+---
 1 | 1 |   | 1
(1 row)
→c.c がNULLのため c.c = d.d は成立せず、本来 d.d もNULLとなるべきだが、誤って 1 が返される
</pre>
<li>外部結合の再関連付けにおいて、外部結合条件が誤って簡略化され、その結果、誤った検索結果が返される問題が修正されました。  (Richard Guo, Nitin Motiani) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4567d170f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=27a53c857">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba7127f24">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=78bc3b96c">&#167;</a></small></p>
<pre>
(報告されたエラー発生例)
db1=# CREATE TABLE t65 (a int);
CREATE TABLE
db1=# SELECT COUNT(j) FROM t65 x LEFT JOIN (t65 b CROSS JOIN t65 c) j ON TRUE;
ERROR:  unsupported join alias expression
</pre>
<li>外部結合の下位に結合全体を参照する行変数が存在する場合に、 「ERROR:  unsupported join alias expression」エラーが発生する問題が修正されました。  (Richard Guo) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=618130028">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=53b058d3b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0c4235013">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f73794bc1">&#167;</a></small></p>
<li>JOINエイリアス全体を参照する行変数を展開する際に、SubLinkが正しく処理されるよう修正されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p><pre>
(報告されたエラー発生例)
db1=# CREATE TABLE t66 (a int, b int);
db1=# SELECT 1 from ((SELECT (SELECT 1) AS x) s CROSS JOIN t66) j
  WHERE (SELECT 1 WHERE j IS NULL) IS NULL;
ERROR:  cannot handle unplanned sub-select
</pre>
<p>この問題により、「ERROR:  cannot handle unplanned sub-select」や「ERROR:  unrecognized node type」エラーが発生し、クエリの実行に失敗することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ad05dea1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7a776fc9d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6c0698339">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6bd71489d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5a7312587">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=10717fe15">&#167;</a></small></p>
<li>テーブル継承を使用している場合に、自己結合の削除が行われないよう修正されました。  (Tender Wang) (18)</li>
<p><pre>
(誤動作例)
db1=# CREATE TABLE t67 (id int, v int);
db1=# INSERT INTO t67 VALUES (1, 1);
db1=# CREATE TABLE t67c () INHERITS (t67);
db1=# INSERT INTO t67c VALUES (1, 100);
db1=# CREATE UNIQUE INDEX t67_id ON t67 (id);
db1=# ANALYZE t67, t67c;

db1=# SELECT * FROM t67 p1 JOIN ONLY t67 p2 ON p1.id = p2.id;
 id | v | id | v
----+---+----+---
  1 | 1 |  1 | 1
(1 row)
→子テーブル t67c に登録された (1, 100) のデータが検索結果から欠落
</pre>
<p>従来のテーブル継承では、親テーブルに一意インデックスが定義されていても、子テーブルを含めた全体で一意性が保証されないため、自己結合を削除するための一意性の判定ができませんでした。また、子テーブルを含む親テーブルと、親テーブル自身の行のみを対象とするテーブル（ONLY指定）を同一のものとして扱い、自己結合を削除する場合がありました。この問題により、本来検索対象となる子テーブルのデータが検索結果から欠落し、誤った検索結果が返されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cbcccca71">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ebf82fae6">&#167;</a></small></p>
<li>自己結合の削除を行う際に、一意性の判定に使用する条件式が正しく一致しているか確認するよう修正されました。  (Tender Wang) (18)</li>
<p>
以前は、同じオペランドを持つ条件式であれば同等の条件として扱っていましたが、実際には使用する等価演算子や照合順序が異なる場合がありました。そのため、本来は異なる行を選択する条件式が同等と誤って判定され、自己結合が不適切に削除されることで、検索結果から行が欠落する場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=86ce68d9e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=10b2d9986">&#167;</a></small></p>
<li>サブクエリの「SELECT」句に集合返却関数が含まれる場合に、「DISTINCT ON」によって出力行の一意性が保証されると誤って判断しないよう修正されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p>
集合返却関数は重複排除の処理後に評価される場合があるため、DISTINCT ONを使用していても、サブクエリの出力行が一意になるとは限りません。そのため、一意性が保証されていないにもかかわらず、一意であると誤って判定され、結合の削除などの最適化によって検索結果が不正になる場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d446ca2c4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c66f172a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a4eb938b3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8fc5b57ae">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=201f7192e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7e29fcd1a">&#167;</a></small></p>
<li>定数式を条件式に使用した単純形式の「CASE」式の中で、誤って行われる問題が修正されました。  (Richard Guo) (18)(17)(16)</li>
<pre>
(誤作動例)
db1=# SELECT CASE 'x'
       WHEN JSON_OBJECT('a': 'b' RETURNING text)
       THEN 1 ELSE 0 END;
 case
------
    1
(1 row)
→本来、'x'とJSONコンストラクタの結果である'{"a" : "b"}'は一致しないため、結果は0となる。
</pre>
<p> 「RETURNING」句を指定した「JSON」コンストラクタの定数畳み込みがJSONコンストラクタの結果を型変換する処理で、「CASE」式の条件値が誤ってJSONコンストラクタの結果として使用される場合があり、本来とは異なる「CASE」式の評価結果が返されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=acd8d3e0f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=29aef0f68">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23088673d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=27ef9097b">&#167;</a></small></p>
<li>異なる等価規則を持つグループ化処理をまたいで「WHERE」句の条件を下位に移動する際の処理が修正されました。  (Richard Guo) (18)</li>
<p>
以前のリリースで行われた同様の処理に関する修正に不備があり、グループ化処理の前後で同値性の判定規則が異なる場合に、一部のCASE式を含む条件が誤って下位に移動される問題がありました。
</p>
<p>
「CASE」式の引数が別の型に変換される場合、グループ化処理と「CASE」式の比較で使用される等価演算子が異なることがあります。例えば、citext型は大文字・小文字を区別せずに比較しますが、text型では大文字・小文字が区別されます。この違いにより、「WHERE」句の条件が誤ってグループ化処理より下位に移動される例を以下に示します。
</p>
<pre>
（誤作動例）
db1=# CREATE EXTENSION citext;
db1=# CREATE TABLE t71 (t citext);
db1=# INSERT INTO t71 VALUES ('a'), ('A');

db1=# SELECT * FROM (SELECT DISTINCT ON (t) t
                     FROM t71 ORDER BY t, t::text COLLATE "C") d
      WHERE CASE t::text WHEN 'a' THEN 1 ELSE 0 END = 1;
 t
----
 a
(1 row)
 → 修正後は0行となる
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a3bc7f2c0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dd7c135bb">&#167;</a></small></p>
<li>「FETCH ... WITH TIES」を指定した場合に、「MIN()」/「MAX()」のインデックススキャンが誤って動作する問題が修正されました。  (Chaitanya Choudhary) (18)(17)(16)(15)(14)</li>
<p>
インデックススキャンを実行するために生成されるサブ「SELECT」にも誤って「WITH TIES」オプションが引き継がれていました。この問題により、サブクエリが複数行を返し、「ERROR:  more than one row returned by a subquery used as an expression」エラーが発生することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0d5505a22">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=720d3df25">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=70d0ac3c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a91d664d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=47c43ffda">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d98b99b2a">&#167;</a></small></p>
<li>セミジョインの右側テーブルの重複排除処理で、正しい照合順序が使用されるよう修正されました。  (Andrey Rachitskiy) (18)(17)(16)(15)(14)</li>
<p>
セミジョインの比較条件で使用される照合順序とは異なる照合順序で重複排除が行われる場合がありました。この問題は、非決定的照合順序を使用している場合に発生し、比較条件では等しいと判定される値が重複排除後も複数残ることで、検索結果に本来含まれない余分な行が返されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0d5621890">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ac292cb1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a10d14afc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a9c9c4f76">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=db0208bfc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b8e0b45ab">&#167;</a></small></p>
<li>子ノードを1つだけ持つAppendノードで、無効化されたプランノードの情報が正しく引き継がれるよう修正されました。  (Tender Wang) (18)</li>
<p>
Appendノードが子ノードの無効化されたプランノードの数を引き継いでいませんでした。そのため、無効化されたプランノードを含まない他の実行計画よりも、無効化されたプランノードを含む実行計画が選択される場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15ccc2041">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=718f28167">&#167;</a></small></p>
<li>「INSERT ... ON CONFLICT」の実行時に、競合する行に対する述語ロックが取得されるよう修正されました。  (Zsolt Parragi, Andrey Borodin) (18)(17)(16)(15)(14)</li>
<p><pre>
(誤作動例)
db1=# CREATE TABLE t75_a (id int PRIMARY KEY, val int);
db1=# CREATE TABLE t75_b (id int, val int);
db1=# INSERT INTO t75_a VALUES (1, 100);

(セッション1)
db1=# BEGIN TRANSACTION ISOLATION LEVEL SERIALIZABLE;
db1=*# INSERT INTO t75_a VALUES (1, 200) ON CONFLICT (id) DO UPDATE SET val = EXCLUDED.val  WHERE false;

(セッション2)
db1=# BEGIN TRANSACTION ISOLATION LEVEL SERIALIZABLE;
db1=*# SELECT count(*) FROM t75_b;
db1=*# UPDATE t75_a SET val = 300 WHERE id = 1;

(セッション1)
db1=*# INSERT INTO t75_b VALUES (1, 10);
db1=*# COMMIT;
COMMIT

(セッション2)
db1=*# COMMIT;
COMMIT
→本来であればセッション1のCOMMIT後にセッション2側で
「ERROR:  could not serialize access due to read/write dependencies among transactions」といったエラーになる
</pre>
<p>「INSERT ... ON CONFLICT」で競合する行を検出しても、何も更新しない場合などに、その行の読み取りがシリアライザブルモードの競合検出に反映されていませんでした。そのため、シリアライザブルモードで、本来シリアライゼーションエラーが発生して失敗すべき同時更新が許可される場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e7006ecae">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6567f3f1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b4ebfbfa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=80c9a58b4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cbd2406d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b6b83cb7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2980e5e4d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=558c00f96">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0d83f9e0e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b76127a88">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c4871093">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=83efe9602">&#167;</a></small></p>
<li>並列GINインデックス構築時に発生する整数オーバーフローの問題が修正されました。  (Ewan Young) (18)</li>
<p>
従来は、インデックスキーを一時的なデータ構造に格納する際、サイズを保持するフィールドが16ビットだったため、65,535バイトを超えるキーが途中で切り詰められていました。そのため、サーバーがクラッシュしたり、インデックスエントリが破損したりする場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05c4b10fc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=937a0e68c">&#167;</a></small></p>
<li>複数列の「RANGE」パーティションにおける、パーティションプルーニングの誤りが修正されました。  (David Rowley) (18)(17)(16)(15)(14)</li>
<p>
「RANGE」パーティションテーブルのパーティションプルーニングで、パーティションキーの先頭部分の列にのみ検索条件が指定されている場合、本来除外すべきでないパーティションが除外されたり、不要なパーティションが検索対象に含まれたりする可能性がありました。その結果、本来検索されるべき行が欠落することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7a74e5ed9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7c503d683">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d8494e24">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a0396c8e3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1a501b6e2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=978caef19">&#167;</a></small></p>
<li>「MINVALUE」または「MAXVALUE」を境界値に使用する「RANGE」パーティションテーブルで、「DEFAULT」パーティションが誤ってプルーニングされる問題が修正されました。  (Ewan Young) (18)(17)(16)(15)(14)</li>
<p><pre>
(誤動作例)
db1=# CREATE TABLE t78 (a int, b int) PARTITION BY RANGE (a, b);
db1=# CREATE TABLE t78_1 PARTITION OF t78 FOR VALUES FROM (10, 0) TO (20, MAXVALUE);
db1=# CREATE TABLE t78_def PARTITION OF t78 DEFAULT;
db1=# INSERT INTO t78 VALUES (21, 5);

db1=# SELECT count(*) FROM t78 WHERE a = 21;
 count
-------
     1
(1 row)
db1=# SELECT count(*) FROM t78 WHERE a = 21 AND b &gt;= -7;
 count
-------
     0
(1 row)
→本来はどちらもcount = 1となる
</pre>
<p>複数列のパーティションキーで、先頭列に有限の境界値があり、後続列に「MAXVALUE」または「MINVALUE」が指定されている場合などの特定の条件で「DEFAULT」パーティションを検索する必要がないと誤って判定し、検索対象から除外する場合がありました。そのため、本来検索結果に含まれる行が見つからないことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=73b0b18f1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=63d9e26c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d21d4f1ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1d8a93336">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9b8c0f238">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3d734a059">&#167;</a></small></p>
<li>EPQによる再チェック中の実行時パーティションプルーニングの処理が修正されました。  (David Rowley, Zsolt Parragi) (18)</li>
<p>
この問題により、本来更新されるべき行が気付かないうちにスキップされたり、解放済みメモリ領域へのアクセスが発生したりする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2359968b4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7328770b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9b505ef6c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=57193b3a0">&#167;</a></small></p>
<li>プラン開始時のパーティションプルーニングで、SubPlanを含む式が使用されないよう修正されました。  (Richard Guo) (18)</li>
<p><pre>
(報告されたエラー発生例)
db1=# CREATE TABLE t80 (a int) PARTITION BY RANGE (a);
db1=# CREATE TABLE t80_1 PARTITION OF t80 FOR VALUES FROM (0) TO (2);
db1=# CREATE TABLE t80_2 PARTITION OF t80 FOR VALUES FROM (2) TO (4);

db1=# SELECT * FROM t80 WHERE a = (NULL IN (SELECT 1))::int;
ERROR:  SubPlan found with no parent plan
</pre>
<p>NULL定数を左辺に指定したIN句など、定数畳み込みによってSubPlanのパラメータが取り除かれるといった特定の条件で発生する「ERROR:  SubPlan found with no parent plan」エラーを回避するようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3f807d6e9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=70ffc30e1">&#167;</a></small></p>
<li>同じ列に複数のソートキーを指定する問い合わせの問題が修正されました。  (David Rowley, Ayush Tiwari) (18)(17)(16)(15)(14)</li>
<p>
問い合わせによってはバックエンドプロセスがクラッシュすることがあり、別の場合には2番目以降のソート指定が無視されていました。通常は最初のソートキーだけで結果の並び順が決まるため、それ以降の指定は不要です。ただし、非決定的照合順序を使う場合や、ORDER BYで異なる演算子を使う場合は、必ずしもそうではありません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1c2ba4df3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfbb3d842">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9171fca99">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0500fb3ab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6e8605116">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1c087e616">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=744ca40cb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2a3ac1554">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1d57f6ef7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=21a53865f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f72e4686e">&#167;</a></small></p>
<li>ハッシュ表を使うSubPlanが複数箇所から参照されると、古いハッシュ表が再利用されることがあった問題が修正されました。  (Rahul Yadav) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=24796e334">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5b730e81f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fcb44c5e5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=06e46b651">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f5b8f05ee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=40a5aa4a7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d0081c01">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=25b55788d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1e9c734c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=064281150">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=56fb8ee6e">&#167;</a></small></p>
<li>Memoizeプランノードが入力値に正しい照合順序を使うようになりました。  (Shihao Zhong) (18)(17)(16)(15)(14)</li>
<p>
この変更が影響するのは、非決定的照合順序を使う場合だけです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0e58f6d73">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9dd027535">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f79bf8d8f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=083d60e34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2da9b7f9b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e22cec1bd">&#167;</a></small></p>
<li>Memoizeのキャッシュキーの式に外側の問い合わせのパラメータ（Param）が含まれる場合に、誤った問い合わせ結果を返すことがあった問題が修正されました。  (Richard Guo) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f39f3f971">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dbe6cf558">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d6f60a031">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b5ad785be">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a7a2cab57">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=de7d7d4df">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0fd0e501a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2bcf2fa49">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=db7e885d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1d27a922">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=025dac1c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=63e261b0b">&#167;</a></small></p>
<li>Gatherの下にあるMemoizeプランノードで、パラレルワーカーの統計が失われる問題が修正されました。  (Tatsuya Kawata) (18)(17)(16)(15)(14)</li>
<p>
これまでは、EXPLAIN ANALYZEにはGatherの最後の再スキャン以降の統計しか表示されませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a345db783">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0aba37abf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04609efb3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0896fb027">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bd811277c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3d6e24626">&#167;</a></small></p>
<li>関数定義の戻り値に未定義の型名を指定し、配列または型修飾子の構文を使った場合は、シェル型が作成されなくなりました。  (Heikki Linnakangas) (18)(17)(16)(15)(14)</li>
<p>
このような指定は誤りです。配列や型修飾子の構文で使う型は、先に作成しておく必要があります。
</p>
<p>
また、未定義の型名に型修飾子を指定した場合のエラーメッセージが、「ERROR:  type modifier cannot be specified for shell type "xxx"」から「ERROR:  type "xxx" does not exist」に変更されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba12a202c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b90eeb29e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b62206043">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e5e841cc5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b76b966c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba2ea49b3">&#167;</a></small></p>
<li>リカバリ中に取得したスナップショットのエクスポートとインポートが正しく動作するようになりました。  (Peter Geoghegan, Bertrand Drouvot) (18)(17)(16)(15)(14)</li>
<p>
このスナップショットは通常とデータの配置が異なりますが、エクスポートとインポートの処理ではその違いが考慮されず、インポート後のスナップショットが正しく機能しませんでした。そのため、インポートしたトランザクションでは誤った問い合わせ結果が返され、ヒントビットが誤って設定されることで永続的なデータ破損につながるおそれもありました。
</p>
<p>
この問題は、スタンバイでpg_dumpの並列ダンプを実行すると起きることが確認されています。この場合、ダンプの出力とスタンバイのデータの両方が破損するおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ef89c839c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=74c9832ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2ae67ada7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d03ff3b75">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea3227bf2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9a1fa1f36">&#167;</a></small></p>
<li>トランザクションのスナップショットをインポートする際に、原子性が保たれない問題が修正されました。  (Chee Wooson) (18)(17)(16)(15)(14)</li>
<p>
以前は、インポート元のトランザクションがまだ実行中であることを、ほかの処理が一時的に認識できない場合がありました。そのため、VACUUMが誤った判断をし、インポートしたスナップショットからまだ参照可能な削除済みタプルを削除してしまうおそれがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ca99016f9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3977cde27">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=24bf23fe6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7a392b0f6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4afe4b564">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e94ba903b">&#167;</a></small></p>
<li>範囲型、マルチ範囲型、tsvector型のいずれかを基底型とするドメインの列で、統計情報が正しくインポートされるようになりました。  (Michael Paquier) (18)</li>
<p>
リストア時には、これらの型に対応する統計情報をその列に適用できるかどうかを、ドメインの基底型を調べずに判定していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aa60617b6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=753057e34">&#167;</a></small></p>
<li>JSON_TABLEのPASSING句の引数が、問い合わせの解析時に二重に変換される問題が修正されました。  (Ayush Tiwari, Amit Langote) (18)(17)</li>
<p>
これまでは、「ERROR:  unexpected non-SELECT command in SubLink」などの奇妙なエラー報告で処理が中断されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ecc3cee7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6cb715e2d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8793978e3">&#167;</a></small></p>
<li>JSON_TABLEのPASSING句に指定した式に、照合順序が割り当てられない問題が修正されました。  (Venu Kummari) (18)(17)</li>
<p>
これまでは、誤った問い合わせ結果が返されたり、「ERROR:  could not determine which collation to use for string comparison」というエラーが報告されたりすることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3d72e63b8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c7656ac9e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=03550d3cf">&#167;</a></small></p>
<li>JSON_TABLEおよび関連する関数で、PASSING句に渡すTOAST形式の文字列値の扱いが修正されました。  (Chaitanya Choudhary, Shihao Zhong) (18)(17)</li>
<p>
これまでは、TOAST形式の値を元の文字列に戻さずに使っていたため、誤った問い合わせ結果が返されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fdb88a51c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b8736db6e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8bccf0159">&#167;</a></small></p>
<li>JSON_VALUEのRETURNING句でjson型またはjsonb型を指定したときに、NULLの結果が後の評価にも残る問題が修正されました。  (Srinath Reddy Sadipiralla) (18)(17)</li>
<p>
これまでは、その式が一度NULLを返すと、同じSQL文でその後同じ式を評価した結果はすべてNULLになり、本来NULLではない場合にも誤った問い合わせ結果が返されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2f2c923c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7150d0fd4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=31af62f38">&#167;</a></small></p>
<li>JSON_VALUEなどで、ON EMPTY句やON ERROR句の結果が後の行にも残る問題が修正されました。  (Jian He, Andrey Rachitskiy) (18)(17)</li>
<p>
入力がNULLの場合に、直前の行のON EMPTY式またはON ERROR式の値が返され、誤った問い合わせ結果となることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e5c3d3db">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=52033b887">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=775e03191">&#167;</a></small></p>
<li>SQL/JSON操作で、DEFAULT式の実行時に起きるエラーの扱いが修正されました。  (Jian He) (18)(17)</li>
<p>
これまでは、DEFAULT式の実行時に起きたエラーが無視され、代わりにNULLが返されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6839997e3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5209a736a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6dfe31d48">&#167;</a></small></p>
<li>SQL/JSON操作で、ドメインへの型変換ができなかった場合の処理が修正されました。  (Jian He) (18)(17)</li>
<p>
ON ERROR句またはON EMPTY句でエラーにしない動作を指定していても、SQL/JSONの問い合わせ関数がエラーを出したり、本来とは異なるエラーを報告したりすることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=67f375edb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b9a415360">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=46798ab1a">&#167;</a></small></p>
<li>厳密モードのjsonpath問い合わせで、スカラー文字列に対するGINインデックス検索が  (Rui Zhao) (18)(17)(16)(15)(14)</li>
<p>修正されました。「strict $ == "scalar"」のようなjsonpath式でjsonb_opsのインデックスをスキャンすると、値が文字列「"scalar"」そのものである行が見つからず、誤った問い合わせ結果が返されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d44852026">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=65f3b7096">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=19656b77d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0cf2c7e38">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3b2a60481">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=327c5f0e6">&#167;</a></small></p>
<li>jsonpathの問い合わせからGINインデックスのスキャン条件を取り出す処理の誤りが修正されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
NOTの内側にあるAND演算子が正しく処理されないことがありました。また、「"42".double()」のように、リテラル定数にメソッドを適用した式も正しく処理されていませんでした。目に見えるエラーは起きませんでしたが、GINインデックス検索では一致するはずの行の一部またはすべてが漏れ、誤った問い合わせ結果が返されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5146b3f75">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=154e2f101">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=65f1b71c3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c138ab8a9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04a8915fa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d987ad61d">&#167;</a></small></p>
<li>SP-GiSTの四分木インデックスで、<@演算子による検索が特定の場合に  (John Naylor) (18)(17)(16)(15)(14)</li>
<p>正しく動作しない問題が修正されました。丸め誤差により検索すべき象限を調べず、一部の行が欠けた誤った問い合わせ結果が返されることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b0d482b33">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=03ba8e591">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9ad421a9b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9cba87fe9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0496d85f9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9e3077ff4">&#167;</a></small></p>
<li>SP-GiSTの四分木インデックスで、特定の場合に処理がエラーになる問題が修正されました。  (Ayush Tiwari) (18)(17)(16)(15)(14)</li>
<p>
丸め誤差により、検索や挿入の際に「ERROR:  getQuadrant: impossible case」という奇妙なエラー報告が出て、処理を完了できないことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=845725890">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fc834ccab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3d8c50317">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=235e15ec7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37ecbb438">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0e9544439">&#167;</a></small></p>
<li>バイナリ入力で空のtsquery値を受け入れるようになりました。  (Ayush Tiwari) (18)(17)(16)(15)(14)</li>
<p>
空のtsquery値はテキスト入力では許可されていましたが、バイナリ形式の入力変換関数tsqueryrecv()では処理に失敗してエラーとなっていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0d0d2a13e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6c4172b34">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e05b7e2a4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=774c47de1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=187051f85">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=264c441c4">&#167;</a></small></p>
<li>tsquery値のバイナリ入力において、長さが0の語彙素と範囲外のフレーズ距離値を許可しないようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
これらのケースはテキスト入力ではすでに拒否されていましたが、バイナリ形式の入力変換関数tsqueryrecv()には同等の検査がありませんでした。そのため、その後のダンプ／リストアに失敗する値を受け入れることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1c732c851">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=69915dac4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=91989795d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cdffe3375">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=df8b91463">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05556bdf9">&#167;</a></small></p>
<li>tsqueryおよびltxtqueryの入力において、演算子のネストが深すぎる場合のエラーをトランザクション処理の継続が可能であるソフトエラーとして扱うようになりました。  (Tom Lane) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb600aae3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=90cc09f57">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ffbe37115">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d4fae2993">&#167;</a></small></p>
<li>tsvectorおよびtsqueryにおける最大長の制限を一貫して適用するようになりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
語彙素の最大長を「MAXSTRLEN」（2047）とする箇所と、「MAXSTRLEN-1」とする箇所がありましたが、より緩い方の制限が正しかったため、すべての箇所で「MAXSTRLEN」を使用するようになりました。同様に、データ全体の長さの上限「MAXSTRPOS」についても、箇所によって制限の厳しさが異なっていました。この修正により、正しく作成された値にも関わらずダンプ／リストアに失敗する状況を回避するようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5185e64ae">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a68beda42">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b42d0c310">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1fc1b82b2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ef9063a88">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39cad0de4">&#167;</a></small></p>
<li>長さに「INT_MIN」（-2147483648）が指定された場合のright()の動作が修正されました。  (Ewan Young) (18)(17)(16)(15)(14)</li>
<p>
整数オーバーフローにより、right()が本来は空文字列を返すべきところで、文字列全体を返していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2291b6ffb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfb08d094">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3103bdafd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=48af47dcd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=729bac9eb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=858fb27b6">&#167;</a></small></p>
<li>リレーション拡張ロックを正しく考慮するようにpg_blocking_pids()が修正されました。  (Bertrand Drouvot) (18)(17)(16)(15)(14)</li>
<p>
通常は単一のパラレルクエリに参加するワーカプロセスは互いにロック競合しませんが、リレーション拡張ロックの場合は例外となります。以前はその場合にワーカプロセス間の競合が考慮されておらず、これが正しく認識され、各ワーカプロセスのIDが返されるようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a7539c76b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dc60d6aa1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c0df269c5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af42a7a82">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8851e44ed">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=36e021cb1">&#167;</a></small></p>
<li>pg_indexam_progress_phasename()における32ビットと64ビットの取り違えが修正されました。  (Markos Fountoulakis) (18)(17)(16)(15)(14)</li>
<p>
一般的なハードウェアでは偶然正しく動作していましたが、32ビットまたはビッグエンディアンのプラットフォームでは正しく動作しない可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dc899f78">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=58998c33d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8af1a12c9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6f126b328">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e4ac00514">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5259332a6">&#167;</a></small></p>
<li>「V」書式を使用したto_char()で、整数オーバーフローを検出するようになりました。  (Andrey Rachitskiy) (18)(17)(16)(15)(14)</li>
<p>
データ値が整数で、「V」書式が示す10の累乗を乗算した結果が整数オーバーフローになる場合、to_char()は誤った数字をエラーなしで出力していました。この場合には代わりに整数オーバーフローエラーを出すようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9efc2f9d8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ec434db1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04c25af21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=55af98a45">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=772251744">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1c6f7ec9">&#167;</a></small></p>
<li>tid値についてBRIN minmax_multiの距離を計算するときの整数オーバーフローを回避するようになりました。  (Tomas Vondra) (18)(17)(16)(15)(14)</li>
<p>
非常に大きなtid値では、計算結果が負の距離になることがありました。インデックスが実際に破損することはありませんが、インデックスが非効率になる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9a1d7f3a6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1be7010d1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c83ddfcfe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7e0d03a91">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a770f537">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c48577385">&#167;</a></small></p>
<li>numeric値についてBRIN minmax_multiの距離を計算するときのオーバーフローが回避され、NaNも適切に扱われるようになりました。  (Kirill Reshke, Tomas Vondra) (18)(17)(16)(15)(14)</li>
<p>
これらの不備により、エラーが発生してインデックスの要約処理ができなくなったり、非効率なインデックスが作られる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=78721a206">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c8629bb5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9ab2a624e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=444b85032">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b8d5b9a01">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=174b605f0">&#167;</a></small></p>
<li>numericの範囲型について差を計算するときのオーバーフローを回避するようになりました。  (Kirill Reshke) (18)(17)(16)(15)(14)</li>
<p>
値が範囲外の場合にはオーバーフローエラーを出すのではなく、正または負の無限大を返すようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1137ebf22">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8a043da94">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dfd98ce58">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5c78685fc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=10686da4e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=52f418f1f">&#167;</a></small></p>
<li>Hunspellの接辞ファイルで「FLAG」行が先頭以外に記述されている場合に対応できるようになりました。  (Ewan Young) (18)(17)(16)(15)(14)</li>
<p>
Hunspellの接辞ファイルでは通常「FLAG」行が最初に記述され、PostgreSQLの実装も暗黙にそれを前提としていました。
</p>
<p>
「FLAG」の設定に依存する行よりも後に「FLAG」行がある場合、クラッシュしたり、複合語の照合に失敗したりすることがありました。
</p>
<p>
「FLAG」行をファイル内の任意の位置に記述できるように処理が修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=50daffb06">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1f02a1e48">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e96b27296">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5827ddfc2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1eca8b94d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b4c8afdfa">&#167;</a></small></p>
<li>EXPLAINが「RETURNING」のSubPlanに出力する「OLD」と「NEW」の別名が修正されました。  (Henson Choi) (18)</li>
<p>
複数の別名を含むプランでは、誤った別名が出力され、分かりにくい結果になることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=763f95c63">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4ee8af2e8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=015f4c9fc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b049b4e7b">&#167;</a></small></p>
<li>ルールの逆解析処理における様々なエラーが修正されました。  (Henson Choi) (18)(17)(16)(15)(14)</li>
<p>
「UPDATE」、「DELETE」または「MERGE」では、対象リレーションの別名が「set」である場合の曖昧さを避けるため、別名の前に常に「AS」を出力するようになりました。
</p>
<p>
また、「xml IS DOCUMENT」構文と、左辺がサブクエリである式に、必要な括弧を出力するようになりました。
</p>
<p>
ビューの「FROM」句にある「AT TIME ZONE」などの構文についても、逆解析処理が修正されました。これらの構文は、何も変換しない「CAST」で囲む必要がありました。
</p>
<p>
これらのエラーにより、ビューの構文エラーでダンプのリストアに失敗したり、再読み込みされたビューが以前とは異なる構文として解析されたりすることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0da632e08">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e79df9dd9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=91246c726">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f0595c3d8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=697e1d3d5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8113841f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=df1448b33">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eb1454ecc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=80da124a4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b27d566f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bdb159af4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=32d4a592c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cdc6c25f9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b08c4df3b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=467bb7ea7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=715bf0305">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b104bcb40">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=823474c04">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=baba7bd76">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17a0604c2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7933cf45a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5e96ebe7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=35a8ff7ae">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a44a4f1b6">&#167;</a></small></p>
<li>複数行のINSERT ... VALUES文において、対象列の添字に副SELECTが含まれている場合にパーサーが失敗する問題が修正されました。  (Amit Langote) (18)(17)(16)(15)(14)</li>
<p>
これにより「ERROR:  unexpected non-SELECT command in SubLink」が発生していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=667243c02">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa0806647">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f11673768">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dd680013">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=861a9c402">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9e77656a9">&#167;</a></small></p>
<li>「COPY FROM」の「WHERE」句に対する前処理の欠落が修正されました。  (Nathan Bossart) (18)(17)(16)(15)(14)</li>
<p>
これにより、否定演算子を使用した場合に「ERROR:  cache lookup failed for function 0」が発生していました。他の場合にも同じエラーが生じていた可能性があります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=63e33d40b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=95d960447">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6b428e47b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1955fd0b4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1adbe902a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c596e189d">&#167;</a></p>
<p>
SELECT conrelid::regclass, connameFROM pg_constraintWHERE contype = 'n' AND connoinherit
</p>
<p> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a01d1a17e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=35f60e5ce">&#167;</a></small></p>
<li>パーティションテーブルに「NOT NULL NO INHERIT」制約を指定できないようになりました。  (David Rowley, Nitin Motiani) (18)</li>
<p>
通常のCREATE TABLEではすでに拒否されていましたが、CREATE TABLE LIKEなどでは、コピーされた制約に対する検査が行われていませんでした。このため、本来はNULL値を含めることのできないパーティションにNULL値が含まれる可能性がありました。
</p>
<p>
データベースでこの問題が発生した可能性がある場合は、次のコマンドを実行して不正な制約を検索してください。
</p>
<pre>
SELECT conrelid::regclass, conname
FROM pg_constraint
WHERE contype = 'n' AND connoinherit
      AND conrelid IN (SELECT oid FROM pg_class WHERE relkind = 'p');
</pre>
<p>
不要な制約は「ALTER TABLE ... DROP CONSTRAINT ...」で削除できます。
</p>
<p>
必要な制約については、「ALTER TABLE ... ALTER CONSTRAINT ... INHERIT」で修復してください。このコマンドはテーブルのパーティションにNULL値がある場合には失敗します。
</p>
<li>ALTER TABLE ADD PRIMARY KEYにおける、既存のNOT NULL制約のテストが修正されました。  (Fujii Masao, Manuel Reyes Bravo) (18)</li>
<p>
以前は、単一のALTER TABLEコマンドでNOT NULL列を削除し、同じ名前の列を新たに追加して主キーにすると、「ERROR: primary key column ... is not marked NOT NULL」というエラーが発生することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5e3245401">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5659e549a">&#167;</a></small></p>
<li>MERGE ... WHEN NOT MATCHED BY SOURCEにおける、同時削除の処理が修正されました。  (Tender Wang) (18)(17)</li>
<p>
MERGEの「WHEN NOT MATCHED BY SOURCE」アクションを実行するときに、対象テーブルのタプルが同時に削除された場合、再試行処理が誤って、その行に対して「WHEN NOT MATCHED BY TARGET」アクションを実行してしまい、不正確な結果が生じる問題がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fe1d5aeff">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ce9bd103e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=745152e45">&#167;</a></small></p>
<li>DROP TABLESPACEに関する競合状態が修正されました。  (Ayush Tiwari) (18)(17)(16)(15)(14)</li>
<p>
テーブルスペースに新しいオブジェクトを追加しようとするコマンドとDROP TABLESPACEが同時に実行されると、システムカタログの内容に不整合が生じることがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5dec175fb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d77627daa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=960b6b532">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=749dd8d1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=00126dede">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=539b7e829">&#167;</a></small></p>
<li>リカバリ中のUNLOGGEDテーブル操作へのエラーメッセージが改善されました。  (Jim Jones) (18)(17)(16)(15)(14)</li>
<p>
UNLOGGEDテーブルはスタンバイでデータを持たないので、参照は失敗します。大部分の操作では適切なエラー「ERROR:  cannot access temporary or unlogged relations during recovery」を返しますが、「COPY ... TO」では内部エラー「ERROR:  could not open file ...」を出していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2f79b0179">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=794c29dc4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17f66a681">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=044887b60">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c517dbb31">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=599c50d25">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=702f218cb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a5b925cfc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3e53104dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=391fded1e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f641940c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e16d102a4">&#167;</a></small></p>
<li>ロールのメンバーシップ変更に対する権限チェックが一貫性に欠けており、修正されました。  (ChangAo Chen) (18)(17)(16)</li>
<p>
これまでは、ロールに対するGRANTや、ALTER GROUP文で、「ERROR:  permission denied to ...」などのエラーが出るべき場面で、内部エラーの「ERROR:  no possible grantors」が発生することがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9db2383e0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0468246f5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=be0076b71">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dbda203fe">&#167;</a></small></p>
<li>空き領域マップの永続化についての以前の変更が元に戻されました。  (Alexander Korotkov) (18)(17)(16)(15)(14)</li>
<p>
<a href="/tech-blog/pgsql/18-4/">2026年5月リリース</a>の62番の修正が、修正前よりも多くの問題を引き起こすことが判明したことによります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d0518cb3e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5d63dbd97">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bee33974e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a8004e161">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=89834e3f2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=35e4b760a">&#167;</a></small></p>
<li>デフォルトトランザクションモードが「SERIALIZABLE READ ONLY」の場合に、終了時に一時テーブルをクリーンアップするときのバックエンドのハングアップが回避されました。  (Andrey Rachitskiy) (18)(17)(16)(15)(14)</li>
<p>
クリーンアップが同時実行のSERIALIZABLEトランザクションが完了するまでブロックすることがありました。そこに準備されたトランザクションが含まれている場合には、際限なく待たされる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e65f21a27">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d2943b94b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4639b6cfe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a90cbbc86">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cc1edfa6c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=57c107238">&#167;</a></small></p>
<li>既に無いカーソルへのFETCH文を記述するときのクラッシュが回避されました。  (Dirkjan Bussink) (18)(17)(16)(15)(14)</li>
<p>
ここでの「記述」は結果の列定義を要求するDescribeプロトコルメッセージに対する処理を意味します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7166a1d02">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=95f6bfb51">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2affc1964">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=caa19f80d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fc56f1663">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=84b86b210">&#167;</a></small></p>
<li>参照渡しのデータ型でのデータムのソートに対するメモリ計算が修正されました。本来よりも少ないメモリ使用量が報告されていました。  (Mario Karuza) (18)(17)</li>
<p>
この誤りにより、work_mem設定によるメモリ使用量上限が正しく行なわれず、また、EXPLAIN ANALYZEの使用メモリ量出力も誤った値になります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a2148471b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d5b228ae">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2414028ab">&#167;</a></small></p>
<li>VACUUMで遅延のための休止が必要となった場合でも、ロック保持中は休止しないようになりました。  (Kevin Rocker, Andrey Borodin, Mostafa) (18)(17)(16)(15)(14)</li>
<p>
他にもいくつかの既存の遅延実施が休止しても安全な位置に移動されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e7d7e047b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5f671c431">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=71d1ace33">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=226e86cda">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d40546032">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4a7778ef8">&#167;</a></small></p>
<li>パラレルVACUUMのI/Oタイミング報告が修正されました。  (Bharath Rupireddy) (18)(17)</li>
<p>
「VACUUM VERBOSE」と自動VACUUMのログには、パラレルワーカーのブロック読み取りとダーティブロックの数が含まれますが、I/Oの所要時間が含まれていませんでした。パラレルワーカーの分だけ少ないI/O時間が報告されていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2604c28bf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6bfb33088">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=35c508af5">&#167;</a></small></p>
<li>使用中の外部キー制約の問合せに対する実行計画の解放が回避されました。  (Lucas Jeffrey, Trakshan Mishra, Amit Langote) (18)(17)(16)(15)(14)</li>
<p>
これによりプロセスのクラッシュが発生しました。DMLを実行するトリガを持つテーブル上の自己参照のON DELETE CASCADE外部キーなど、不自然に作りこんだケースでこの動作を引き起こすことができます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fbe7033af">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9e9d24c33">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f3ea7cb46">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e37a8075f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3cb89e214">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bc2125742">&#167;</a></small></p>
<li>クラッシュ時の再起動でstartupプロセスがクラッシュしたときにpostmaster(親プロセス)が終了に失敗しており、修正されました。  (Zexin Li) (18)</li>
<p>
このような場合、postmasterは起動をあきらめて終了すべきですが、そのようになっておらず、ハングアップしていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=386198434">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6a1759a02">&#167;</a></small></p>
<li>設定ファイルの解析時にスキャナでの失敗を注意深く扱うようになりました。  (Michael Paquier) (18)</li>
<p>
不正な設定ファイルでクラッシュするケースが報告されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=13967fe0e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0391fee2d">&#167;</a></small></p>
<li>OAuth認証のときにoauth_validator_libraries設定を再検査するようになりました。  (Zsolt Parragi) (18)</li>
<p>
これによりoauth_validator_librariesの変更が即座に効くようになります。これまでは、変更するとpg_hba.confの既存のoauth認証のエントリが無効になってしまい、新しい設定が反映されませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c38de3ae6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e54a4145">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dcf112bd4">&#167;</a></small></p>
<li>oauth_validator_librariesに空白文字のみを含む文字列を指定したときにpostmaster(親プロセス)がクラッシュしており、修正されました。  (Grigorev Jurij, Zsolt Parragi) (18)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1d094904b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=99c3f5e20">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=459ef520d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=08f24a115">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af28fc13e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9f7d6167f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e83298599">&#167;</a></small></p>
<li>btreeインデックスで複数階層のページ削除のWALログ出力が修正されました。  (Peter Geoghegan) (18)(17)(16)(15)(14)</li>
<p>
削除されるページの隣接リンクについて古い値がWAL出力に含まれて、結果としてスタンバイサーバで開発者むけ設定のwal_consistency_checkingが有効であるときにエラー(PANIC)が発生する可能性がありました。
</p>
<p>
クラッシュが起きない限り、削除処理が完了すれば破損はすぐに修復されるため、このエラーは通常、単なる見かけ上の問題です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8d5e89328">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e88259b67">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eea2ff293">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4bd8a9613">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=eed7bffad">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3651d7c58">&#167;</a></small></p>
<li>PINされているけれどロックされていないバッファについて、強すぎるWAL一貫性の検査を回避するようになりました。  (Greg Burd, Thomas Munro) (18)(17)</li>
<p>
ロックされていないバッファが他のプロセスから同時に変更されると、一貫性検査むけに取得されたイメージは自己一貫性を持たず、スタンバイで「LOG:  incorrect resource manager data checksum in record」が発生しました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4232bf96e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7ac2f74d1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd1f61e43">&#167;</a></small></p>
<li>保留されている準備されたトランザクションの（pg_twophase以下の）状態ファイルがチェックポイント時にアトミックに書き出されるようにされました。  (Shihao Zhong) (18)(17)(16)(15)(14)</li>
<p>
これまでは、クラッシュ終了で書き途中の状態ファイルが残されて、その後のサービス起動に失敗する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c4a3b3b2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=606f3db55">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15f57b683">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=11c87ab37">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4b9009105">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b15c55163">&#167;</a></small></p>
<li>準備されたトランザクションをアボートしている途中では、チェックポイントを開始しないようになりました。  (Shihao Zhong) (18)(17)(16)(15)(14)</li>
<p>
クラッシュでそのようなトランザクションが後にコミットできてしまい、一貫性のない状態がもたらされました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ee189838f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3a2fc7662">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=56e831ea2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bb4eabd6a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a39ec399e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea1b698f2">&#167;</a></small></p>
<li>マルチトランザクションを作る途中では、チェックポイントを開始しないようになりました。  (Shihao Zhong) (18)(17)(16)(15)(14)</li>
<p>
これにより、直後のクラッシュと続くリカバリ起動でのデータ破損（データ損失）を回避します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0035e91dd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=31538e165">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4022edb93">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0d0bde0b0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8681aef6f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=67fa8cb33">&#167;</a></small></p>
<li>後でアボートされたサブトランザクションで更新したタプルが失われる可能性があり、修正されました。  (Shihao Zhong, Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
（CLUSTERやVACUUM FULLなどによる）テーブルの再書き出しで、このようなタプルが不正と見做されて破棄されることがありました。論理レベルのデータ破損をおこしうる障害といえます。
</p>
<pre>
（誤動作例）
db1=# BEGIN;
      CREATE TABLE t139 (a int, b int);
      CREATE INDEX t139_b_idx ON t139 (b);
      INSERT INTO t139 VALUES (1, 3);
      SAVEPOINT sp;
      UPDATE t139 SET a = 2;
      ROLLBACK TO sp;
      CLUSTER t139 USING t139_b_idx;
      COMMIT;

（本来は 1行返るはずが、0行になってしまう）
db1=# SELECT * FROM t139 ;
 a | b
---+---
(0 rows)
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=928c2eeed">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5df84b355">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=08f0cec8f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07d1b4418">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b5656749">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=278d2a672">&#167;</a></small></p>
<li>タプルテーブルスロットに格納するときにタプルのTIDを確実に含めるようになりました。  (Virender Singla, Greg Burd) (18)(17)(16)(15)(14)</li>
<p>
一部のコードパスでTIDフィールドの転記を怠っていて、特別な場合にデータ破損や誤った問い合わせ結果を引き起こす可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea11f9464">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=badcb62d6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7e594c30f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c5c36ae6f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a3d1ac495">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4e9a5dc1f">&#167;</a></small></p>
<li>パーティションインデックスを有効化する際の競合状態が修正されました。  (Andrey Borodin, Kirill Reshke) (18)(17)(16)(15)(14)</li>
<p>
この問題により、例えば、外部キー制約を早すぎるタイミングで再作成しようとして、並列実行されたpg_restoreが以下のエラーで失敗する場合がありました。
</p>
<pre>
ERROR:  there is no unique constraint matching given keys for referenced table "pk"
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=57a2e2cf5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1735ad557">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bd8070126">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3bd5a4755">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9ab37b6e7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=31fa77982">&#167;</a></small></p>
<li>マルチトランザクションIDにおける更新トランザクションのアボート判定が修正されました。  (Chee Wooson) (18)(17)(16)(15)(14)</li>
<p>
この問題により以下のエラーが発生したり、行の更新が誤って失敗したりする場合がありました。
</p>
<pre>
ERROR:  new multixact has more than one updating member
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ad56a7f09">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=94d53e9ec">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ff9eacc56">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7cafc4abb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f51a03db3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=623cdfa64">&#167;</a></small></p>
<li>ハッシュインデックスのバケット分割中にインデックススキャンが開始されると、一部のインデックスエントリを見落とす可能性がある問題が修正されました。  (Peter Geoghegan, Amit Kapila) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c4117066b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a85b5523e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ab2233743">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=99ae176e4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1495e2cba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=22be34ac1">&#167;</a></small></p>
<li>TID Range Scan における位置追跡の不具合が修正されました。   (Ewan Young, David Rowley) (18)(17)(16)(15)(14)</li>
<p>
後方スキャンの後に再び前方スキャンを行う場合に、指定範囲の最後まで完全にスキャンできないことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ad230d588">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39a0db101">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=25ebf0097">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ceac2e12">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cd7d3e129">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c84dd31bd">&#167;</a></small></p>
<li>リカバリ時に凍結処理、および、visibility map の設定だけを行うWALレコードを再生する際の不要なバッファロックを避けるようになりました。   (Melanie Plageman) (18)(17)</li>
<p>
これにより、不要な WAL リプレイの遅延やスタンバイクエリのキャンセルが防止されます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1139b7eff">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9733eb9e8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5897bd1d8">&#167;</a></small></p>
<li>ベースバックアップ取得時に 壊れた可能性のある pg_controlファイルのコピーを読まないよう修正されました。  (David Steele) (18)(17)(16)(15)</li>
<p>
ファイルへの同時書き込みによってバックアップ内に不整合なデータが含まれる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e2c633b43">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8cddd5fc8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4aeefb26d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5dc3cfbb9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=316a87065">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9c299e292">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4f857f399">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=59bc83d41">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=38ecdfdc1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4b87b605b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0cfd56254">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d2c1e18de">&#167;</a></small></p>
<li>ベースバックアップでリレーション以外のファイルが不正にコピーが作成されないようになりました。  (David Steele) (18)(17)(16)(15)</li>
<p>
postgresql.auto.conf のようにアトミックリネームによって更新されるファイルでは、そのような更新と同時に取得されたバックアップにおいて、途中で切り詰められていたり、余分なゼロで埋められたりする場合がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2bfed4d18">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b09b26ac8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1fbe31b9d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=61aec3f3b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1fff28b14">&#167;</a></small></p>
<li>ベースバックアップ時に、単一ページのチェックサム失敗が確実に報告されるようになりました。  (Zsolt Parragi) (18)(17)(16)(15)(14)</li>
<p>
同一ファイル内で複数ページが破損している場合にしか、チェックサム失敗が pg_stat_database に記録されていませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=db0f6dd80">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39faf4de2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f92983dc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=45c88d621">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f555ada9e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=19d900358">&#167;</a></small></p>
<li>テーブル切り詰め後の増分バックアップで、古い Visibility Map が使用される問題が修正されました。  (Ke, Fujii Masao, Shihao Zhong) (18)(17)</li>
<p>
VACUUM がテーブルサイズを切り詰め後の増分バックアップで、データチェックサムとwal_log_hints の両方が無効な環境では、古い Visibility Map 情報が復元されてデータ破損につながる可能性がありました。この修正では既存の WAL サマリは修正されないため、アップデート後の増分バックアップは依然として影響を受けます。アップデート後は新たにフルバックアップを取得し、それを後の増分バックアップのベースとすることが推奨されます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=dde54ecde">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=41b4b8e8b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0733c7219">&#167;</a></small></p>
<li>分岐したタイムライン上のバックアップを基にした増分バックアップが拒否されるようになりました。   (Sai Pranav, Fujii Masao) (18)(17)</li>
<p>
フェイルオーバ後の増分バックアップで、新プライマリが旧タイムラインから分岐した時点以降WALを必要とするバックアップが基点として使用されると、破棄された履歴のページが残され、破損したバックアップとなる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=04ea11d0e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2afbad0ce">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ecb43083f">&#167;</a></small></p>
<li>増分バックアップが WAL サマリを確実に LSN 順にマージするようになりました。  (Ke, Fujii Masao) (18)(17)</li>
<p>
この問題により、統合後のバックアップに古いデータが含まれる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2bae29d7e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9e20db542">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9580e29da">&#167;</a></small></p>
<li>増分バックアップで WAL サマリをいつ含めるかどうかの境界条件判定の不具合が修正されました。  (Ayush Tiwari) (18)(17)</li>
<p>
この問題により、統合後のバックアップに古いデータが含まれる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ed89d84ed">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5787f8785">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ec756e591">&#167;</a></small></p>
<li>増分バックアップのサイズ見積りが不正確になる問題を修正されました。  (Daria Lepikhova) (18)(17)</li>
<p>
この問題は pg_basebackup などで報告される進捗情報に影響していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=97fa9bdc5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f47c63d7a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c674b952">&#167;</a></small></p>
<li>レプリケーションサブスクリプションの two_phase が、有効にも関わらずpending にリセットされる不具合が修正されました。  (Zhijie Hou) (18)</li>
<p>
ALTER SUBSCRIPTION ... SET (two_phase = true) を２回実行すると不整合な状態となり、サブスクライバ側でデータ破損を引き起こす可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1e1a4821a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fbaebf450">&#167;</a></small></p>
<li>output_plugin_libraries パラメータ設定時に構文をチェックするようになりました。  (Jacob Champion, Hayato Kuroda) (18)(17)(16)(15)(14)</li>
<p>
従来は構文的に不正な値が postgresql.conf に設定され、論理レプリケーションが失敗する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aad726131">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e2b3549a4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7c78c8cff">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=079638030">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d0571ca16">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0c8611c6e">&#167;</a></small></p>
<li>キー列が未検証の NOT NULL 制約を持つ場合に REPLICA IDENTITY USING INDEX が拒否されるようになりました。  (Ante Kresic) (18)</li>
<p>
レプリカアイデンティティのキー列は 非NULL でなければなりませんが、従来はそれが実際に正しいか未知のケースを受け入れていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=82c86ac68">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=864ef0fb1">&#167;</a></small></p>
<li>損失のあるインデックスをレプリカアイデンティティとして使用した論理レプリケーションの振る舞いが修正されました。  (Paul A. Jungwirth, Zhijie Hou) (18)</li>
<p>
多重範囲型上のGiST インデックスをレプリカアイデンティティとして使用した場合、キー値の再検証が必要であるにもかかわらず行われず、サブスクライバ上の誤った行が更新あるいは削除される可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=48b43081e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=23fffd382">&#167;</a></small></p>
<li>レプリケーションスロット無効化時に、バックエンド状態フラグが誤って更新されないようになりました。  (Vlad Lesin) (18)(17)(16)(15)(14)</li>
<p>
チェックポインタなどの補助プロセスによる無効化処理が、無関係なバックエンドの状態情報を上書きする可能性がありました。これにより引き起こされる結果の予測は困難ですが、ホットスタンバイによるフィードバックが実質的に無効化される可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=453ebae70">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c5666f7e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=295f75b4b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=02c32116d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3d15afe7d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=56b306f8b">&#167;</a></small></p>
<li>論理レプリケーションにおけるサブトランザクションアボート処理が改善されました。   (Bingshuai Li, Hayato Kuroda, Zhijie Hou) (18)(17)(16)(15)(14)</li>
<p>
カタログ更新を行ったサブトランザクションがアボートした場合でも、論理デコーディングがその更新を有効と誤認し、不正なデコード結果を生成する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=963ff022f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5eae2800a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=624bd2b1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ff5ba5f19">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0a6dc4fe1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=83be64488">&#167;</a></small></p>
<li>初期デコーディングスナップショット作成時の競合状態が修正されました。  (Antonin Houska, Rui Zhao) (18)(17)(16)(15)(14)</li>
<p>
コミット済みではあるものの CLOG 状態がまだ反映されていないトランザクションを含むスナップショットを利用し、まれにデータ破損につながる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4a4bf490d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6210f00ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b93df6eac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a33ffaf7b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5ff6a3d3f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=070e21268">&#167;</a></small></p>
<li>ロジカルデコーディングで、一度もストリーム送信されなかったサブトランザクションに対するストリーム中止イベントが処理されなくなりました。  (Andrey Rachitskiy) (18)</li>
<p>
このエラーはNULLポインタ参照やその他の誤作動を引き起こす可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e4f16fda6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=caa463e3f">&#167;</a></small></p>
<li>"pgoutput" の論理レプリケーション送信で、レプリケーションオプション値がない場合に発生するNULLポインタ参照によるクラッシュが修正されました。  (Zhijie Hou) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4fbae9145">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6437d9774">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c3ef3f228">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8191e13f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c6cb792e8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=35848657c">&#167;</a></small></p>
<li>pgoutputでストリーム処理されたプリペアドトランザクションの小さなメモリリークが修正されました。  (Ayush Tiwari) (18)(17)(16)(15)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e995b2cb4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a477847eb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3d6a4a582">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=feb975917">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=274da088e">&#167;</a></small></p>
<li>物理WAL送信プロセスにおけるウェイクアップの消失が修正されました。  (Alex Speller) (18)(17)(16)</li>
<p>
この修正により、WAL送信プロセスが、送信待ちデータが存在するにもかかわらずスリープ状態になるケースもいくつか修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a9b32f4c8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ff9f9380">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6d34d5500">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2ac618d71">&#167;</a></small></p>
<li>WALレシーバーがタイムラインに追従する際に一時的なレプリケーションスロットを重複して作成する不具合が修正されました。  (ChangAo Chen) (18)(17)(16)(15)(14)</li>
<p>
この不具合で「could not create replication slot (レプリケーションスロットを作成できませんでした)」というエラーが発生し、WALレシーバーが再起動されて復旧するため、永続的な損傷はありませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=764d31b8a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2bf6144b4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c8fa02c5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=58fb12f4a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=874c22c94">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aec25d610">&#167;</a></small></p>
<li>論理レプリケーションサブスクライバーとCONCURRENTLY インデックス DDL間の競合状態が修正されました。  (Mikhail Nikalayeu, Vignesh C) (18)(17)(16)</li>
<p>
レプリケーション対象リレーションの主キーまたはレプリカIDインデックスの状態を変更すると、レプリケーション適用ロジックが一致する行を見つけられない可能性がありました（ただし、このようなイベントごとに1回のみでした）。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2f7bf51b7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af48a6702">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0405dcf7c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2389f898e">&#167;</a></small></p>
<li>WALデコードエラーメッセージにおける誤ったLSNが修正されました。  (Rahul Yadav) (18)(17)(16)(15)</li>
<p>
これらのエラーメッセージは、実際に問題となっているWALレコードとは異なるレコードのLSNを報告していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=472da35ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=092da6511">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5f472ab56">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bcb9d9051">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3ec983535">&#167;</a></small></p>
<li>「REPLICA IDENTITY FULL」の検索で無効なインデックスが選択されないようになりました。  (Mikhail Nikalayeu) (18)(17)(16)</li>
<p>
以前は、論理レプリケーションが、失敗した CREATE INDEX CONCURRENTLY によって残されたインデックスを使用しようとする可能性があり、インデックスが不完全である可能性が高いため、誤った結果につながる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c73b272b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=38eb0cfa3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=92c018214">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b3272b49a">&#167;</a></small></p>
<li>walsenderにおける解放済みメモリ使用（use-after-free）の可能性が修正されました。  (Ayush Tiwari) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d162119ef">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d21a3e1fe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=39173a9bd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=078110c00">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3f82c47b5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0e2260ab1">&#167;</a></small></p>
<li>jsonb_set_lax() での解放済みメモリ使用（use-after-free）が修正されました。  (John Naylor) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb98b23da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=52af12e9d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=723075b03">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4a3177299">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b3477b1ca">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42b320abe">&#167;</a></small></p>
<li>「XMLSERIALIZE(... INDENT)」の出力が1GBを超えた時の二重解放が修正されました。  (Jim Jones) (18)(17)(16)</li>
<p>
出力が1GB(MaxAllocSize)を越えるとエラーになりますが、その際にメモリ解放が二重に行われ、バックエンドがクラッシュしていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bfe9c23ee">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f10500777">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7fa0a5f21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=582db3ee0">&#167;</a></small></p>
<li>スキーマが同時に削除された際に発生する可能性のあるNULLポインタ参照が修正されました。  (Baji Shaik) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c0e3c1bf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d3a03158c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1ba2b826">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a2732c986">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bb0615c89">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=275ad2006">&#167;</a></small></p>
<li>ロジカルレプリケーションのサブスクリプションを更新中に関連するリレーションが同時に削除されたとき、NULLポインタ参照によるクラッシュが起きる問題が修正されました。  (Satyanarayana Narlapuram, Bharath Rupireddy) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4d9224a43">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ec074c41e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ebf7971da">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ec8aaf845">&#167;</a></small></p>
<li>式に関する拡張統計を構築する際に発生する可能性のあるNULLポインタ参照が修正されました。  (Shihao Zhong, Michael Paquier) (18)(17)(16)(15)(14)</li>
<p>
このエラーは、独自のtypanalyze関数の予期しない（ただし正当な）動作によってのみ発生していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4b93eec05">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4bcd0d31c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b517a30c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0cea8f85e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b2ca62b1c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6ffd2f91b">&#167;</a></small></p>
<li>pg_locks.waitstartの古くなっている可能性のある値が修正されました。  (Shihao Zhong) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bb356f869">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ccffd3439">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0165f38d1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6f2f51084">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0ef59b285">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=edfa6c8fc">&#167;</a></small></p>
<li>部分的にしか完了していないローカルなpgstatsエントリに対して、pgstatsのコードが強化されました。  (Michael Paquier) (18)(17)(16)(15)</li>
<p>
ローカルなpgstatsエントリは部分的にしか埋められない状態で中断する可能性があり、それがNULLポインタ参照に繋がる可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fc29deb52">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e99e00b27">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6e0011596">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=203b96953">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0016a2cc4">&#167;</a></small></p>
<li>再利用されたpgstatsエントリのクリーンアップが修正されました。  (Michael Paquier) (18)(17)(16)(15)</li>
<p>
このエラーによりpgstatsエントリが漏洩し、バックエンドの終了時またはデータベースのシャットダウン時にエラーが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8de334270">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2c056b37f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1613efa1a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ae97ef28d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7a405e5d7">&#167;</a></small></p>
<li>WALの読み取りに使用したデータの一部が解放されず、メモリリークが発生する問題が修正されました。  (Tomás Senart) (18)(17)(16)(15)</li>
<p>
多くの場合、この見落としは、メモリコンテキストがすぐにリセットまたは削除されるため、大きな問題にはなりませんでした。しかし、特にチェックポインタプロセスでは、メモリ使用量が増えた状態が長く続くことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a919ea702">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7418d9e96">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aa6f14da4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c271dc21">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8b04cc817">&#167;</a></small></p>
<li>多数の列を使った拡張統計情報で"ndistint"を計算する際のメモリ肥大化が修正されました。  (Ilia Evdokimov) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f51585330">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=942266c7f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a8c98c884">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=050ad7edb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ec6780c59">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=205f40f5b">&#167;</a></small></p>
<li>ハッシュインデックスのバケット分割後のクリーンアップ処理失敗に伴うバッファピンリークが修正されました。  (Peter Geoghegan) (18)(17)(16)(15)(14)</li>
<p>
このコーディングエラーは、リソースリークの警告以上の悪い結果にはなりませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e61e120c1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f4284d9aa">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b57161883">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c180f965d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4f45920f0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3eaa726e7">&#167;</a></small></p>
<li>AFTERトリガのためにオープンした全てのリレーションが確実にクローズされるようになりました。  (Hayato Kuroda, David Rowley) (18)(17)(16)(15)</li>
<p>
この見落としにより、「WARNING:  resource was not closed ...」 が発生していましたが、それ以上の深刻な問題は生じません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4f0af2635">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=715d83971">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=70d5b0668">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=059aae612">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c949e6524">&#167;</a></small></p>
<li>クラッシュ後に再起動を繰り返すと「io_uring」のリソースが解放されずに残る不具合が修正されました。  (Lucas Draescher) (18)</li>
<p>
再起動を繰り返すと、やがて「too many open files」などのエラーで再起動に失敗し、その時点でpostmasterが終了してリソースが解放されていました。この問題が発生するのは「io_method=io_uring」の場合だけで、これはデフォルトの設定ではありません。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=62f868e77">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5bfe88cf6">&#167;</a></small></p>
<li>PL/pgSQLのanycompatiblemultirange型の引数と戻り値の処理が修正されました。  (Jeevan Chalke) (18)(17)(16)(15)(14)</li>
<p>
この型がPL/pgSQLの多態型としてサポートされていませんでした。そのため、この型を使って宣言した関数を作成または使用しようとすると以下のようにエラーが発生しました。
</p>
<pre>
db1=# CREATE FUNCTION f183(a1 anycompatiblemultirange) 
        RETURNS anycompatiblemultirange LANGUAGE plpgsql AS
        $$ BEGIN RETURN a1; END; $$;
ERROR:  PL/pgSQL functions cannot accept type anycompatiblemultirange
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=791446a14">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a34d61616">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa10d961d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=658e15092">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9df4d21ac">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f291e3336">&#167;</a></small></p>
<li>PL/Perlと関連するcontribモジュールがtieされているPerlのハッシュと配列が頑健になりました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
Perl配列の長さを決定するのにNULL終端を探すのではなく、av_count() APIを用いるようになりました。逆に、配列やハッシュからの取得での予期せぬNULLポインタにはより注意深くなりました。
</p>
<p>
これまでは無限ループやクラッシュが生じる可能性がありました。これはらtieされたオブジェクトに関連してのみ発生することが知られています。これらの問題の発生が知られているのは、tieされたオブジェクトに関係する場合のみです。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b6b4f5a64">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=af659efcb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3c4d77480">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=794473ec2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1035eab49">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ede3188e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fe06b9b5b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b6193ff03">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2860d322a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d54d3f5d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=aecc86482">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ec24237a4">&#167;</a></small></p>
<li>libpqで繰り返しGSS接続を行うときにメモリリークが回避されました。  (Matt Carter, Tom Lane) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5aed88ff9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=94d625f5d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=df9e6d7c7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=72216a245">&#167;</a></small></p>
<li>内部実装のポーティング関数getopt_long()がプログラムのコマンドライン引数を並び替えるときに誤った振る舞いをしており、回避されました。  (Sehrope Sarkuni) (18)(17)</li>
<p>
本コードはOS側でgetopt_long()関数を持たないWindows等で使われます。例えば「vacuumdb postgres --jobs」が「--jobsに引数が無い」というエラーを出すのではなく、ジョブ数として「postgres」を受け取っていました。
</p>
<pre>
（誤動作例）
＞ vacuumdb postgres --jobs
vacuumdb: error: invalid value "postgres" for option -j/--jobs

（以下のようなエラーが出るのが正しい）
vacuumdb: option requires an argument -- jobs
</pre>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a16088305">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d33449024">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a11bce64a">&#167;</a></small></p>
<li>psqlでテーブル属性「REPLICA IDENTITY NOTHING」の表示が修正されました。  (Shinya Kato) (18)</li>
<p>
「\d+」の「Replica Identity:」で誤った出力が生じていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=67342a148">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=baa7b142a">&#167;</a></small></p>
<li>psqlがマルチステートメントの文字列にあらわれるCOPY FROM STDINコマンドを確実に全てカウントするようになりました。  (Zsolt Parragi) (18)(17)(16)(15)(14)</li>
<p>
CVE-2026-6464の修正以降、2回以上COPY操作が行なわれることは想定しえないため、1つの問合せ文字列に複数のCOPY FROM STDINコマンドが含まれるものは拒絶されるようになっています。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7f8de6d87">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bcb776671">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3828ab704">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=52f1eaae6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ed0a2b707">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1204c1a7">&#167;</a></small></p>
<li>\getresultsの引数が不正である場合、psqlが混乱しないようになりました。  (Fujii Masao) (18)</li>
<p>
これまではパイプラインモードで、\getresultsの不正な引数が同じパイプラインの次のSQLコマンドにも影響を及ぼすことがありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2b0d50e39">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd9bb365d">&#167;</a></small></p>
<li>psqlがバックスラッシュコマンドの処理中のメモリ不足状況により良く対処するようになりました。  (Fujii Masao) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9d4505b7f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3f01b0c4a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ab001a3a6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3d41f014f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b57f96220">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e6c200f9a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e793e51ab">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=789ae09a5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d2e19268d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1c62efd14">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b2e391aea">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=de38e72a1">&#167;</a></small></p>
<li>psqlのいくつかの小さなメモリリークが修正されました。  (Fujii Masao) (18)(17)(16)(15)(14)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e3ad751e1">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8753b6904">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4c5485aed">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4d2c7beb6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bc18487fe">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e8bc40d29">&#167;</a></small></p>
<li>pg_combinebackupがpg_combinebackupのインクリメンタルバックアップファイルで、範囲外のブロック番号を拒絶するようになりました。  (Peter Eisentraut) (18)(17)</li>
<p>
この検査漏れにより、壊れた入力に対してpg_combinebackupがクラッシュする可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=48a1c38e8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15e940a10">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0bffea8f6">&#167;</a></small></p>
<li>pg_dumpが制約の背後にあるインデックスに対して、列の統計情報のターゲット数をダンプするようになりました。  (Zsolt Parragi) (18)(17)(16)(15)(14)</li>
<p>
式に対するインデックスはプランナ統計情報を持ちます。これまでpg_dumpは、「CREATE INDEX」で作成された式インデックスには「ALTER INDEX ... SET STATISTICS」を出力しましたが、式に対するEXCLUDE制約を通して作成されたインデックスについては取りこぼされていました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fa96254c6">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=37bbf5bba">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5e158a2e4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb157339c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3693e2bc0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a96a9e170">&#167;</a></small></p>
<li>pg_dumpのtar形式の出力で、tar要素のrestore.sqlに不正な「\restrict」「\unrestrict」コマンドを含めないように修正されました。  (Pavel Kopylov) (18)(17)(16)(15)(14)</li>
<p>
「\unrestrict (null)」「\restrict (null)」という出力が生じていました。tarを展開して中に含まれるrestore.sqlを直接psqlで読み込むのでない限り、ダンプのリストアに支障はありませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=054eb938e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2d748cfe3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=45fc3ce22">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c5fcb19d0">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b349762fd">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ae63671a7">&#167;</a></small></p>
<li>pg_walsummaryが--quietオプションでリミットブロック(limit block)の出力を抑制するようになりました。  (Koshi Shibagaki) (18)(17)</li>
<p>
「TS 17123, DB 17456, REL 23789, FORK main: limit 0」といった出力が発生していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bbddc9ac7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1370a7832">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d843a801b">&#167;</a></small></p>
<li>複数ジョブでインデックス単位の「REINDEX CONCURRENTLY」が要求された場合に、reindexdbコマンドが明確にエラーを出すようになりました。  (Kirill Reshke) (18)(17)</li>
<p>
これまではこのオプション組み合わせで「ERROR:  REINDEX CONCURRENTLY cannot run inside a transaction block」といったサーバ側のエラーを引き起こしていました。これからはクライアントコマンド側で「cannot use multiple jobs to reindex indexes concurrently」のエラーになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c84243d5b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=acccaf0d8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=869c53ff8">&#167;</a></small></p>
<li>contrib/file_fdwによる外部テーブルが列のDEFAULT句を持つときに、ANALYZEでクラッシュすることがあり、修正されました。  (Fujii Masao) (18)(17)(16)</li>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0b1eb8b91">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=813a74bc5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b2b1910d9">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e9c45974a">&#167;</a></small></p>
<li>contrib/pg_trgmのGiSTインデックスがデータ破損する可能性があり、修正されました。  (Nate Clark) (18)(17)(16)(15)(14)</li>
<p>
インデックスエントリの組み合わせによって形式を識別するフラグを失うことがあり、続くインデックス検索で条件に一致する行が結果から漏れ、誤った問い合わせ結果が生じる可能性がありました。
</p>
<p>
gist_trgm_opsのインデックスは、破損したデータを復旧するために本アップデート適用後にREINDEXが必要です。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f10d58d1f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=60ccd730d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=145a7175e">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8ef710eb3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2117bdccf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=42c6d2bc3">&#167;</a></small></p>
<li>Windowsにおけるタイマーのセットアップでエラー検査が修正されました。  (Sehrope Sarkuni) (18)(17)(16)(15)(14)</li>
<p>
タイムアウトを制御するスレッドの作成失敗が検知されず、続くタイムアウトの要求に黙って失敗していました。これからは、このスレッド作成失敗はFATALエラーを出すようになります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=0fb192f1b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=4d62ef92f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2bc73b3e8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=908589bdb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=304dd0b96">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b1c44848c">&#167;</a></small></p>
<li>タイムゾーンデータファイルがtzdata release 2026fに更新されました。  (Tom Lane) (18)(17)(16)(15)(14)</li>
<p>
カナダのノースウェスト準州は、2026年11月から通年のUTC-06（事実上、恒久的なDST）になっています。この影響を受けるのはAmerica/Inuvikのみです。これは残りの地域がAmerica/Edmontonによってカバーされているためです。America/Edmontonに対して同等の変更が2026cでリリースされていました。同様に、マニトバ（America/Winnipeg）は通年のUTC-05に移行します。いまのところ、TZ省略形はそれぞれCSTとESTであると見做します。
</p>
<p>
キューバは2026-11-01に戻ったわけではなく、今年の冬はDSTのままです（しかし、来年は通常に戻る予定のようです）。
</p>
<p>
下位互換性ゾーン名であるEST5EDT、CST6CDT、MST7MDT、およびPST8PDTでは、古いタイムスタンプに対してより単純な動作を行うようになりました。これらのゾーンでは、関連する都市名のゾーンの歴史的な振る舞いについて漏れるのを許容するのではなく、指定されたUTCオフセットとTZ略語を際限なく遡って使用します。これによりPOSIXへの準拠が向上します。
</p>
<p>
ブラジル、コロンビア、イラン、アイルランドの歴史的修正も含まれます。
</p>
<p>
Windowsではinitdbがマイクロソフトによる更新されたカナダのタイムゾーン名を認識するようになりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=9e73b2095">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c45ba888d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1ad631142">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f1762b51c">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f342cd1d8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=863f04ed3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=bf8cc4278">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f9d7dee5f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=8e1414de3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=3868ed7b3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a3657b7d4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e383197f2">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a6782db57">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=fd97624fb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5f0f69019">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cfd4b54cf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=59f48ad95">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d92c551e8">&#167;</a></small></p>
<li>AArch64におけるTAS_SPINでロック無しの初期テストを用いるようになりました。  (Nathan Bossart) (17)(16)(15)</li>
<p>
これにより、少コアマシンでの性能を劣化させることなく、多コアのAArch64マシンでの性能が改善されました。さらにより新しいLinuxカーネルでの性能退行も回避できます。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e10dc5b85">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=d45816c24">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a8e7b27e3">&#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>
	</channel>
</rss>
