<?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 12.22 &#8211; SRA OSS Tech Blog</title>
	<atom:link href="https://www.sraoss.co.jp/tech-blog/tag/postgresql-12-22/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>Fri, 23 Oct 2026 06:50:17 +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 12.22 &#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 12.22 に関する技術情報</title>
		<link>https://www.sraoss.co.jp/tech-blog/pgsql/12-22/</link>
		
		<dc:creator><![CDATA[データベース技術グループ]]></dc:creator>
		<pubDate>Wed, 18 Dec 2024 05:17:12 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[PostgreSQL 12]]></category>
		<category><![CDATA[PostgreSQL 12.21]]></category>
		<category><![CDATA[PostgreSQL 12.22]]></category>
		<category><![CDATA[アップデート]]></category>
		<guid isPermaLink="false">https://www.sraoss.co.jp/tech-blog/?p=15898</guid>

					<description><![CDATA[このリリースは 12.21 からの修正リリース（2024年 11月 21日リリース）です。 12.X バージョン系列は本リリースが最終リリースとなります。 12.X からのアップデートではダンプ、リストアは不要です。 た ...]]></description>
										<content:encoded><![CDATA[<p>このリリースは 12.21 からの修正リリース（2024年 11月 21日リリース）です。<br />
12.X バージョン系列は本リリースが最終リリースとなります。</p>
<p>12.X からのアップデートではダンプ、リストアは不要です。<br />
ただし、12.18 よりも前のバージョンからアップデートする場合には、<a href="/tech-blog/pgsql/12-18/" rel="noopener">12.18のリリース情報</a>も参照してください。</p>
<p><span id="more-15898"></span></p>
<h3>PostgreSQL 12.21 から 12.22 への変更点</h3>
<p>17.2、16.6、15.10、14.15、13.18、12.22 の各バージョンが同時にリリースされており、本ページでは共通の記載としています。各修正項目が適用されるバージョン系列番号を項目末尾に括弧書きで記載しています。</p>
<ol>
<li>ResultRelInfo 構造体と連携するエクステンションに対する ABI 破壊が修正されました。  (Tom Lane) (17)(16)(15)(14)</li>
<p>
2024/11/14のマイナーリリースにより、timescaledb や他のいくつかの拡張機能とのバイナリ互換性が意図せず壊れていました。ResultRelInfo 構造体を以前のサイズに戻されたことで、影響を受けたエクステンションをビルドし直す必要がなくなりました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=6bfacd368">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ee33d5847">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=17db248f3">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=099e711b7">&#167;</a></small></p>
<li>ALTER {ROLE|DATABASE} SET ROLE などが機能しなくなっていた問題が修正されました。  (Tom Lane, Noah Misch) (17)(16)(15)(14)(13)(12)</li>
<p>
CVE-2024-10978 の修正により、非対話的なソース（ ALTER {ROLE|DATABASE}  コマンドや PGOPTIONS 環境変数など）から設定されたロールの設定が適用されなくなる問題が発生していましたが、修正されました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1c05004a8">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b0918c128">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=edf80895f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=be062bfa5">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=07c6e0f61">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=c46333865">&#167;</a></small></p>
<li>論理レプリケーションスロットの restart_lsn が逆戻りすることがあった問題が修正されました。  (Masahiko Sawada) (17)(16)(15)(14)(13)</li>
<p>
以前は、論理レプリケーションを再起動すると、スロットの再起動ポイントが、pg_replication_slots で以前に通知されていた値よりも古い値として再計算されることがありました。 これは、たとえば WALファイルが後の restart_lsn 値に基づいて削除される可能性があるため、好ましくありません。その場合、レプリケーションの再起動に失敗します。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=568e78a65">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=f35391133">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=91771b3fb">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=26c4e8968">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=15dc1abb1">&#167;</a></small></p>
<li>pg_rewind 実行中に必要な WAL ファイルが削除される問題が修正されました。  (Polina Bungina, Alexander Kukushkin) (17)(16)(15)(14)</li>
<p>
以前は、不運なケースで、pg_rewind がプライマリからリカバリに必要なWAL ファイルを削除してしまうことがありました。
</p>
<p>
特に、WALファイルがアーカイブ可能であるものの、まだアーカイブされていない場合（つまり、.ready ファイルが作成されているとき）に問題がありました。 以前のpg_rewind この状況ではこれらの WAL ファイルを削除してしまいました。さらに、新しく昇格したノードから取得でもこれらのWAL ファイルがリサイクル・削除してしまうと、 pg_rewind を実行したノードはリカバリに必要な WAL ファイルを入手することができずリカバリが失敗していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=cb844d66b">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ea1649c35">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e28cf2fbc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=ba2535841">&#167;</a></small></p>
<li>共有統計エントリの削除に関連する競合状態が修正されました。  (Kyotaro Horiguchi, Michael Paquier) (17)(16)(15)</li>
<p>
これらのバグにより 統計データの損失、アサート失敗、または「ERROR:  can only drop stats once」というエラーが発生する可能性がありました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=1d6a03ea4">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=afa20845d">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=154c5b42a">&#167;</a></small></p>
<li>pg_stat_user_indexes.idx_scan カウンターのような統計ビューで、contrib/bloom インデックス内のインデックススキャンをカウントするようになりました。  (Masahiro Ikeda) (17)(16)(15)(14)(13)</li>
<p>
以前までは実装の見落としによりカウントがされていませんでした。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=7af6d1306">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=05aac2e83">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=16a2bb079">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2a30b6836">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=e493ea866">&#167;</a></small></p>
<li>インデックスの opclass オプションが変更されたかどうかを確認するときに発生するクラッシュが修正されました。  (Alexander Korotkov) (17)(16)(15)(14)(13)</li>
<p>
テーブルにデフォルト以外の演算子クラスオプションを持つインデックスがある場合、ALTER TABLE の一部の処理が失敗していました。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=a6fa869cf">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b242aba02">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=713b8546a">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=247e7647f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5411e8213">&#167;</a></small></p>
<li>正規表現解析処理で発生していたアサーションエラーが回避されるようになりました。  (Tom Lane) (17)(16)(15)(14)</li>
<p>
このバグは、 configure 実行時に --enable-cassert オプションを利用してアサーション検査を有効にしたビルドでのみ影響があります。
</p>
<p><small> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=5f28e6ba7">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=b6312becc">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2496c3f6f">&#167;</a> <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;h=2bdd3b248">&#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>
