Skip to content

update contrib-spi for 18.6 - #3736

Open
koizumistr wants to merge 2 commits into
pgsql-jp:doc_ja_18from
koizumistr:contrib-spi_18.6
Open

koizumistr wants to merge 2 commits into
pgsql-jp:doc_ja_18from
koizumistr:contrib-spi_18.6

Conversation

@koizumistr

Copy link
Copy Markdown
Contributor

contrib-spi.sgml の 18.6 対応です。

Comment thread doc/src/sgml/contrib-spi.sgml Outdated
data types where the equality operator is named <literal>=</literal>.
-->
《機械翻訳》<filename>refint</filename>には、<link linkend="ddl-schemas-patterns">セキュアスキーマ使用パターン</link>タイプと、データが記名的である等価演算子タイプが必要です<literal>=</literal>.
<filename>refint</filename>には、<link linkend="ddl-schemas-patterns">安全なスキーマ使用パターン</link>と、等価演算子が<literal>=</literal>という名前であるデータ型が必要です。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

等価演算子が<literal>=</literal>という名前であるデータ型が必要です。

がちょっと分かりづらいように思いました。

等価演算子の名前が<literal>=</literal>であるデータ型が必要です。

とするのはどうでしょうか。

@koizumistr

Copy link
Copy Markdown
Contributor Author

確認ありがとうございます。対応しました。

@noborus noborus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正ありがとうございます。
確認しました。

@KenichiroTanaka KenichiroTanaka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

対応ありがとうございます。
細かい箇所を含めて少し気づいたところがあるので見ていただけないでしょうか。

example of proper use of <function>check_primary_key()</function>:
-->
《機械翻訳》<function>check_primary_key()</function><emphasis>被参照</emphasis>テーブル名前とカラム名前の引数は、内部で生成されたSQL文にそのままコピーされるため、<command>CREATE TRIGGER</command>コマンドで必要に応じてユーザで二重引用符で囲む必要があります。
<function>check_primary_key()</function>の<emphasis>被参照</emphasis>テーブル名と列名の引数は、内部で生成されたSQL文にそのままコピーされるため、<command>CREATE TRIGGER</command>コマンドで必要に応じてユーザで二重引用符で囲む必要があります。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

細かいですが「コマンドで必要に応じてユーザで二重引用符で」の箇所は「で」が続いて読みにくいため
「コマンドで必要に応じてユーザが二重引用符で」
とするのはどうでしょうか。

SQL識別子の引用符付けの詳細は、<xref linkend="sql-syntax-identifiers"/>を参照してください。
逆に、<emphasis>参照</emphasis>テーブル列名前の引数は二重引用符で囲む必要はありません。
<function>check_primary_key()</function>:の正しい使用方法については、次の模擬例を参照してください。
逆に、<emphasis>参照</emphasis>テーブル列名の引数は二重引用符で囲む必要はありません。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

「囲む必要はありません」の箇所ですが、原文は「 should not be double quoted」ですので(don't have to be double quotedではなく)、ですので「囲むべきではありません」など禁止する表現がよいと思います。

mock example of proper use of <function>check_foreign_key()</function>:
-->
《機械翻訳》<function>check_foreign_key()</function>参照テーブル名前とカラム名前の引数は、内部で生成されたSQL文にそのままコピーされるため、<command>CREATE TRIGGER</command>コマンドで必要に応じてユーザで二重引用符で囲む必要があります。
<function>check_foreign_key()</function>の<emphasis>参照</emphasis>テーブル名と列名の引数は、内部で生成されたSQL文にそのままコピーされるため、<command>CREATE TRIGGER</command>コマンドで必要に応じてユーザで二重引用符で囲む必要があります。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上です。

逆に、<emphasis>被参照</emphasis>テーブル列名前の引数は二重引用符で囲む必要はありません。
<function>check_foreign_key()</function>:の正しい使用方法については、次の模擬例を参照してください。
<emphasis></emphasis>
逆に、<emphasis>被参照</emphasis>テーブル列名の引数は二重引用符で囲む必要はありません。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上です。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants