Skip to content

Commit 3056b6d

Browse files
committed
RANGE & HASH constraints should be inherited by default (constraint->is_no_inherit = false)
1 parent f2e6be0 commit 3056b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partition_creation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ make_constraint_common(char *name, Node *raw_expr)
10751075
constraint->initdeferred = false;
10761076
constraint->location = -1;
10771077
constraint->contype = CONSTR_CHECK;
1078-
constraint->is_no_inherit = true;
1078+
constraint->is_no_inherit = false;
10791079

10801080
/* Validate existing data using this constraint */
10811081
constraint->skip_validation = false;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy