Skip to content

Commit 4cf419e

Browse files
committed
by GitHub Actions [skip ci]
1 parent 54f6770 commit 4cf419e

File tree

4 files changed

+19
-32
lines changed

4 files changed

+19
-32
lines changed

current/html/plpgsql-cursors.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,10 @@
257257
functions, described in <xref linkend="sql-syntax-calling-funcs"/>, it
258258
is also allowed to mix positional and named notation.
259259
</span>
260-
《マッチ度[81.171548]》<em class="firstterm">位置的</em>表記または<em class="firstterm">記名的</em>表記を使用して、引数の値を渡すことができます。
260+
<em class="firstterm">位置的</em>表記または<em class="firstterm">記名的</em>表記を使用して、引数の値を渡すことができます。
261261
位置的表記では、全ての引数が順番に指定されます。
262-
記名的表記では、引数の式と区別するために<code class="literal">:=</code>を使用して、各々の引数の名前が指定されます。
262+
記名的表記では、引数の式と区別するために<code class="literal">:=</code>または<code class="literal">=&gt;</code>を使用して、各々の引数の名前が指定されます。
263263
<a class="xref" href="sql-syntax-calling-funcs.html" title="4.3. 関数呼び出し">4.3</a>に記述した関数呼び出しと同様に、位置的表記と記名的表記を混用できます。
264-
《機械翻訳》引数の値は、<em class="firstterm">位置</em>表記または<em class="firstterm">記名的</em>表記のいずれかを使用して渡すことができます。
265-
位置表記では、すべての引数はオーダーで指定されます。
266-
記名的表記では、各引数の名前は<code class="literal">:=</code>または<code class="literal">=&gt;</code>引数式と区切るためにを使用して指定されます。
267-
<a class="xref" href="sql-syntax-calling-funcs.html" title="4.3. 関数呼び出し">4.3</a>で説明されている関数の呼出しと同様に、位置表記と記名的表記を混在させることもできます。
268264
</p><p>
269265
<span class="original">
270266
Examples (these use the cursor declaration examples above):

current/html/plpgsql-errors-and-messages.html

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,12 @@
5858
placeholders in the format string, or an error is raised during
5959
the compilation of the function.
6060
</span>
61-
《マッチ度[88.180611]》もしあれば<em class="replaceable"><code>level</code></em>の後に<em class="replaceable"><code>format</code></em>文字列を指定できます
62-
(これは評価式ではなく、単純文字列リテラルでなければなりません)。
61+
最初の構文の形式では、もし<em class="replaceable"><code>level</code></em>があればその後に<em class="replaceable"><code>format</code></em>文字列を記述します(これは評価式ではなく、単純な文字列リテラルでなければなりません)。
6362
書式文字列は報告されるエラーメッセージテキストを指定します。
63+
書式文字列の後には、メッセージに挿入される省略可能な引数の式を指定できます。
6464
書式文字列内では、<code class="literal">%</code>は次の省略可能な引数の値の文字列表現で書き換えられます。
6565
<code class="literal">%%</code>と記述することで<code class="literal">%</code>リテラルを表すことができます。
6666
引数の数は書式文字列のプレースホルダ<code class="literal">%</code>の数と一致しなければいけません。さもなくば、関数のコンパイル時にエラーが起きます。
67-
《機械翻訳》最初の構文バリアントでは、<em class="replaceable"><code>レベル</code></em>があればその後に<em class="replaceable"><code>フォーマット</code></em>文字列を記述します(これは式ではなくシンプル文字列リテラルである必要があります)。
68-
フォーマット文字列は、レポートされるエラーメッセージテキストを指定します。
69-
フォーマット文字列の後には、メッセージに挿入されるオプショナル引数式を続けることができます。
70-
フォーマット文字列の内部では、<code class="literal">%</code>は次のオプショナル引数の値の文字列表現形式に置き換えられます。
71-
Write <code class="literal">%%</code>リテラル<code class="literal">%</code>を発行します。
72-
引数の数は、フォーマット内の<code class="literal">%</code>プレースホルダの数を✔する必要があります。
73-
そうしないと、のコンパイル中に発生します。
74-
エラー関数文字列マッチ
7567
</p><p>
7668
<span class="original">
7769
In this example, the value of &lt;literal&gt;v_job_id&lt;/literal&gt; will replace the
@@ -90,15 +82,15 @@
9082
See &lt;xref linkend="errcodes-appendix"/&gt; for the valid error condition
9183
names and the predefined SQLSTATE codes.
9284
</span>
93-
《機械翻訳》2番目と3番目の構文構文では<em class="replaceable"><code>condition_name</code></em><em class="replaceable"><code>sqlstate</code></em>はそれぞれエラー条件名前または5文字のSQLSTATEコードを指定します
85+
2番目と3番目の構文の形式では<em class="replaceable"><code>condition_name</code></em><em class="replaceable"><code>sqlstate</code></em>はそれぞれエラー条件名と5文字のSQLSTATEコードを指定します
9486
有効なエラー条件名と定義済みのSQLSTATEコードについては<a class="xref" href="errcodes-appendix.html" title="付録A PostgreSQLエラーコード">付録A</a>を参照してください。
9587
</p><p>
9688
<span class="original">
9789
Here are examples
9890
of &lt;replaceable class="parameter"&gt;condition_name&lt;/replaceable&gt;
9991
and &lt;replaceable class="parameter"&gt;sqlstate&lt;/replaceable&gt; usage:
10092
</span>
101-
《機械翻訳》次に<em class="replaceable"><code>condition_name</code></em><em class="replaceable"><code>sqlstate</code></em>の使用法:
93+
以下は<em class="replaceable"><code>condition_name</code></em><em class="replaceable"><code>sqlstate</code></em>の使用方法の例です。
10294
</p><pre class="programlisting">
10395
RAISE division_by_zero;
10496
RAISE WARNING SQLSTATE '22012';
@@ -114,15 +106,17 @@
114106
string-valued expression. The allowed &lt;replaceable
115107
class="parameter"&gt;option&lt;/replaceable&gt; key words are:
116108
</span>
117-
《マッチ度[87.037037]》<code class="literal">USING</code>に続いて、<em class="replaceable"><code>option</code></em> = <em class="replaceable"><code>expression</code></em>項目を記載することで、エラー報告に追加の情報を加えることができます。
109+
いずれの構文の形式でも、<code class="literal">USING</code>の後に<em class="replaceable"><code>option</code></em> = <em class="replaceable"><code>expression</code></em>の項目を記述することで、エラー報告に追加の情報を加えることができます。
118110
<em class="replaceable"><code>expression</code></em>は、どのような文字列による式も可能です。
119111
使用可能な<em class="replaceable"><code>option</code></em>キーワードは以下です。
120-
《機械翻訳》これらの構文バリアントのいずれでも、次のように記述することで、エラーレポートに追加情報をアタッチできます。
121-
<code class="literal">USING</code>後に<em class="replaceable"><code>option</code></em>=<em class="replaceable"><code>expression</code></em> items. each <em class="replaceable"><code>expression</code></em>は、文字列の値を持つ任意の式です。
122-
許可される<em class="replaceable"><code>option</code></em>キーの語は:です。
123112

124-
</p><div class="variablelist" id="RAISE-USING-OPTIONS"><dl class="variablelist"><dt id="RAISE-USING-OPTION-MESSAGE"><span class="term"><code class="literal">MESSAGE</code></span> <a href="#RAISE-USING-OPTION-MESSAGE" class="id_link">#</a></dt><dd><p>Sets the error message text. This option can't be used in the
125-
first syntax variant, since the message is already supplied.</p></dd><dt id="RAISE-USING-OPTION-DETAIL"><span class="term"><code class="literal">DETAIL</code></span> <a href="#RAISE-USING-OPTION-DETAIL" class="id_link">#</a></dt><dd><span class="original">
113+
</p><div class="variablelist" id="RAISE-USING-OPTIONS"><dl class="variablelist"><dt id="RAISE-USING-OPTION-MESSAGE"><span class="term"><code class="literal">MESSAGE</code></span> <a href="#RAISE-USING-OPTION-MESSAGE" class="id_link">#</a></dt><dd><span class="original">
114+
&lt;para&gt;Sets the error message text. This option can't be used in the
115+
first syntax variant, since the message is already supplied.&lt;/para&gt;
116+
</span><p>
117+
エラーメッセージテキストを指定します。
118+
このオプションは、既にメッセージが指定されている最初の構文の形式では使用できません。
119+
</p></dd><dt id="RAISE-USING-OPTION-DETAIL"><span class="term"><code class="literal">DETAIL</code></span> <a href="#RAISE-USING-OPTION-DETAIL" class="id_link">#</a></dt><dd><span class="original">
126120
&lt;para&gt;Supplies an error detail message.&lt;/para&gt;
127121
</span><p>エラー詳細メッセージを出力します。</p></dd><dt id="RAISE-USING-OPTION-HINT"><span class="term"><code class="literal">HINT</code></span> <a href="#RAISE-USING-OPTION-HINT" class="id_link">#</a></dt><dd><span class="original">
128122
&lt;para&gt;Supplies a hint message.&lt;/para&gt;
@@ -133,10 +127,8 @@
133127
second or third syntax variant, since the error code is already
134128
supplied.&lt;/para&gt;
135129
</span><p>
136-
《マッチ度[54.861111]》<a class="xref" href="errcodes-appendix.html" title="付録A PostgreSQLエラーコード">付録A</a>で示されている状況名、または直接的に5文字によるSQLSTATEコードのいずれかで、報告すべきエラーコード(SQLSTATE)を指定します。
137-
《機械翻訳》エラーコード(SQLSTATE)をレポートに指定します。
138-
<a class="xref" href="errcodes-appendix.html" title="付録A PostgreSQLエラーコード">付録A</a>で示されるように条件名前によって、または5文字のSQLSTATEコードとして直接指定します。
139-
エラー構文はすでに提供されるであるため、このオプションは2番目または3番目のコードバリアントでは使用できません。
130+
報告するエラーコード(SQLSTATE)を、<a class="xref" href="errcodes-appendix.html" title="付録A PostgreSQLエラーコード">付録A</a>で示されている条件名で指定するか、または5文字のSQLSTATEコードで直接指定します。
131+
このオプションは、既にエラーコードが指定されている2番目と3番目の構文の形式では使用できません。
140132
</p></dd><dt id="RAISE-USING-OPTION-COLUMN"><span class="term"><code class="literal">COLUMN</code><br /></span><span class="term"><code class="literal">CONSTRAINT</code><br /></span><span class="term"><code class="literal">DATATYPE</code><br /></span><span class="term"><code class="literal">TABLE</code><br /></span><span class="term"><code class="literal">SCHEMA</code></span> <a href="#RAISE-USING-OPTION-COLUMN" class="id_link">#</a></dt><dd><span class="original">
141133
&lt;para&gt;Supplies the name of a related object.&lt;/para&gt;
142134
</span><p>関連するオブジェクト名を出力します。</p></dd></dl></div><p>
@@ -162,7 +154,7 @@
162154
<span class="original">
163155
Another way to produce the same result is:
164156
</span>
165-
《機械翻訳》同じ結果を得るもう1つの方法は、です
157+
以下は、同じ結果になる別の方法です
166158
</p><pre class="programlisting">
167159
RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
168160
</pre><p>
@@ -173,8 +165,7 @@
173165
&lt;replaceable class="parameter"&gt;level&lt;/replaceable&gt; USING&lt;/literal&gt; and put
174166
everything else into the &lt;literal&gt;USING&lt;/literal&gt; list.
175167
</span>
176-
《マッチ度[80.161943]》他にも亜種があり、<code class="literal">RAISE USING</code> または <code class="literal">RAISE <em class="replaceable"><code>level</code></em> USING</code>と記述して、全て一括して<code class="literal">USING</code>リスト内に書き加えます。
177-
《機械翻訳》構文の4番目のバリエーションに示されているように、<code class="literal">RAISE USING</code>または<code class="literal">RAISE <em class="replaceable"><code>level</code></em> USING</code>そして他のすべてを<code class="literal">USING</code>リストに入れると書くこともできます。
168+
4番目の構文の形式で示されているように、<code class="literal">RAISE USING</code>または<code class="literal">RAISE <em class="replaceable"><code>level</code></em> USING</code>と記述して、全て一括して<code class="literal">USING</code>リスト内に書き加えることも可能です。
178169
</p><p>
179170
<span class="original">
180171
The last variant of &lt;command&gt;RAISE&lt;/command&gt; has no parameters at all.

current/postgres-A4.pdf

-3.19 KB
Binary file not shown.

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: default
77

88
## 最新
99

10-
last-updated: 2025-12-28 04:26:47 JST
10+
last-updated: 2025-12-29 04:27:47 JST
1111

1212
### 最新 PostgreSQL
1313

0 commit comments

Comments
 (0)