Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRHoZ-0007d0-Mx for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Apr 2020 16:01:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jRHoX-0005Ay-Lv for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Apr 2020 16:01:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRHoX-0005A9-52 for pgsql-hackers@lists.postgresql.org; Wed, 22 Apr 2020 16:01:29 +0000 Received: from lb2-smtp-cloud8.xs4all.net ([194.109.24.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRHoU-0001nL-R2 for pgsql-hackers@postgresql.org; Wed, 22 Apr 2020 16:01:28 +0000 Received: from webmailclassic.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:211]) by smtp-cloud8.xs4all.net with ESMTPA id RHoRjxDcalKa1RHoSjAFQZ; Wed, 22 Apr 2020 18:01:25 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1587571285; bh=74rFsOWP4GQScTucl/57oCV7Si8BeqdwjipIWMDzKsw=; h=MIME-Version:Content-Type:Date:From:To:Subject:Message-ID:From: Subject; b=NWE36PYIT/ydg6wtu1s/UXP+6zCt1zIEFB5zxj4AlNPpOOV5PtFh4O26lvTVVSVQH G/qsrU3or1hvwIyXkiBx5seV1EBtnfRCZW3dAOuBicAmyM57axGTSmk2sZ3TfQoLn8 2c1K+cTGqAXau8EJtiFhXTgolLmKQDdHlRdxmqbB3FBZQYq50spuFg5PV0kagtcTdD D75KZM6q6nLFGE/3Jrr0iU88Ug3WNziywws9TmGGJgltAwhIxOLaypKm/aIcKmmBUD 31jR5a3SWI9OQxE2KW0/iV9aXmWZe/S4MkkpNdZSby21M1Csj0MhrNQj+JR+bw4YAl QSLOwbjLUFjQg== Received: from nat-pool.ips-0000-nat0x.kabeltex.nl ([82.151.32.184]) by webmailclassic.xs4all.nl with HTTP (HTTP/1.1 POST); Wed, 22 Apr 2020 18:01:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 22 Apr 2020 18:01:23 +0200 From: Erik Rijkers To: Dilip Kumar Cc: Kuntal Ghosh , Tomas Vondra , Amit Kapila , Michael Paquier , Peter Eisentraut , PostgreSQL Hackers Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions In-Reply-To: References: <20200329005905.ooxq25qyjwn2mvxz@development> <20200329153105.mdryxzz562tg65pk@development> <20200330152758.fgp62lwb2ug7cl2a@development> <20200408005905.misvqmjk5c7wd5vr@development> <36881eec90df541999a4e0a4b2eec60d@xs4all.nl> <09e0bcc4add23f539098eabc49fdee99@xs4all.nl> <6b70f0c449891856bf38290cc95e616f@xs4all.nl> Message-ID: <78a9704661bb37a8df252d4f9478bdab@xs4all.nl> X-Sender: er@xs4all.nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfDim61ZJkakX/Ksvv/Ag+SU/N8TSq1XRJMQZKuniBFbKiARE9vqgIQhNC6CKXhF6TfzOccfzV/BcYR6HI8Ho9WiPJuDoFWRDt2P37Y2ISw8oJSvvzKKB ublLdEflUAFBTVzj3CDsnX49thElCLLRTPXA07+tYkwRHb657PAFjopzjepZpyMlJbzZvMXxnGeDqFdladAJLjm/EyYq0XIT9PoxukRg4lbM6OvHk+rmQ+CF r9eY2GfdDrS/E0UJOQH9VjeqRhAH+Z3Cx+NyABT5PFEHsHkZRA47shmyvBbeTC9Zob489fXRYJeN9LuItLavHdlCExPjjdCK7NtSbrY5B5YnsTdtIbk9k44K tG0YxwRIzYuyi65uxRtFMDBF4hz24BsT59E+Vw/YlGC/UCMcqfQCFxqFMk5DKPbZxRFryRg/RvnKauvcXdIlQPYJSf1Avfgf54XEqwbEomeWgc3lFHY= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-04-22 16:49, Dilip Kumar wrote: > On Tue, Apr 21, 2020 at 5:30 PM Dilip Kumar > 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) 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...