Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j1NlQ-00015E-Rv for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Feb 2020 05:07:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j1NlP-0004cF-KS for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Feb 2020 05:07:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j1NlP-0004c8-4n for pgsql-bugs@lists.postgresql.org; Tue, 11 Feb 2020 05:07:11 +0000 Received: from cyclops.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1j1NlH-0001Ou-3k for pgsql-bugs@lists.postgresql.org; Tue, 11 Feb 2020 05:07:09 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 2212321C56EF; Tue, 11 Feb 2020 08:07:00 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=x tagged_above=-99 required=4 WHITELISTED tests=[] autolearn=unavailable Received: from ars-thinkpad (nat03-43-2.netorn.net [188.35.130.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id 7F16121C56E9; Tue, 11 Feb 2020 08:06:59 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1581397619; bh=PLqqhuVq2Fcpy+gQNRJyLEs/qFOYtCPRfCDKTGPBQaE=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=X1OiM3AxhvlKqLoO/NpFpulYOOHgm2cLeARUJ4Qo4O4zf5XVdQOqa6la4k45yc9cp mwGySkl/Nt2S9WoZqonoR9+bNNNhTzTz2Rx68znpTIdd3bTdPPggoJAvlsN78HiBVa 8MC3YqgHJsk6PAajcPU/sZr7FdMgN+Wchel6uh9E= References: <87ftjifoql.fsf@ars-thinkpad> <20191024213157.7pm6niybfxgpvmgg@alap3.anarazel.de> <87eez1fh48.fsf@ars-thinkpad> <8736bs81sx.fsf@ars-thinkpad> <871rrb942q.fsf@ars-thinkpad> <87zhdx76d5.fsf@ars-thinkpad> <8736bjoiax.fsf@ars-thinkpad> <87wo8ulhjl.fsf@ars-thinkpad> <87lfp9u4kp.fsf@ars-thinkpad> User-agent: mu4e 1.2.0; emacs 26.0.50 From: Arseny Sher To: Amit Kapila Cc: Andres Freund , "Hsu\, John" , "pgsql-bugs\@lists.postgresql.org" Subject: Re: ERROR: subtransaction logged without previous top-level txn record In-reply-to: <87lfp9u4kp.fsf@ars-thinkpad> Date: Tue, 11 Feb 2020 08:06:59 +0300 Message-ID: <87k14tu2z0.fsf@ars-thinkpad> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-=-= Content-Type: text/plain >> I think this will surely test some part of the system which was not >> tested before, mainly having some subxacts without top-xact getting >> decoded even though we don't need to send such a transaction. Can you >> prepare a complete patch (for >> Stop-demanding-that-top-xact-must-be-seen-before-sub) having this test >> as part of it? > > Ok, will do. Here it is. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-Stop-demanding-that-top-xact-must-be-seen-before--v3.patch