RE: Logical Replication of sequences
| От | Hayato Kuroda (Fujitsu) |
|---|---|
| Тема | RE: Logical Replication of sequences |
| Дата | |
| Msg-id | OS7PR01MB145594DAC6544508FDBD88099F589A@OS7PR01MB14559.jpnprd01.prod.outlook.com обсуждение исходный текст |
| Ответ на | Re: Logical Replication of sequences (Alexander Lakhin <exclusion@gmail.com>) |
| Ответы |
Re: Logical Replication of sequences
|
| Список | pgsql-hackers |
Dear Alexander, > FWIW, this issue is not reproduced at 7a485bd64~1, maybe this should be > taken into account. To confirm, are you saying that the issue cannot be reproduced before 7a485bd64 right? I think it's because try_relation_open() is used in pg_get_sequence_data(). Before the commit we forcibly open the relation and raise an ERROR if it fails. The sequencesync worker exits and tries again - everything is OK. After the commit, however, we allow to fail opening and the SQL function returns NULL - this can cause the assertion failure. Best regards, Hayato Kuroda FUJITSU LIMITED
В списке pgsql-hackers по дате отправления: