You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is probably due to us handling truncate command via process utility.
Note : Postgres does support truncating foreign tables. So we hook into process utility and modify truncate command to remove any cstore_fdw tables in it. Then we do our internal truncation.
Repro steps
createtablepp(a int, b int) partition by range(a);
createtablep1 partition of pp for valuesfrom (1) to (10);
create foreign table c1 partition of pp for valuesfrom (10) to (20) server cstore_server;
insert into pp values (1,1);
select*from pp;
truncate pp; -- will fail with ERROR: "c1" is not a table-- see truncate on regular table partition is not performed eitherselect*from pp;
The text was updated successfully, but these errors were encountered:
That is probably due to us handling truncate command via process utility.
Note : Postgres does support truncating foreign tables. So we hook into process utility and modify truncate command to remove any cstore_fdw tables in it. Then we do our internal truncation.
Repro steps
The text was updated successfully, but these errors were encountered: