Re: alter-table-1 isolation test spec contains a duplicate step name

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: alter-table-1 isolation test spec contains a duplicate step name
Дата
Msg-id 13410.1439587102@sss.pgh.pa.us
обсуждение исходный текст
Ответ на alter-table-1 isolation test spec contains a duplicate step name  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: alter-table-1 isolation test spec contains a duplicate step name  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Commit f14a6bbedb79adce2298d0d4f5e2abe8563e0eca added an isolation
> test, alter-table-1.spec, which reads in part:

> session "s2"
> setup           { BEGIN; }
> step "rx1"      { SELECT * FROM b WHERE a_id = 1 LIMIT 1; }
> step "wx"       { INSERT INTO b VALUES (0); }
> step "rx1"      { SELECT * FROM b WHERE a_id = 3 LIMIT 3; }
> step "c2"       { COMMIT; }

> The step name "rx1" is used twice, a condition the isolation tester
> should probably reject as an error but currently doesn't.

+1 for throwing an error ... this is clearly a mistake.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: alter-table-1 isolation test spec contains a duplicate step name
Следующее
От: "Dickson S. Guedes"
Дата:
Сообщение: [RFC] allow 'semester' in functions EXTRACT, DATE_PART, TO_CHAR and so on.