Re: [GENERAL] Logical decoding output plug-in questions

2015-01-26 Thread Andres Freund
On 2015-01-26 15:35:39 -0800, Christophe Pettus wrote: > On Jan 26, 2015, at 2:24 PM, Andres Freund wrote: > > > What's in the old tuple depends on the configured replica identity. > > My apologies, but... "configured replica identity"? Search for "postgres" and "replica identity". > > Th

Re: [GENERAL] Logical decoding output plug-in questions

2015-01-26 Thread Christophe Pettus
Thank you! On Jan 26, 2015, at 2:24 PM, Andres Freund wrote: > What's in the old tuple depends on the configured replica identity. My apologies, but... "configured replica identity"? > The is_init parameter will be true when the > replication slot is being created [...] Thanks! I s

Re: [GENERAL] Logical decoding output plug-in questions

2015-01-26 Thread Andres Freund
On 2015-01-26 13:00:29 -0800, Christophe Pettus wrote: > * 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? Yes. Important so

[GENERAL] Logical decoding output plug-in questions

2015-01-26 Thread Christophe Pettus
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 callba