I can easily create a foreign table based on a view, but that table is useless - can't be queried because of an errror: "unable to establish size of foreign table mytable". Is there a way to make it work?