Re: [HACKERS] logical changeset generation v6.5

2013-11-13 Thread Peter Eisentraut
On 11/9/13, 5:56 AM, Andres Freund wrote: > ISTM ecpg's regression tests should be built (not run!) during > $(recurse) not just during make check. Actually, I did just the opposite change some years ago. The rationale is, the build builds that which you want to install. -- Sent via pgsql-hack

Re: [HACKERS] logical changeset generation v6.5

2013-11-13 Thread Steve Singer
On 11/11/2013 02:06 PM, Andres Freund wrote: On 2013-11-10 14:45:17 -0500, Steve Singer wrote: Not really keen - that'd be a noticeable overhead. Note that in the cases where DEFAULT|INDEX is used, you can just use the new tuple to extract what you need for the pkey lookup since they now have th

Re: [HACKERS] logical changeset generation v6.5

2013-11-11 Thread Andres Freund
On 2013-11-10 14:45:17 -0500, Steve Singer wrote: > On 11/10/2013 09:41 AM, Andres Freund wrote: > >Still give me the following: > >update disorder.do_inventory set ii_in_stock=2 where ii_id=251; > >UPDATE 1 > >test1=# LOG: tuple in table with oid: 35122 without primary key > >Hm. Could it be tha

Re: [HACKERS] logical changeset generation v6.5

2013-11-10 Thread Steve Singer
On 11/10/2013 09:41 AM, Andres Freund wrote: Still give me the following: update disorder.do_inventory set ii_in_stock=2 where ii_id=251; UPDATE 1 test1=# LOG: tuple in table with oid: 35122 without primary key Hm. Could it be that you still have an older "test_decoding" plugin lying around? Th

Re: [HACKERS] logical changeset generation v6.5

2013-11-10 Thread Andres Freund
On 2013-11-09 20:16:20 -0500, Steve Singer wrote: >>When I try the test_decoding plugin on UPDATE I get rows like: > >> > >>table "do_inventory": UPDATE: ii_id[int8]:251 ii_in_stock[int8]:1 > >>ii_reserved[int8]:144 ii_total_sold[int8]:911 > >> > >>which I think is only data from the new tuple.

Re: [HACKERS] logical changeset generation v6.5

2013-11-09 Thread Steve Singer
On 11/09/2013 05:42 PM, Andres Freund wrote: On 2013-11-09 17:36:49 -0500, Steve Singer wrote: On 11/05/2013 10:21 AM, Andres Freund wrote: Hi, Attached to this mail and in the xlog-decoding-rebasing-remapping branch in my git[1] repository you can find the next version of the patchset that: *

Re: [HACKERS] logical changeset generation v6.5

2013-11-09 Thread Andres Freund
On 2013-11-09 17:36:49 -0500, Steve Singer wrote: > On 11/05/2013 10:21 AM, Andres Freund wrote: > >Hi, > > > >Attached to this mail and in the xlog-decoding-rebasing-remapping branch > >in my git[1] repository you can find the next version of the patchset that: > >* Fixes full table rewrites of ca

Re: [HACKERS] logical changeset generation v6.5

2013-11-09 Thread Steve Singer
On 11/05/2013 10:21 AM, Andres Freund wrote: Hi, Attached to this mail and in the xlog-decoding-rebasing-remapping branch in my git[1] repository you can find the next version of the patchset that: * Fixes full table rewrites of catalog tables using the method Robert prefers (which is to log

Re: [HACKERS] logical changeset generation v6.5

2013-11-09 Thread Andres Freund
On 2013-11-08 17:11:58 -0500, Peter Eisentraut wrote: > On 11/8/13, 3:03 PM, Robert Haas wrote: > > On Fri, Nov 8, 2013 at 12:38 PM, Robert Haas wrote: > >> On Tue, Nov 5, 2013 at 10:21 AM, Andres Freund > >> wrote: > >>> Attached to this mail and in the xlog-decoding-rebasing-remapping branch >

Re: [HACKERS] logical changeset generation v6.5

2013-11-08 Thread Peter Eisentraut
On 11/8/13, 3:03 PM, Robert Haas wrote: > On Fri, Nov 8, 2013 at 12:38 PM, Robert Haas wrote: >> On Tue, Nov 5, 2013 at 10:21 AM, Andres Freund >> wrote: >>> Attached to this mail and in the xlog-decoding-rebasing-remapping branch >>> in my git[1] repository you can find the next version of the

Re: [HACKERS] logical changeset generation v6.5

2013-11-08 Thread Robert Haas
On Fri, Nov 8, 2013 at 12:38 PM, Robert Haas wrote: > On Tue, Nov 5, 2013 at 10:21 AM, Andres Freund wrote: >> Attached to this mail and in the xlog-decoding-rebasing-remapping branch >> in my git[1] repository you can find the next version of the patchset that: > > I have pushed patches #1 and #

Re: [HACKERS] logical changeset generation v6.5

2013-11-08 Thread Robert Haas
On Tue, Nov 5, 2013 at 10:21 AM, Andres Freund wrote: > Attached to this mail and in the xlog-decoding-rebasing-remapping branch > in my git[1] repository you can find the next version of the patchset that: I have pushed patches #1 and #2 from this series as a single commit, after some editing.