Commit f56f8f8
committed
Support foreign keys that reference partitioned tables
Previously, while primary keys could be made on partitioned tables, it
was not possible to define foreign keys that reference those primary
keys. Now it is possible to do that.
Author: Álvaro Herrera
Reviewed-by: Amit Langote, Jesper Pedersen
Discussion: https://postgr.es/m/20181102234158.735b3fevta63msbj@alvherre.pgsql1 parent 9155580 commit f56f8f8
File tree
15 files changed
+2039
-431
lines changed- doc/src/sgml/ref
- src
- backend
- commands
- utils/adt
- bin/psql
- include
- commands
- utils
- test
- isolation
- expected
- specs
- regress
- expected
- sql
15 files changed
+2039
-431
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | 382 | | |
386 | 383 | | |
387 | 384 | | |
| |||
1028 | 1025 | | |
1029 | 1026 | | |
1030 | 1027 | | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
| 1028 | + | |
1034 | 1029 | | |
1035 | 1030 | | |
1036 | 1031 | | |
| |||
0 commit comments