I have some table in mariadb.
I need to create foreign table partition for that table
CREATE TABLE IF NOT EXISTS users (
id serial NOT NULL,
name varchar(30)
) partition by range(id);
CREATE foreign TABLE IF NOT EXISTS users_p
partition of users for values from(0) to (10000)
SERVER test22
options (table_name 'users');
If i try to get some data all is OK
but then i try insert something
insert into users (id,name) values (111,'somename');
I got an error (text depends on fdw)
COPY and foreign partition routing not supported in mysql_fdw
i tried two variants of fdw.
EnterpriseDB/mysql_fdw and pgspider/jdbc_fdw
Is there a fdw that supports insert if foreign table is partition? Or any variants how can i realize that