Re: Partition Check not updated when insert into a partition

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Partition Check not updated when insert into a partition
Дата
Msg-id 202110181740.qxd3qtox4xxa@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Partition Check not updated when insert into a partition  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: Partition Check not updated when insert into a partition
Список pgsql-hackers
On 2021-Oct-18, Alvaro Herrera wrote:

> Thanks.  I'm looking at it now.  I notice that if I take out the code
> fix and keep the tests, I only see the ATTACH side of the problem have a
> failure; I expected to see a failure for DETACH too.

Ah, no, the test covers both cases; it's just that if it fails the first
time, it'll fail to fail the second time.  But if I run it separately,
and make it succeed the first time, then the second one will fail as
expected.  This becomes better visible by adding \c in a few places, but
I don't think it's necessary to add it to the committed test -- I'm
taking the code as Amit submitted.

-- 
Álvaro Herrera           39°49'30"S 73°17'W  —  https://www.EnterpriseDB.com/
Maybe there's lots of data loss but the records of data loss are also lost.
(Lincoln Yeoh)



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Partition Check not updated when insert into a partition
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: BUG #17212: pg_amcheck fails on checking temporary relations