Logical decoding output plug-in questions

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: pgsql-general list <pgsql-general(at)postgresql(dot)org>
Subject: Logical decoding output plug-in questions
Date: 2015-01-26 21:00:29
Message-ID: 4D9C9766-DAD1-45C5-808A-C912828E0205@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)thebuild(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-01-26 21:00:38 Re: Psql 9.4 with server 9.4 doesn't auto complete table names
Previous Message amihay gonen 2015-01-26 20:29:40 Re: Psql 9.4 with server 9.4 doesn't auto complete table names