Logical Decoding Callbacks

Поиск
Список
Период
Сортировка
От Xavier Stevens
Тема Logical Decoding Callbacks
Дата
Msg-id CAFu3Q-J+xt94zaDR_E+tNwb3y=fFXhV=CNYZe4UikxnM3Vt48w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Logical Decoding Callbacks  (Michael Paquier <michael.paquier@gmail.com>)
Re: Logical Decoding Callbacks  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-general
I'm trying to write a logical decoding plugin and I'm seeing some interesting behavior around the startup callback. When I use psql and the built-in SQL functions (like pg_logical_slot_peek_changes) to use my module I see the startup_cb get called. I have written my own streaming replication client and for some reason when I use my client the startup_cb does not get called, but I can still see the changes just fine. The reason why the startup_cb is particularly important in my case, is I'm trying to set two dynamic OIDs for PostGIS geometry and geography types. I've tried setting them both as globals and as part of the output_plugin_private data.

Any idea what's wrong here? Did I miss something in the streaming replication documentation?

Thanks in advance.


Xavier

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

Предыдущее
От: Kai Groner
Дата:
Сообщение: EXCLUDE constraint with not equals
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Logical Decoding Callbacks