Re: dropping table in testcase alter_table.sql

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: dropping table in testcase alter_table.sql
Date: 2011-07-12 12:15:22
Message-ID: 3752FC94-90D8-40BA-B8E8-96135C61DD79@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jul 12, 2011, at 4:46 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> On fre, 2011-07-08 at 22:27 -0400, Robert Haas wrote:
>> On Fri, Jul 8, 2011 at 1:45 AM, Ashutosh Bapat
>> <ashutosh(dot)bapat(at)enterprisedb(dot)com> wrote:
>>> I think, tab1 and tab2 are too common names, for anyone to pick up for the
>>> tables. Also, the test alter_table.sql is dropping many other tables (even
>>> those which have undergone renaming), then why not these two?
>>
>> Beats me, but I don't see any particular value to changing it.
>
> It has occurred to me a few times that it could be useful to clarify the
> approach here. If we could somehow have a separable cleanup step for
> every test, and eliminate interdependencies between tests, we could more
> easily support a number of uses cases such as creating a completely
> populated regression test database for playing, or running tests in
> random order or in differently parallelized scenarios.

True.

...Robert

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-07-12 12:19:52 Re: per-column generic option
Previous Message Daniele Varrazzo 2011-07-12 11:37:41 extract(epoch from infinity) is not 0