Re: Bus error in pg_logical_slot_get_changes (9.4.7, sparc)
Вложения
В списке pgsql-bugs по дате отправления:
| От | Christoph Berg |
|---|---|
| Тема | Re: Bus error in pg_logical_slot_get_changes (9.4.7, sparc) |
| Дата | |
| Msg-id | 20160413211152.GA21711@msg.credativ.de обсуждение исходный текст |
| Ответ на | Re: Bus error in pg_logical_slot_get_changes (9.4.7, sparc) (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: Bus error in pg_logical_slot_get_changes (9.4.7, sparc)
|
| Список | pgsql-bugs |
Re: Andres Freund 2016-04-13 <20160413161906.aykti6iwdc7zv7l6@alap3.anarazel.de> > > 2327 Size tuplelen = ((HeapTuple) data)->t_len; > > Hrmpf, I guess this is an alignment issue. We should probably replace > that ->t_len lookup with a memcpy. IIRC it's not entirely trivial to > access porter boxes anymore - could you perhaps just replace those two > t_len lookups with a memcpy (i.e. memcpy(&tuplelen, &(HeapTuple) > data)->t_len, sizeof(uint32))? That fixed the contrib/test_decoding checks, thanks. Will do another full build over night to double check. Mit freundlichen Grüßen, Christoph Berg -- Senior Berater, Tel.: +49 (0)21 61 / 46 43-187 credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209 Hohenzollernstr. 133, 41061 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer pgp fingerprint: 5C48 FE61 57F4 9179 5970 87C6 4C5A 6BAB 12D2 A7AE
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера