I want to create a references to foreign table. but i\'m getting the following error:
query:
CREATE TABLE category_ids (id INT, post_id INT,
This error can also come when parent table is partitioned. Removing partitioning from the parent table allows foreign constraint to be created without any problem.