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 1sSerq-0098VJ-Hz for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Jul 2024 15:40:58 +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 1sSero-00HXks-A7 for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Jul 2024 15:40:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sSern-00HXgZ-Uc for pgsql-hackers@lists.postgresql.org; Sat, 13 Jul 2024 15:40:56 +0000 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sSerh-001wto-2Z for pgsql-hackers@lists.postgresql.org; Sat, 13 Jul 2024 15:40:55 +0000 Received: by mail-io1-xd29.google.com with SMTP id ca18e2360f4ac-7f3c5af0a04so138555339f.0 for ; Sat, 13 Jul 2024 08:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720885247; x=1721490047; darn=lists.postgresql.org; h=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=IxubhPh/n3350Ogs15cCbYC2Ah0jt/wU/4KlxNErkqI=; b=HtfSdBpeuReE4Z4jO0zdugNpwnBnDpZfDqzp7dN9Prksj2u9vU4H8zEfAewYoQdGyR 5NnHYcphXZbRk9JITz0QDRaSKB2f45uUoxOeKgFf/vzDXul/pICyTEfuVH+Q55fjXbjl IXY5DvKQFpPEtjkGzwWkhFEON9s0k7FYtKyPHX3tQf+fmPdT8q83XG5+UeUaatFjiEZI 7jgrS6U3bd5DyvIxutXMLSE8ErECEQLHSiaxNAR9l2sXhSezjwVjOtb3w2Z8A9xG/qt6 AWO1ZH3gockRit09KQhxpE1umrL3UyrS49DwKSIDynWMX3tdmOWwSLOZv8Shl52/Ip+6 N2Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720885247; x=1721490047; h=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=IxubhPh/n3350Ogs15cCbYC2Ah0jt/wU/4KlxNErkqI=; b=udYzahSR2kw0C5rS6rDhUYemkfkRr+8HG2eh/8xNZoDHXXaBT34svbempmHmPbGA0n 1KBSGp3SbgMCBtgSPQ6JJB1nbwOZuCLE3+mp72WqQF7WO1NEjMlapCI+KQN6+cUjx977 Nos7D6sGOVnpvoMfiJbCq3LdkIijPKpjKz8lvSOJQ+zBSnCRC7v1An8vZohwsC9mO+zw wa5UL7Ufo+OLv5mT5WKJuAk/b3KAo+YpnXi8nlBanUu3OZt09FXOezlgugsXsa6zbebW rA1qNoxvpkmohtF9e68YGuRo1lwK+Rz+M8Svqr2MXFp7H2DmWgEJMidBMeBdaseGmHBq 3w1w== X-Forwarded-Encrypted: i=1; AJvYcCVCpHFNvZszZ4ej+Jt9o+AvxN6dGCvGK2UTtxwIlqJtoOtLooIEZ227XaQyUEIfk1oqIbAuX2H4bjCegMta5uH7C7KdqwNxI+ZvvJZfIMGzWHb4 X-Gm-Message-State: AOJu0YxnaEL/x7yEWo0jPTMGH3jZBFCo0A08VwY0NW26XnaJel1v2ni6 KZtCia59XPrHPYv5j/Q11wZo+YHiF+xJGoAKdfgMAS4nQzp3vDhA X-Google-Smtp-Source: AGHT+IH5cfPDR/S46XrEz1yd9mWw9Q93ha4fBhz50ewVPEC8srYt4tNRLbfkWlTl9tKQyS2cj4ijjA== X-Received: by 2002:a05:6602:94:b0:7f6:4c64:e2f2 with SMTP id ca18e2360f4ac-80004735050mr1449578539f.19.1720885246782; Sat, 13 Jul 2024 08:40:46 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4c1e1c03832sm333265173.108.2024.07.13.08.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jul 2024 08:40:46 -0700 (PDT) Date: Sat, 13 Jul 2024 10:40:43 -0500 From: Nathan Bossart To: Joseph Koshakow Cc: Alexander Lakhin , Tom Lane , PostgreSQL Hackers , Andres Freund Subject: Re: Remove dependence on integer wrapping Message-ID: References: <618777.1717984674@sss.pgh.pa.us> <31ad2cd1-db94-bdb3-f91a-65ffdb4bef95@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Jul 13, 2024 at 10:24:16AM -0400, Joseph Koshakow wrote: > On Fri, Jul 12, 2024 at 12:49 PM Nathan Bossart > wrote: >> IIUC some of these changes are bug fixes. Can we split out the bug fixes >> to their own patches so that they can be back-patched? > > They happen to already be split out into their own patches. 0002 and > 0003 are both bug fixes (in the sense that they fix queries that > produce incorrect results even with -fwrapv). They also both apply > cleanly to master. If it would be useful, I can re-order the patches so > that the bug-fixes are first. Oh, thanks. I'm planning on taking a closer look at this one next week. -- nathan