Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTu1M-0006en-4C for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jun 2018 19:04:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fTu1L-00075g-2J for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jun 2018 19:04:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTu1K-00075W-Hl for pgsql-hackers@lists.postgresql.org; Fri, 15 Jun 2018 19:04:26 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fTu1G-0000lt-Jn for pgsql-hackers@postgresql.org; Fri, 15 Jun 2018 19:04:25 +0000 Received: by mail-qt0-x242.google.com with SMTP id q6-v6so10009697qtn.7 for ; Fri, 15 Jun 2018 12:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=XxwZtU5kSfo+HKvTou3pxLn8n5ucjTw2grn4uoEDdc0=; b=xX0ex3xeX+Qd9qTvJ4lZWERcEYbPqhfn2Scrdy6lfDQKKQqVqrAUPVY6sQ5XBRH+kg T0ailiHepkBEVXAX8Q0m1GHdkluU6xP3K4NG9PaWhD+sHdXyqmJrXD3FK3iCxw/wM1eT T8VyxfVLnQ1wWrhEYIqcEKRwtGawynGY+9usOHZzYL9KstgNTFfShixMBYkVlswo1j0K 7iNyJGqY5GnCrHrBc2edkQhULPfAwVkZYyF0PxVsmNbXm1ve1w5pjUaRocQLIHWLz/K8 O9JkD1rXMxrfEdCcBNdrI/pnJoe0Z/2Kuj9JlogPDiLamCFbNqk+MOpWgYjsgbwagG2w GsGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=XxwZtU5kSfo+HKvTou3pxLn8n5ucjTw2grn4uoEDdc0=; b=EL66ASqys+NL/na5zsuqAFp7bFGgE4K61MfHZJMrB0+0N0g0hHQbE9IvjjATmJ6Csh TyHUR4c5iIUcF4Xn8q8xGrJQoIkYp2TljdJtzR/FQUS/ySP+kIAvOsNIoL36YP1VuQL2 67maEVesyjaoR1aFYc94T5gx/iZ4jCgTLk4t563Eb+JttvcuRqcDktIj7zz/pJBOoK6y G5EFxwacqX8Im5ycdvnvrjVziamPLFjynt6LTyqLDy5Ka5fvsY8J8MuMBjKGXX5x0Y+H AM6m4fn0dt8fA3dUB/ECyt+iBC6qIsTx54zeFie0C8wL2UEGrxM/6cfsP3octh0oWbq6 uHDQ== X-Gm-Message-State: APt69E2ZR1FIczQt/DMBYjGAhy3nWPN3i0DoQalgwGbbt+NiGT3TVlsz voRo2ipZ1d35Yhdkk/wAc7TRNA== X-Google-Smtp-Source: ADUXVKKk2vWTyNfsCjtpigUhb9GuuWDSlXny30Ga9SKHuNwZLZWbiVzf+N+IyeMOZFGgmNu8qjsJSQ== X-Received: by 2002:a0c:d7c6:: with SMTP id g6-v6mr2551067qvj.85.1529089461139; Fri, 15 Jun 2018 12:04:21 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id a18-v6sm6593564qkj.60.2018.06.15.12.04.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 12:04:20 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id F38E99F7; Fri, 15 Jun 2018 15:04:18 -0400 (-04) Date: Fri, 15 Jun 2018 15:04:18 -0400 From: Alvaro Herrera To: Nikhil Sontakke Cc: Heikki Linnakangas , Michael Paquier , Simon Riggs , pgsql-hackers Subject: Re: pgsql: Store 2PC GID in commit/abort WAL recs for logical decoding Message-ID: <20180615190418.xotsigbz3kzqm6l2@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Jun-14, Nikhil Sontakke wrote: > There was a slight oversight in the twophase_gid length calculation in > the XactLogCommitRecord() code path in the cf5a1890592 commit. The > corresponding XactLogAbortRecord() code path was ok. PFA, a small > patch to fix the oversight. Thanks, pushed. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services