[HACKERS] Detecting schema changes during logical replication

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема [HACKERS] Detecting schema changes during logical replication
Дата
Msg-id CA+mi_8bgGnveMAFyuM=rV+XVDZeG1-27gEi_Uavu5xMqXnaeNw@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] Detecting schema changes during logical replication  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hello,

I'm putting together a replication system based on logical
replication. I would like to send table information only the first
time a table is seen by the 'change_cb' callback, but of course there
could be some schema change after replication started. So I wonder: is
there any information I can find in the 'Relation' structure of the
change callback, which may suggest that there could have been a change
in the table schema, hence a new schema should be sent to the client?

Thank you very much,

-- Daniele



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

Предыдущее
От: Mat Arye
Дата:
Сообщение: [HACKERS] Question about toasting code
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] Detecting schema changes during logical replication