|
1 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>F.28. pg_logicalinspect — logical decoding components inspection</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="pgfreespacemap.html" title="F.27. pg_freespacemap — 空き領域マップを検査する" /><link rel="next" href="pgoverexplain.html" title="F.29. pg_overexplain — allow EXPLAIN to dump even more details" /><meta name="viewport" content="width=device-width,initial-scale=1.0" /></head><body id="docContent" class="container-fluid col-10"><div class="other_version"><a href="https://www.postgresql.jp/document/">バージョンごとのドキュメント一覧</a></div><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="4" align="center"><a accesskey="h" href="index.html">PostgreSQL 18.0文書</a></th></tr><tr><td width="10%" align="left"></td><td width="10%" align="left"></td><td width="60%" align="center"><a href="contrib.html" title="付録F 追加で提供されるモジュールと拡張">付録F 追加で提供されるモジュールと拡張</a></td><td width="20%" align="right"><div class="actions"><a class="issue" title="github" href="https://github.com/pgsql-jp/jpug-doc/issues/new?template=bug_report.yml&what-happened=version 18.0 : pglogicalinspect.html">誤訳等の報告 |
3 | | - </a></div></td></tr><tr><td width="10%" align="left"><a accesskey="p" href="pgfreespacemap.html" title="F.27. pg_freespacemap — 空き領域マップを検査する">前へ</a> </td><td width="10%" align="left"><a accesskey="u" href="contrib.html" title="付録F 追加で提供されるモジュールと拡張">上へ</a></td><td width="60%" align="center">F.28. pg_logicalinspect — logical decoding components inspection</td><td width="20%" align="right"> <a accesskey="n" href="pgoverexplain.html" title="F.29. pg_overexplain — allow EXPLAIN to dump even more details">次へ</a></td></tr></table><hr /></div><div class="sect1" id="PGLOGICALINSPECT"><div class="titlepage"><div><div><h2 class="title" style="clear: both">F.28. pg_logicalinspect — logical decoding components inspection <a href="#PGLOGICALINSPECT" class="id_link">#</a></h2></div></div></div><a id="id-1.11.7.38.2" class="indexterm"></a><p> |
| 2 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>F.28. pg_logicalinspect — ロジカルデコーディングコンポーネントの調査</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="pgfreespacemap.html" title="F.27. pg_freespacemap — 空き領域マップを検査する" /><link rel="next" href="pgoverexplain.html" title="F.29. pg_overexplain — allow EXPLAIN to dump even more details" /><meta name="viewport" content="width=device-width,initial-scale=1.0" /></head><body id="docContent" class="container-fluid col-10"><div class="other_version"><a href="https://www.postgresql.jp/document/">バージョンごとのドキュメント一覧</a></div><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="4" align="center"><a accesskey="h" href="index.html">PostgreSQL 18.0文書</a></th></tr><tr><td width="10%" align="left"></td><td width="10%" align="left"></td><td width="60%" align="center"><a href="contrib.html" title="付録F 追加で提供されるモジュールと拡張">付録F 追加で提供されるモジュールと拡張</a></td><td width="20%" align="right"><div class="actions"><a class="issue" title="github" href="https://github.com/pgsql-jp/jpug-doc/issues/new?template=bug_report.yml&what-happened=version 18.0 : pglogicalinspect.html">誤訳等の報告 |
| 3 | + </a></div></td></tr><tr><td width="10%" align="left"><a accesskey="p" href="pgfreespacemap.html" title="F.27. pg_freespacemap — 空き領域マップを検査する">前へ</a> </td><td width="10%" align="left"><a accesskey="u" href="contrib.html" title="付録F 追加で提供されるモジュールと拡張">上へ</a></td><td width="60%" align="center">F.28. pg_logicalinspect — ロジカルデコーディングコンポーネントの調査</td><td width="20%" align="right"> <a accesskey="n" href="pgoverexplain.html" title="F.29. pg_overexplain — allow EXPLAIN to dump even more details">次へ</a></td></tr></table><hr /></div><div class="sect1" id="PGLOGICALINSPECT"><div class="titlepage"><div><div><h2 class="title" style="clear: both">F.28. pg_logicalinspect — ロジカルデコーディングコンポーネントの調査 <a href="#PGLOGICALINSPECT" class="id_link">#</a></h2></div></div></div><span class="original"> |
| 4 | + <title>pg_logicalinspect &mdash; logical decoding components inspection</title> |
| 5 | +</span><a id="id-1.11.7.38.2" class="indexterm"></a><p> |
4 | 6 | <span class="original"> |
5 | 7 | The <filename>pg_logicalinspect</filename> module provides SQL functions |
6 | 8 | that allow you to inspect the contents of logical decoding components. It |
7 | 9 | allows the inspection of serialized logical snapshots of a running |
8 | 10 | <productname>PostgreSQL</productname> database cluster, which is useful |
9 | 11 | for debugging or educational purposes. |
10 | 12 | </span> |
11 | | -《機械翻訳》<code class="filename">pg_logicalinspect</code>モジュールは、SQLコンポーネントの内容を検査できるロジカルデコーディング関数を提供します。 |
12 | | -これにより、実行中の<span class="productname">PostgreSQL</span>ロジカルのシリアル化されたデータベースクラスタスナップショットを検査できます。 |
13 | | -これは、デバッグや教育目的に役立ちます。 |
| 13 | +<code class="filename">pg_logicalinspect</code>モジュールは、ロジカルデコーディングコンポーネントの内容を調査することができるSQL関数を提供します。 |
| 14 | +これにより実行中の<span class="productname">PostgreSQL</span>データベースクラスタのシリアル化された論理スナップショットを調査することができ、デバッグや教育目的に役立ちます。 |
14 | 15 | </p><p> |
15 | 16 | <span class="original"> |
16 | 17 | By default, use of these functions is restricted to superusers and members of |
17 | 18 | the <literal>pg_read_server_files</literal> role. Access may be granted by |
18 | 19 | superusers to others using <command>GRANT</command>. |
19 | 20 | </span> |
20 | | -《機械翻訳》デフォルト別に見ると、これらの関数の使用はスーパーユーザに限定されています。 |
21 | | -また、<code class="literal">pg_read_server_files</code>メンバ.ロールを使用している他のユーザに対して、スーパーユーザはアクセスを付与することができます。 |
22 | | -<code class="command">GRANT</code> |
23 | | - </p><div class="sect2" id="PGLOGICALINSPECT-FUNCS"><div class="titlepage"><div><div><h3 class="title">F.28.1. Functions <a href="#PGLOGICALINSPECT-FUNCS" class="id_link">#</a></h3></div></div></div><div class="variablelist"><dl class="variablelist"><dt id="PGLOGICALINSPECT-FUNCS-PG-GET-LOGICAL-SNAPSHOT-META"><span class="term"> |
| 21 | +デフォルトでは、これらの関数の使用はスーパーユーザと<code class="literal">pg_read_server_files</code>ロールのメンバに制限されています。 |
| 22 | +スーパーユーザは<code class="command">GRANT</code>を使うことによってほかのユーザにアクセスを許可できます。 |
| 23 | + </p><div class="sect2" id="PGLOGICALINSPECT-FUNCS"><div class="titlepage"><div><div><h3 class="title">F.28.1. 関数 <a href="#PGLOGICALINSPECT-FUNCS" class="id_link">#</a></h3></div></div></div><span class="original"> |
| 24 | + <title>Functions</title> |
| 25 | +</span><div class="variablelist"><dl class="variablelist"><dt id="PGLOGICALINSPECT-FUNCS-PG-GET-LOGICAL-SNAPSHOT-META"><span class="term"> |
24 | 26 | <code class="function">pg_get_logical_snapshot_meta(filename text) returns record</code> |
25 | 27 | </span> <a href="#PGLOGICALINSPECT-FUNCS-PG-GET-LOGICAL-SNAPSHOT-META" class="id_link">#</a></dt><dd><p> |
26 | 28 | <span class="original"> |
|
30 | 32 | file name. |
31 | 33 | For example: |
32 | 34 | </span> |
33 | | -《機械翻訳》snapshotの<code class="filename">pg_logical/snapshots</code>ディレクトリにあるsnapshotメタデータについて、ロジカルサーバファイルを取得します。 |
34 | | -<em class="replaceable"><code>filename</code></em>引数はsnapshotファイルの名前を表します。 |
35 | | -例の場合は、次のようになります。 |
| 35 | +サーバの<code class="filename">pg_logical/snapshots</code>にあるスナップショットファイルの論理スナップショットメタデータを取得します。 |
| 36 | +<em class="replaceable"><code>filename</code></em>引数はスナップショットファイル名を表します。 |
| 37 | +例: |
36 | 38 | </p><pre class="screen"> |
37 | 39 | postgres=# SELECT * FROM pg_ls_logicalsnapdir(); |
38 | 40 | -[ RECORD 1 ]+----------------------- |
|
59 | 61 | If <replaceable>filename</replaceable> does not match a snapshot file, the |
60 | 62 | function raises an error. |
61 | 63 | </span> |
62 | | -《機械翻訳》もし<em class="replaceable"><code>filename</code></em>マッチがsnapshotファイルでなければ、関数はエラーを上げる。 |
| 64 | +<em class="replaceable"><code>filename</code></em>がスナップショットファイルと一致しない場合は、関数はエラーを発生します。 |
63 | 65 | </p></dd><dt id="PGLOGICALINSPECT-FUNCS-PG-GET-LOGICAL-SNAPSHOT-INFO"><span class="term"> |
64 | 66 | <code class="function">pg_get_logical_snapshot_info(filename text) returns record</code> |
65 | 67 | </span> <a href="#PGLOGICALINSPECT-FUNCS-PG-GET-LOGICAL-SNAPSHOT-INFO" class="id_link">#</a></dt><dd><p> |
|
70 | 72 | file name. |
71 | 73 | For example: |
72 | 74 | </span> |
73 | | -《機械翻訳》ロジカルの<code class="filename">pg_logical/snapshots</code>ディレクトリにあるsnapshot snapshotに関するサーバファイル情報を取得します。 |
74 | | -<em class="replaceable"><code>filename</code></em>引数はsnapshot・ファイルの名前を表します。 |
75 | | -例の場合は、次のようになります。 |
| 75 | +サーバの<code class="filename">pg_logical/snapshots</code>にあるスナップショットファイルの論理スナップショット情報を取得します。 |
| 76 | +<em class="replaceable"><code>filename</code></em>引数はスナップショットファイル名を表します。 |
| 77 | +例: |
76 | 78 | </p><pre class="screen"> |
77 | 79 | postgres=# SELECT * FROM pg_ls_logicalsnapdir(); |
78 | 80 | -[ RECORD 1 ]+----------------------- |
|
121 | 123 | If <replaceable>filename</replaceable> does not match a snapshot file, the |
122 | 124 | function raises an error. |
123 | 125 | </span> |
124 | | -《機械翻訳》もし<em class="replaceable"><code>filename</code></em>マッチがsnapshotファイルでなければ、関数はエラーを上げる。 |
| 126 | +<em class="replaceable"><code>filename</code></em>がスナップショットファイルと一致しない場合は、関数はエラーを発生します。 |
125 | 127 | </p></dd></dl></div></div><div class="sect2" id="PGLOGICALINSPECT-AUTHOR"><div class="titlepage"><div><div><h3 class="title">F.28.2. 作者 <a href="#PGLOGICALINSPECT-AUTHOR" class="id_link">#</a></h3></div></div></div><span class="original"> |
126 | 128 | <title>Author</title> |
127 | 129 | </span><p> |
|
0 commit comments