Open guzicheng90 opened 5 years ago
create table my_table as select * from foreign_table
?
you can also put materialized view on top of foreign table to help with refresh, but I don't think you can make a foreign table into Postgres table since foreign table resides at external server and so data needs to be copied over to Postgres.
I have some trouble in using foregin table,i wanna change foreign table into common table, could i?