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 1naoNY-0004G1-Lf for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Apr 2022 00:46:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1naoNW-0008CC-Cb for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Apr 2022 00:46:02 +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 1naoNV-0008C2-Sa for pgsql-hackers@lists.postgresql.org; Sun, 03 Apr 2022 00:46:02 +0000 Received: from mail-oa1-x32.google.com ([2001:4860:4864:20::32]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1naoNU-00048A-Be for pgsql-hackers@postgresql.org; Sun, 03 Apr 2022 00:46:01 +0000 Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-deb9295679so6671585fac.6 for ; Sat, 02 Apr 2022 17:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=PodENGp+CWHpXgxtOqpnZCnyP2aACCtDDYzn7HTaBLo=; b=K6DRKExi1yXYT4gsLfsO5zZVcNm8IDjQdwsn9VJwO9zQK45p0MTDS1K0by2BweeOHf XrshkVC3rLev3GI9Dy/WtDDFAbkzhv8NbctYmC9/EWdHI08qQJX5nglPHDVYWGGF3Icj 0eGCt9lBMCep5BtNN/gi2uqYTo4QhtA732yqI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=PodENGp+CWHpXgxtOqpnZCnyP2aACCtDDYzn7HTaBLo=; b=C1hB2jie2lxRrOduABDsnKvGXionxLKugntMpdw4/mdjhTR91/QmwsomaR9GFcSs+a FZdKnvRQMTIzWVD+4ExxtU4yUY0G485JoE1dtR5x1XV6YL+I/L35M3R7ieSmM8NtocpJ hnmfBOto3u86BY8vdv8t2pIRfTExSaS4aV3MT4FEKoJlrNE4hISaFu5z5lT0MJSLKHse Wp1QYKEeAxQbWX9iD+xepuK1V0rUMi3a5JXQPJrGXMC2mmY6J2KdQBEEzDh4bWsxppFz 2U2bzh0zDbroKMHgAotD38/ZjXBQfUh8qhpTsVANbQpRIELKnBWdI64/e4ZwSfTgNbu3 HGjg== X-Gm-Message-State: AOAM533yO8J+VxLD03bfo7QePH5JDWq8OkT83EkC/uQYM8JwD6Oz9Q7e 4Bj93dhvWmbZLQY/qoUMMsYKDQ== X-Google-Smtp-Source: ABdhPJwhHuCPmjlRF9z4ruV1jgF55f2DWSIAKo9SyE0a1vQ1nv4DtMH9OQwW8uNxo3aI6PoAgHdIJg== X-Received: by 2002:a05:6870:f104:b0:da:b3f:3248 with SMTP id k4-20020a056870f10400b000da0b3f3248mr7704163oac.248.1648946758387; Sat, 02 Apr 2022 17:45:58 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::2e]) by smtp.gmail.com with ESMTPSA id y16-20020a9d6350000000b005c9653ab377sm2800845otk.17.2022.04.02.17.45.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Apr 2022 17:45:57 -0700 (PDT) Date: Sat, 2 Apr 2022 17:45:55 -0700 From: Noah Misch To: Masahiko Sawada Cc: Amit Kapila , Euler Taveira , "osumi.takamichi@fujitsu.com" , Peter Eisentraut , "David G. Johnston" , "tanghy.fnst@fujitsu.com" , vignesh C , Greg Nancarrow , "houzj.fnst@fujitsu.com" , Alexey Lesovsky , pgsql-hackers Subject: Re: Skipping logical replication transactions on subscriber side Message-ID: <20220403004555.GA3759211@rfd.leadboat.com> References: <20220402001153.GA3719101@rfd.leadboat.com> <20220402015943.GB3719101@rfd.leadboat.com> <20220402081346.GD3719101@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Apr 02, 2022 at 08:44:45PM +0900, Masahiko Sawada wrote: > On Sat, Apr 2, 2022 at 7:04 PM Amit Kapila wrote: > > On Sat, Apr 2, 2022 at 1:43 PM Noah Misch wrote: > > > Some options: > > > - Move subskiplsn after subdbid, so it's always aligned anyway. I've > > > confirmed that this lets the test pass, in 44s. > > > - Move subskiplsn to the CATALOG_VARLEN section, despite its fixed length. > > > > +1 to any one of the above. I mildly prefer the first option as that > > will allow us to access the value directly instead of going via > > SysCacheGetAttr but I am fine either way. > > +1. I also prefer the first option. Sounds good to me.