Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3467f02

Browse files
committed
Add note that not all SQL commands support ONLY in the same way.
1 parentaf96c82 commit3467f02

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

‎doc/src/sgml/ddl.sgml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.84 2009/01/07 22:40:49 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.85 2009/01/08 12:47:58 petere Exp $ -->
22

33
<chapter id="ddl">
44
<title>Data Definition</title>
@@ -2136,6 +2136,23 @@ VALUES ('New York', NULL, NULL, 'NY');
21362136
permissions on it.
21372137
</para>
21382138

2139+
<para>
2140+
More generally, note that not all SQL commands are able to work on
2141+
inheritance hierarchies. Commands that are used for data querying,
2142+
data modification, or schema modification
2143+
(e.g., <literal>SELECT</literal>, <literal>UPDATE</literal>, <literal>DELETE</literal>,
2144+
most variants of <literal>ALTER TABLE</literal>, but
2145+
not <literal>INSERT</literal> and <literal>ALTER TABLE ...
2146+
RENAME</literal>) typically default to including child tables and
2147+
support the <literal>ONLY</literal> notation to exclude them.
2148+
Commands that do database maintenance and tuning
2149+
(e.g., <literal>REINDEX</literal>, <literal>VACUUM</literal>)
2150+
typically only work on individual, physical tables and do no
2151+
support recursing over inheritance hierarchies. The respective
2152+
behavior of each individual command is documented in the reference
2153+
part (<xref linkend="sql-commands">).
2154+
</para>
2155+
21392156
<para>
21402157
A serious limitation of the inheritance feature is that indexes (including
21412158
unique constraints) and foreign key constraints only apply to single

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp