Make tablesample work with partitioned tables.
authorRobert Haas <rhaas@postgresql.org>
Fri, 24 Feb 2017 06:51:46 +0000 (12:21 +0530)
committerRobert Haas <rhaas@postgresql.org>
Fri, 24 Feb 2017 06:53:28 +0000 (12:23 +0530)
commit5dbdb2f799232cb1b6df7d7a85d59ade3234d30c
tree6ee90ab65f715022e61707733df02656d8da932e
parent6d493e1a013514a6f0abb5d30d08219c1831cfec
Make tablesample work with partitioned tables.

This was an oversight in the original partitioning commit.

Amit Langote, reviewed by David Fetter

Discussion: http://postgr.es/m/59af6590-8ace-04c4-c36c-ea35d435c60e@lab.ntt.co.jp
src/backend/parser/parse_clause.c
src/test/regress/expected/tablesample.out
src/test/regress/sql/tablesample.sql