Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ddl.sgmlの16.0対応です #2811

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Conversation

noborus
Copy link
Contributor

@noborus noborus commented Jan 25, 2024

No description provided.

Copy link
Contributor

@koizumistr koizumistr left a comment

Choose a reason for hiding this comment

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

確認しました。

しかし、子列は異なる生成式を持つことができます
行の挿入または更新時に実際に適用される生成式は、物理的に行が存在するテーブルに関連付けられたものです
これは列デフォルトの動作とは異なります
列デフォルトの場合、クエリで指定されたテーブルに関連付けられたデフォルト値が適用されます。)
Copy link
Contributor

Choose a reason for hiding this comment

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

クエリ -> 問い合わせ

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ありがとうございます。
他でもクエリが混在しているのですが、とりあえず修正します。

《機械翻訳》継承されたテーブルの場合、<command>CREATEカラム.定義</command>に<literal>GENERATED</literal>句を持たない子テーブル継承を書き込むと、その<literal>GENERATED</literal>句は自動的に親からコピーされます。
<command>ALTERテーブル.INHERIT</command>は、親と子カラムが世代ステータスに関してすでにマッチであることを要求しますが、マッチへの世代式は必要ありません
継承されたテーブルの場合、<command>CREATE TABLE ... INHERITS</command>に<literal>GENERATED</literal>句を持たない子テーブル継承を書き込むと、その<literal>GENERATED</literal>句は自動的に親からコピーされます。
<command>ALTER TABLE ... INHERIT</command>は、親列と子列が世代ステータスに関してマッチであることを要求しますが、マッチに対してそれらの世代式を要求しません
Copy link
Contributor

Choose a reason for hiding this comment

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

世代ステータス -> 生成状態
世代式 -> 生成式

だと思うのですが、文全体の意味がよく分かっていません。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

すみません。修正します。

<command>ALTERテーブル.アタッチパーティション</command>は、親列と子列が世代ステータスに関してマッチであることを主張しますが、マッチに対してそれらの世代式を要求しません。
パーティション化されたテーブルの場合も同様です。
<command>CREATE TABLE ... PARTITION OF</command>に<literal>GENERATED</literal>句を持たない子テーブル継承を書き込むと、その<literal>GENERATED</literal>句は自動的に親からコピーされます。
<command>ALTER TABLE ... ATTACH PARTITION</command>は、親列と子列が世代ステータスに関してマッチであることを要求しますが、マッチに対してそれらの世代式を要求しません。
Copy link
Contributor

Choose a reason for hiding this comment

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

これも

世代ステータス -> 生成状態
世代式 -> 生成式

だと思います。(よく分かってないのも同じ、、、)

Copy link
Contributor

@koizumistr koizumistr left a comment

Choose a reason for hiding this comment

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

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

Copy link
Contributor

@tatsuo-ishii tatsuo-ishii left a comment

Choose a reason for hiding this comment

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

確認しました。

@tatsuo-ishii tatsuo-ishii merged commit d639eb2 into pgsql-jp:doc_ja_16 Mar 5, 2024
2 checks passed
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