Re: pgsql: Regression tests for security_barrier views.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Regression tests for security_barrier views.
Date: 2012-01-20 19:58:22
Message-ID: 4277.1327089502@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Robert Haas <rhaas(at)postgresql(dot)org> writes:
> Regression tests for security_barrier views.

This patch broke the regression tests for any scenario where you run the
tests multiple times without an initdb, because it creates a role and
fails to drop it.

More generally, please do not use role names as generic as "alice" in
regression tests, as that could have disastrous effects if someone
were to run the regression tests in a live installation. We have a
convention of using "regressuser1" and so forth.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-01-21 05:14:57 Re: pgsql: Regression tests for security_barrier views.
Previous Message Magnus Hagander 2012-01-20 13:00:43 pgsql: Check number of fields in IDENTIFY_SYSTEM response