pgsql: Make tablesample work with partitioned tables.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make tablesample work with partitioned tables.
Date: 2017-02-24 06:53:51
Message-ID: E1ch9lH-00071S-5d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5dbdb2f799232cb1b6df7d7a85d59ade3234d30c

Modified Files
--------------
src/backend/parser/parse_clause.c | 3 ++-
src/test/regress/expected/tablesample.out | 18 ++++++++++++++++++
src/test/regress/sql/tablesample.sql | 8 ++++++++
3 files changed, 28 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-02-24 20:21:47 pgsql: Fix unportable definition of BSWAP64() macro.
Previous Message Tom Lane 2017-02-24 03:08:44 pgsql: Add an Assert that enum_cmp_internal() gets passed an FmgrInfo p