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

Commitc3db1f3

Browse files
committed
doc: clarify PERIOD and WITHOUT OVERLAPS in CREATE TABLE
Discussion:https://postgr.es/m/04938501-fc8f-46f3-97a4-9a81a3f24530@illuminatedcomputing.comAuthor: Paul JungwirthBackpatch-through: master
1 parentd727c54 commitc3db1f3

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎doc/src/sgml/ref/create_table.sgml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,11 +1184,13 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
11841184
referent for its entire duration. This column must be a range or
11851185
multirange type. In addition, the referenced table must have a primary
11861186
key or unique constraint declared with <literal>WITHOUT
1187-
OVERLAPS</literal>. Finally, if one side of the foreign key uses
1188-
<literal>PERIOD</literal>, the other side must too. If the <replaceable
1189-
class="parameter">refcolumn</replaceable> list is omitted, the
1190-
<literal>WITHOUT OVERLAPS</literal> part of the primary key is treated
1191-
as if marked with <literal>PERIOD</literal>.
1187+
OVERLAPS</literal>. Finally, if the foreign key has a PERIOD
1188+
<replaceable class="parameter">column_name</replaceable> specification
1189+
the corresponding <replaceable class="parameter">refcolumn</replaceable>,
1190+
if present, must also be marked <literal>PERIOD</literal>. If the
1191+
<replaceable class="parameter">refcolumn</replaceable> clause is omitted,
1192+
and thus the reftable's primary key constraint chosen, the primary key
1193+
must have its final column marked <literal>WITHOUT OVERLAPS</literal>.
11921194
</para>
11931195

11941196
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp