Attached patch fixes an oversight that tablesample cannot be used with
partitioned tables:
create table p (a int) partition by list (a);
select * from p tablesample bernoulli (50);
ERROR: TABLESAMPLE clause can only be applied to tables and materialized
views
Thanks,
Amit
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers