pgsql: Fix completely broken REINDEX SCHEMA testcase.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix completely broken REINDEX SCHEMA testcase.
Date: 2014-12-11 22:37:22
Message-ID: E1XzCMM-0004ka-PC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix completely broken REINDEX SCHEMA testcase.

Aside from not testing the case it claimed to test (namely a permissions
failure), it left a login-capable role lying around, which quite aside
from possibly being a security hole would cause subsequent regression runs
to fail since the role would already exist.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/58af84f4bba5c87b352cf40e276e287fd289bd77

Modified Files
--------------
src/test/regress/expected/create_index.out | 9 ++++-----
src/test/regress/sql/create_index.sql | 6 +++---
2 files changed, 7 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-12-11 22:45:40 pgsql: Make rowsecurity test clean up after itself, too.
Previous Message Tom Lane 2014-12-11 20:41:33 pgsql: Fix assorted confusion between Oid and int32.