Tomas noticed that the patch is missing error check when TABLESAMPLE is
used on view, so here is a new version that checks it's only used
against table or matview.
No other changes.
--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services