Re: dropping partitions and concurrent reads

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dropping partitions and concurrent reads
Дата
Msg-id 23380.1253048299@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dropping partitions and concurrent reads  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: dropping partitions and concurrent reads
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> S1, S2 are concurrent sessions:

> S1: create table test_par (v int);
> S1: create table test_ch1 (check (v > 0 and v <= 2)) inherits (test_par);
> S1: create table test_ch2 (check (v > 2 and v <= 4)) inherits (test_par);
> S1: begin;
> S1: drop table test_ch1 cascade;

> S2: select * from test_par where v = 3;

> S1: commit;

> in S2 I get:

>   ERROR:  could not open relation with OID 66962

Oh?  Are you using 8.4+?
        regards, tom lane


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: [BUGS] BUG #5053: domain constraints still leak
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: dropping partitions and concurrent reads