Add ANALYZE into regression tests
authorStephen Frost <sfrost@snowman.net>
Sun, 13 Apr 2014 04:41:33 +0000 (00:41 -0400)
committerStephen Frost <sfrost@snowman.net>
Sun, 13 Apr 2014 04:41:33 +0000 (00:41 -0400)
commitb3e6593716efef901fcc847f33256c6b49958898
tree43e37a207d8e3e812ad97a1e8202ae3066063e6c
parentd95425c8b9d3ea1681bd91b76ce73be95ca5ee21
Add ANALYZE into regression tests

Looks like we can end up with different plans happening on the
buildfarm, which breaks the regression tests when we include
EXPLAIN output (which is done in the regression tests for
updatable security views, to ensure that the user-defined
function isn't pushed down to a level where it could view the
rows before the security quals are applied).

This adds in ANALYZE to hopefully make the plans consistent.
The ANALYZE ends up changing the original plan too, so the
update looks bigger than it really is.  The new plan looks
perfectly valid, of course.
src/test/regress/expected/updatable_views.out
src/test/regress/sql/updatable_views.sql