Re: Problems with ALTER DOMAIN patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems with ALTER DOMAIN patch
Дата
Msg-id 20102.1039649754@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problems with ALTER DOMAIN patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Problems with ALTER DOMAIN patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I have an idea.  Rather than doing some complex locking for types, why
> don't we just restrict ALTER DOMAIN to cases where we are the only one
> attached to the database, as seen in dropdb().

Yech!

> would allow the regression test to work too because no one is attached
> to 'regression' at the time of the test.

No, we'd just get random reports of unreproducible failures.

FWIW, I frequently attach to the regression database with a manual psql
while the regression tests are running.  It's a useful thing to do ---
I've more than once found bugs that way.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: PQnotifies() in 7.3 broken?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Problems with ALTER DOMAIN patch