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 1nh6K5-0004h7-U5 for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Apr 2022 09:08:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nh6K4-0006iD-3h for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Apr 2022 09:08:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nh6K3-0006ht-Ol for pgsql-hackers@lists.postgresql.org; Wed, 20 Apr 2022 09:08:27 +0000 Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nh6Jx-0006UV-9K for pgsql-hackers@lists.postgresql.org; Wed, 20 Apr 2022 09:08:26 +0000 Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-2eafabbc80aso10870657b3.11 for ; Wed, 20 Apr 2022 02:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IAC6Bdw7sQZUurZg/2JOyIOXqnhxYApwV1PKSD79Sfc=; b=qETtNM8U3qHWiY395EDlzCNp5Nzb9ZGHX+zPyk4eRF35p1lO3CUVJs6L0dqfhsaGNC Bf4HKBTiJNqDakzz4LaReiEWeov39GjjZ+VT5SrffwAhDGEVmjI0Sg6vPEZIfM1WbJUy CY6tDEkIPFykVBmN9yGge7L/5O/vEpdvabMG+mHGsgGq+hAoLUPqJjoQLiwnk3EhHJ8l Yn+GFetz3Hf/FhC9BnEOkuOtiPZbf2UT3OCMkYt0xRMSt9afvhIijRDv23TB2CrOu1Es 4WMov5L2KitXQ6G2s1H369H+Pbmsf5MaPWeeTzlLoJOMFAkvytCAEyxznLjQocndBEii Sy9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IAC6Bdw7sQZUurZg/2JOyIOXqnhxYApwV1PKSD79Sfc=; b=Fa6r4w2TGi9bSAtvkWpP6kFawF/6gvXvcFiNOSaxZqOL7oBXJTW9+VjiFSswUtf3Yv yCdUUOg8NzeoKFH5FFSpk8npdcvAV0zlA0xicYbVnISkP3508JnQMnGkYYRdyu+i7r1f 1hSwirtpyeuiOuY748L1GAswjpnw+IuFOHY2FHN+6mnIKNEGu6N+9KzPmD57JY0/8irv Q+88gZ6j4VhNh3zxLH0lls4dK7OaMqu6WXkXVPWY7rv3839tvER4ua1M2fmcGPzEbFi1 sq0O/kTyPXZ8pk4FkP3arBBO4meponnQmhaplPToNfZyWn4mIdtpN70FNDjQpx9VFmZV z2tw== X-Gm-Message-State: AOAM530u9AcMF9umgLAe2ZUn7f33EuM4mLgx3a9BZkefPg/tdvIXLvgw p1NsBp9MkaVu5Jrse2SG6i5fdExZkZQ6XUzduO4= X-Google-Smtp-Source: ABdhPJyEUT8LfftqvoYprmkXUzMSiZPJcp1ziBpWWMDaEsFl/fwercQju8tbS6RAJVl+66B6HKPULLLTvE9GxMvnanU= X-Received: by 2002:a81:1597:0:b0:2f1:82a1:82d7 with SMTP id 145-20020a811597000000b002f182a182d7mr14966378ywv.223.1650445700272; Wed, 20 Apr 2022 02:08:20 -0700 (PDT) MIME-Version: 1.0 References: <0271e197-2cfe-4627-9c11-47535cc7fdf3@www.fastmail.com> <8cc4f31f-240a-4590-94a8-a50bdf4f4d1c@www.fastmail.com> In-Reply-To: From: Amit Kapila Date: Wed, 20 Apr 2022 14:38:09 +0530 Message-ID: Subject: Re: Logical replication timeout problem To: Masahiko Sawada Cc: "wangw.fnst@fujitsu.com" , Euler Taveira , "kuroda.hayato@fujitsu.com" , Peter Smith , Fabrice Chapuis , Simon Riggs , Petr Jelinek , "tanghy.fnst@fujitsu.com" , PostgreSQL Hackers , Ajin Cherian Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Apr 20, 2022 at 12:51 PM Masahiko Sawada wrote: > > On Wed, Apr 20, 2022 at 11:46 AM wangw.fnst@fujitsu.com > wrote: > > ``` > > I'm concerned that this 4-byte padding at the end of the struct could > depend on platforms (there might be no padding in 32-bit platforms?). > Good point, but ... > It seems to me that it's better to put it after fast_forward where the > new field should fall within the padding space. > Can we add the variable in between the existing variables in the structure in the back branches? Normally, we add at the end to avoid any breakage of existing apps. See commit 56e366f675 and discussion at [1]. That is related to enum but I think we follow the same for structures. [1] - https://www.postgresql.org/message-id/7dab0929-a966-0c0a-4726-878fced2fe00%40enterprisedb.com -- With Regards, Amit Kapila.