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 1l6UiS-0002eF-HH for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Feb 2021 08:37:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l6UiR-0003CL-Dc for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Feb 2021 08:37:47 +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 <9erthalion6@gmail.com>) id 1l6UiR-0003CC-4N for pgsql-hackers@lists.postgresql.org; Mon, 01 Feb 2021 08:37:47 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <9erthalion6@gmail.com>) id 1l6UiK-0001vt-DZ for pgsql-hackers@postgresql.org; Mon, 01 Feb 2021 08:37:45 +0000 Received: by mail-wr1-x42d.google.com with SMTP id p15so15546238wrq.8 for ; Mon, 01 Feb 2021 00:37:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=B+KlUmLKrW255c/i8ZQnTyUx/qmTHiBuCMQHPXC29s4=; b=pOULgwGSkkyVr8X1LxXsCBIIMV5xeEW2DrmKEqVeOI/1RKMHmVAmVImuTR0+BLmSyN rgF8zm8vyh2NnbljJM8eMoaM7ZkSzi7YePqoKYd1Q+50wjX7nGR3E595k5SU1qMqyfv4 aj+qtVqGPbq+YWuMkMVWBD+WwPP1WgpVRBJ1f+QWGB3iltVncTnwtZYOzU+zU2P2SaGo Q3pffNTOmmhSIVgaSQLD1HV3UmeexN0Spj+Ju/IfVi0LKI9LVImmpTkUXi0ZFF/+ZYSG tZU/Jucxddm5BwRvYFiHtrEc97H/DqV+8/GYnKIDLzmsbMqzBSSRcFTrzerUNS8cid2M r/YA== 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:references :mime-version:content-disposition:in-reply-to; bh=B+KlUmLKrW255c/i8ZQnTyUx/qmTHiBuCMQHPXC29s4=; b=eP3tY4S5/7PeyBGU7zILYNcGib88DHmLwPjXMe+lWYRv4dm1yRjxMAag1L344suewz 6BuvcgI7lj0U2i0Ftq9zT0wUHoV6P+qVzKXXnAy5CK69Rtt67VZaxhwm9t1y5qHiEni1 Vgz9hYpEX3SVvw4B+Bk+YiTUWYPMNQkg9Ad7atf48ShC81E4BUG6eI9sOP90qbjD/Ftr sfmOww/JIY8uRZDcn/6HzsSxCyvjqIWLIizMAgiaWRToJoejFG8OI2jjFQk9nLiIQuHL AEUWGliXHhzrshyPf0wszETI5+FFXCMjBPrP2RIMCDIXePJEGM/LaRYPHKovk6wtWzqp rK+w== X-Gm-Message-State: AOAM533ixFCi7nI+54+HrFdCigpzeCG9wBhynG13XY3zFzeEWvq4HzX4 sZbY0+2GlKSK36CYAoHYDqY= X-Google-Smtp-Source: ABdhPJxBuZ+HuF8gIXb9Ofu8HjalbJZDDamHvPlGdueIzPALX1wvoJXJxzuKdqfi8ltEm2dVU4g1cg== X-Received: by 2002:a5d:4d4a:: with SMTP id a10mr16933619wru.174.1612168658585; Mon, 01 Feb 2021 00:37:38 -0800 (PST) Received: from localhost (dslb-094-222-031-114.094.222.pools.vodafone-ip.de. [94.222.31.114]) by smtp.gmail.com with ESMTPSA id b2sm21146927wmd.41.2021.02.01.00.37.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Feb 2021 00:37:37 -0800 (PST) Date: Mon, 1 Feb 2021 09:39:31 +0100 From: Dmitry Dolgov <9erthalion6@gmail.com> To: Tom Lane Cc: Alexander Korotkov , Pavel Stehule , Dian M Fay , Andres Freund , Justin Pryzby , David Steele , Nikita Glukhov , Alvaro Herrera , David Fetter , Thomas Munro , Oleksandr Shulgin , Robert Haas , Michael Paquier , Oleg Bartunov , Peter Eisentraut , PostgreSQL Hackers Subject: Re: [HACKERS] [PATCH] Generic type subscripting Message-ID: <20210201083931.mhwqwrhbk3claoib@localhost> References: <20210120190857.vvtwtabubwxzeraq@localhost> <20210121115851.3kwqkyks4irvf452@localhost> <3242132.1612131805@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3242132.1612131805@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Fri, Jan 29, 2021 at 7:01 PM Alexander Korotkov wrote: > Pushed with minor cleanup. Thanks a lot! > On Sun, Jan 31, 2021 at 05:23:25PM -0500, Tom Lane wrote: > > thorntail seems unhappy: > > [From 7c5d57c...] > Fix portability issue in new jsonbsubs code. > > On machines where sizeof(Datum) > sizeof(Oid) (that is, any 64-bit > platform), the previous coding would compute a misaligned > workspace->index pointer if nupper is odd. Architectures where > misaligned access is a hard no-no would then fail. This appears > to explain why thorntail is unhappy but other buildfarm members > are not. Yeah, that was an unexpected issue, thanks! I assume few other failing buildfarm members are the same, as they show similar symptoms (e.g. mussurana or ibisbill).