Unfortunately, foreign keys won't be supported right away.
Read about the new feature and its limitations here: https://www.postgresql.org/docs/devel/static/ddl-partitionin...
Read about the new feature and its limitations here: https://www.postgresql.org/docs/devel/static/ddl-partitionin...