Search Postgresql Archives

Logical decoding output plug-in questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having a great time playing with logical decoding, and had a couple of parameter questions:

* OutputPluginPrepareWrite, OutputPluginWrite -- last_write.  This is false if you are planning to do another OutputPluginPrepareWrite/OutputPluginWrite pair in the same invocation of the same callback function, yes?

* On an UPDATE, it appears that data.tp.oldtuple is only not-NULL if a primary key field changed, and then it only includes primary key fields (the rest being NULL).  Correct?

* pg_decode_startup -- is_init.  What's the situation under which this is true or false?

Thanks!

--
-- Christophe Pettus
   xof@xxxxxxxxxxxx



-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux