Skip to content

Commit 759080a

Browse files
committed
by GitHub Actions [skip ci]
1 parent 395003a commit 759080a

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

current/html/auth-username-maps.html

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,11 @@
133133
multiple user names in a single line, which is particularly useful for
134134
simple syntax substitutions. For example, these entries
135135
</span>
136-
《マッチ度[88.342697]》もし<em class="replaceable"><code>system-username</code></em>フィールドがスラッシュ(<code class="literal">/</code>)で始まっている場合は、
137-
このフィールドの残りは正規表現として扱われます。
136+
もし<em class="replaceable"><code>system-username</code></em>フィールドがスラッシュ(<code class="literal">/</code>)で始まっている場合は、このフィールドの残りは正規表現として扱われます。
138137
<span class="productname">PostgreSQL</span>の正規表現構文の詳細については<a class="xref" href="functions-matching.html#POSIX-SYNTAX-DETAILS" title="9.7.3.1. 正規表現の詳細">9.7.3.1</a>を参照してください。)
139-
正規表現は単一検索や括弧を使用した表現、<em class="replaceable"><code>database-username</code></em>フィールドで<code class="literal">\1</code>(バックスラッシュ-1)で参照されるような表現を含みます。
138+
正規表現は単一キャプチャや括弧を使用した表現を含みます。
139+
検索に一致したシステムユーザ名の一部は、<em class="replaceable"><code>database-username</code></em>フィールドで<code class="literal">\1</code>(バックスラッシュ1)として参照できます。
140140
これにより、1行で複数のユーザ名のマップが可能となり、簡単な構文で特に使いやすくなります。例を以下に示します。
141-
《機械翻訳》<em class="replaceable"><code>システム-ユーザ名</code></em>フィールドがスラッシュ(<code class="literal">/</code>)で始まる場合、フィールドの残りの部分は正規表現として扱われます。
142-
(<span class="productname">PostgreSQL</span>の正規表現構文の詳細は<a class="xref" href="functions-matching.html#POSIX-SYNTAX-DETAILS" title="9.7.3.1. 正規表現の詳細">9.7.3.1</a>を参照してください。
143-
正規表現は、単一のキャプチャ、つまり括弧で囲まれた部分式をincludeすることができます。
144-
キャプチャに一致したシステムユーザ名前の部分は、<em class="replaceable"><code>データベース-ユーザ名</code></em>フィールドの被参照<code class="literal">\1</code>(バックスラッシュ-oneになります。
145-
これにより、マルチプルユーザ名のマッピングを単一の直線に含めることができます。
146-
これは特にシンプル構文置換に便利です。
147-
例の場合、これらのエントリ。
148141
</p><pre class="programlisting">
149142
mymap /^(.*)@mydomain\.com$ \1
150143
mymap /^(.*)@otherdomain\.com$ guest
@@ -169,8 +162,8 @@
169162
refer to a capture from the &lt;replaceable&gt;system-username&lt;/replaceable&gt;
170163
field.
171164
</span>
172-
《機械翻訳》<em class="replaceable"><code>データベース-ユーザ名</code></em>フィールドがスラッシュ(<code class="literal">/</code>)で始まる場合、フィールドの残りの部分は正規表現として扱われます
173-
<em class="replaceable"><code>データベース-ユーザ名</code></em>フィールドが正規表現の場合、<em class="replaceable"><code>system-username</code></em>フィールドからキャプチャを参照するために<code class="literal">\1</code>その中でを使用することはできません
165+
<em class="replaceable"><code>database-username</code></em>フィールドがスラッシュ(<code class="literal">/</code>)で始まる場合、フィールドの残りは正規表現として扱われます
166+
<em class="replaceable"><code>database-username</code></em>フィールドが正規表現の場合、その中で<code class="literal">\1</code>を使用して<em class="replaceable"><code>system-username</code></em>フィールドからキャプチャを参照することはできません
174167
</p><div class="tip"><h3 class="title">ヒント</h3><p>
175168
<span class="original">
176169
Keep in mind that by default, a regular expression can match just part of

current/postgres-A4.pdf

-1.38 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-09-13 04:24:05 JST
10+
last-updated: 2025-09-17 04:26:14 JST
1111

1212
### 最新 PostgreSQL
1313

0 commit comments

Comments
 (0)