Обсуждение: add regression test for #1433

Поиск
Список
Период
Сортировка

add regression test for #1433

От
Neil Conway
Дата:
This patch adds a regression test for the bug with domains and ALTER
TABLE that Tom fixed a few hours ago.

Barring any objections I'll apply this to HEAD by the end of the day.

-Neil


Вложения

Re: add regression test for #1433

От
Neil Conway
Дата:
On Mon, 2005-01-24 at 22:22 -0500, Tom Lane wrote:
> It might be better to make the tables TEMP tables --- there are some
> regression tests that depend on the set of existing tables, IIRC.
> Otherwise ok.

True, although those kind of dependencies usually cause an obvious test
failure (which this patch doesn't cause). I've been thinking that
there's some value in keeping database objects creating by regression
tests around, so that we get better pg_dump coverage (a quick and dirty
pg_dump test is to dump the database created by "make installcheck" and
restore it). Admittedly this is pretty primitive, but it's better than
nothing.

[ Sorry for applying the patch already, I hadn't received your mail ]

-Neil



Re: add regression test for #1433

От
Neil Conway
Дата:
On Tue, 2005-01-25 at 11:56 +1100, Neil Conway wrote:
> This patch adds a regression test for the bug with domains and ALTER
> TABLE that Tom fixed a few hours ago.

Applied.

-Neil



Re: add regression test for #1433

От
Tom Lane
Дата:
Neil Conway <neilc@samurai.com> writes:
> This patch adds a regression test for the bug with domains and ALTER
> TABLE that Tom fixed a few hours ago.

It might be better to make the tables TEMP tables --- there are some
regression tests that depend on the set of existing tables, IIRC.
Otherwise ok.

            regards, tom lane