Re: Logical decoding for operations on zheap tables

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Logical decoding for operations on zheap tables
Дата
Msg-id 201901031813.spi5pznj2b67@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Logical decoding for operations on zheap tables  (Andres Freund <andres@anarazel.de>)
Ответы Re: Logical decoding for operations on zheap tables  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 2019-Jan-03, Andres Freund wrote:

> > Apart from this, we need to define different decode functions for
> > zheap operations as the WAL data is different for heap and zheap, so
> > same functions can't be used to decode.
> 
> I'm very strongly opposed to that. We shouldn't have expose every
> possible storage method to output plugins, that'll make extensibility
> a farce.  I think we'll either have to re-form a HeapTuple or decide
> to bite the bullet and start exposing tuples via slots.

Hmm, without looking at the patches, I agree that the tuples should be
given as slots to the logical decoding interface.  I wonder if we need a
further function in the TTS interface to help decoding, or is the
"getattr" stuff sufficient.


-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Unified logging system for command-line programs
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Logical decoding for operations on zheap tables