Re: [HACKERS] JSON decoding plugin

2013-12-10 Thread Merlin Moncure
On Mon, Dec 9, 2013 at 10:53 AM, Euler Taveira wrote: > On 09-12-2013 13:12, Merlin Moncure wrote: >> This is pretty neat. Couple minor questions: >> *) Aren't you *en*coding data into json, not the other way around (decoding?) >> > Yes. The 'decoding' came from the functionality (logical decodi

Re: [HACKERS] JSON decoding plugin

2013-12-09 Thread Euler Taveira
On 09-12-2013 13:12, Merlin Moncure wrote: > This is pretty neat. Couple minor questions: > *) Aren't you *en*coding data into json, not the other way around (decoding?) > Yes. The 'decoding' came from the functionality (logical decoding) and because the POC plugin is named 'test_decoding'. I als

Re: [HACKERS] JSON decoding plugin

2013-12-09 Thread Merlin Moncure
On Mon, Dec 9, 2013 at 7:03 AM, Euler Taveira wrote: > Hi, > > A few months ago, it was proposed [1] that would be interested to have a > json output plugin for logical decoding. Here it is. > > Each transaction is a JSON object that can contain xid (optional), > timestamp (optional), and change a