Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsGVN-007Ltm-FV for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Oct 2023 05:51:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qsGVJ-00Fxvh-JK for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Oct 2023 05:51:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsGVJ-00FxvY-9j for pgsql-hackers@lists.postgresql.org; Mon, 16 Oct 2023 05:51:01 +0000 Received: from mail-yw1-x112a.google.com ([2607:f8b0:4864:20::112a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qsGVD-000hiz-4M for pgsql-hackers@lists.postgresql.org; Mon, 16 Oct 2023 05:51:00 +0000 Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5a877e0f0d8so4852857b3.1 for ; Sun, 15 Oct 2023 22:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1697435454; x=1698040254; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HpMeJ+m/ZynobxXenaFgTLyd1cXGigyxzQbKNmn3pMw=; b=eRw+9g82gNyzn4f9PEkX2ahCR3F+f4DBGDO7NQVLzID2icjpdrH/MAGILxTRSVRyxa I6TQLTP5ZUC548zJ+eitDqVryYO2+ezVrJOyxepQ/JxWH/vKmefkJBTkxxjraghpIvwL Nm7q4Ixo+65cX6yoAS+2Da2p5HE+PlB/FF8uk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697435454; x=1698040254; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HpMeJ+m/ZynobxXenaFgTLyd1cXGigyxzQbKNmn3pMw=; b=ctGSIUh4fVYeYFc1T2MrQ+CWS6D9OCC09YqTNUg90B9H4HGzWYiqyN2nGOffIcCywo uEJ1YlPQZXfFS1lAow6jsExk3R+jvXyIxPeXY5E4nuOZci6cvmDmEB6RRswCtwnzu0TM 5MWBt1+NgmkTwLz+qAZbOEZiTbxCGUZCO4BEFNEj/aiEQkyFNDtcsTJZKiXJEhUid5n6 J8VawepbQXnj7U2IPZ5BlLg7jZ+/9TXYBFt1oGI5eB1OmYXzPUv1eiOBGO+2OiZmD6v0 CySz3DkjWBu8YJYvU30YihHQkFiUuuJBOiUaEWzEg6E8r0Z3ji2gxZs7gxBQ0UGe0L0a 2USg== X-Gm-Message-State: AOJu0YwgEdVegAZDaDAM0fUTPSx5utXomsUid9FhXCMFTU+jcYn/CiLR Mp6R9eSFksWEclHK4SSG3C9yqg== X-Google-Smtp-Source: AGHT+IFJ3hRjx2bIu3JSOPDX/RE12ONNA/EoN9aRbPOC4gD7YjHpSYLTku8aVhZ07dD/F67g44z+0w== X-Received: by 2002:a0d:df43:0:b0:5a7:fb66:61ff with SMTP id i64-20020a0ddf43000000b005a7fb6661ffmr3446306ywe.21.1697435454368; Sun, 15 Oct 2023 22:50:54 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::2e]) by smtp.gmail.com with ESMTPSA id v20-20020a814814000000b005869fd2b5bcsm1954631ywa.127.2023.10.15.22.50.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Oct 2023 22:50:53 -0700 (PDT) Date: Sun, 15 Oct 2023 22:50:51 -0700 From: Noah Misch To: Tom Lane Cc: Thomas Munro , Michael Paquier , Vik Fearing , cary huang , pgsql-hackers@lists.postgresql.org Subject: Re: Add support for AT LOCAL Message-ID: <20231016055051.3a@rfd.leadboat.com> References: <2129576.1697407071@sss.pgh.pa.us> <2188264.1697425365@sss.pgh.pa.us> <2191749.1697427017@sss.pgh.pa.us> <20231016045804.c0@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231016045804.c0@rfd.leadboat.com> User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Oct 15, 2023 at 09:58:04PM -0700, Noah Misch wrote: > On Sun, Oct 15, 2023 at 11:30:17PM -0400, Tom Lane wrote: > > Thomas Munro writes: > > > On Mon, Oct 16, 2023 at 4:02 PM Tom Lane wrote: > > >> I'm having a hard time not believing that this is a compiler bug. > > >> Looking back at 8d2a01ae12cd and its speculation that xlc is overly > > >> liberal about reordering code around sequence points ... I wonder > > >> if it'd help to do this calculation in a local variable, and only > > >> assign the final value to result->time ? But we have to reproduce > > >> the problem first. > > > > > If that can be shown I would vote for switching to /opt/IBM/xlc/16.1.0 > > > and not changing a single bit of PostgreSQL. > > > > If switching to 16.1 removes the failure, I'd agree. It's hard > > to believe that any significant number of users still care about > > building PG with xlc 12. > > Works for me. I've started a test run with the xlc version change. It failed similarly: + 23:59:00-07 | 4294966103:4294967295:00+00 | 4294966103:4294967295:00+00 | 4294966103:4294967295:00+00 + 23:59:59.99-07 | 4294966103:00:00.01+00 | 4294966103:00:00.01+00 | 4294966103:00:00.01+00