RE: Truncate in synchronous logical replication failed

Поиск
Список
Период
Сортировка
От osumi.takamichi@fujitsu.com
Тема RE: Truncate in synchronous logical replication failed
Дата
Msg-id OSBPR01MB488848A2A79AAE84F8C0E56AED459@OSBPR01MB4888.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на RE: Truncate in synchronous logical replication failed  ("osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>)
Ответы Re: Truncate in synchronous logical replication failed
Список pgsql-hackers
On Friday, April 23, 2021 6:03 PM I wrote:
> I've combined v5 with above accepted comments.
> 
> Just in case, I've conducted make check-world, the test of
> clobber_cache_always mode again for v6 and tight loop test of 100 times for
> 010_truncate.pl.
> The result is that all passed with no failure.
I'm sorry, I realized another minor thing which should be fixed.

In v6, I did below.
+Bitmapset *
+RelationGetIdentityKeyBitmap(Relation relation)
+{
+       Bitmapset  *idindexattrs;       /* columns in the replica identity */
...
+       /* Build attributes to idindexattrs */
+       idindexattrs = NULL;

But, we removed the loop, so we can insert NULL
at the beginning to declare idindexattrs.
v7 is the version to update this part and
related comments from v6.

Best Regards,
    Takamichi Osumi


Вложения

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

Предыдущее
От: Alexander Pyhalov
Дата:
Сообщение: Re: CTE push down
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to test Postgres for any unaligned memory accesses?