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
   x...@thebuild.com



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

Reply via email to