Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: Kuntal Ghosh <kuntalghosh(dot)2007(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions
Date: 2020-04-23 03:24:41
Message-ID: CAFiTN-sb9tCNSc=-dpjMD4iOXEf4BGj+hmWZ2hBa7iNLob_akA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 22, 2020 at 9:31 PM Erik Rijkers <er(at)xs4all(dot)nl> wrote:
>
> On 2020-04-22 16:49, Dilip Kumar wrote:
> > On Tue, Apr 21, 2020 at 5:30 PM Dilip Kumar <dilipbalaut(at)gmail(dot)com>
> > wrote:
> >>
> >> >
> >> > (by the way: this build's regression tests 'ddl', 'toast', and
> >> > 'spill' fail)
> >>
> >> Yeah, this is a. known issue, actually, while streaming the
> >> transaction the output message is changed. I have a plan to work on
> >> this part.
> >
> > I have fixed this part. Basically, now, I have created a separate
> > function to get the streaming changes
> > 'pg_logical_slot_get_streaming_changes'. So the default function
> > pg_logical_slot_get_changes will work as it is and test decoding test
> > cases will not fail.
>
> The 'ddl' one is apparently not quite fixed - I get this in (cd
> contrib; make check)' (in both assert-enabled and non-assert-enabled
> build)

Can you send me the contrib/test_decoding/regression.diffs file?

> grep -A7 -B7 make.check_contrib.out:
>
> contrib/make.check_contrib.out-============== initializing database
> system ==============
> contrib/make.check_contrib.out-============== starting postmaster
> ==============
> contrib/make.check_contrib.out-running on port 64464 with PID 9175
> contrib/make.check_contrib.out-============== creating database
> "contrib_regression" ==============
> contrib/make.check_contrib.out-CREATE DATABASE
> contrib/make.check_contrib.out-ALTER DATABASE
> contrib/make.check_contrib.out-============== running regression test
> queries ==============
> contrib/make.check_contrib.out:test ddl ...
> FAILED 840 ms
> contrib/make.check_contrib.out-test xact ... ok
> 24 ms
> contrib/make.check_contrib.out-test rewrite ... ok
> 187 ms
> contrib/make.check_contrib.out-test toast ... ok
> 851 ms
> contrib/make.check_contrib.out-test permissions ... ok
> 26 ms
> contrib/make.check_contrib.out-test decoding_in_xact ... ok
> 31 ms
> contrib/make.check_contrib.out-test decoding_into_rel ... ok
> 25 ms
> contrib/make.check_contrib.out-test binary ... ok
> 12 ms
>
> Otherwise patches apply and build OK so will go run some tests...

Thanks

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2020-04-23 03:30:18 Re: PG compilation error with Visual Studio 2015/2017/2019
Previous Message Amit Kapila 2020-04-23 03:13:50 Re: PG compilation error with Visual Studio 2015/2017/2019