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 1r2vvO-001RsR-N6 for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Nov 2023 16:06:02 +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 1r2vvN-008qfx-Cr for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Nov 2023 16:06:01 +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 1r2vvM-008qfo-Vv for pgsql-hackers@lists.postgresql.org; Tue, 14 Nov 2023 16:06:01 +0000 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1r2vvK-006PfT-4O for pgsql-hackers@postgresql.org; Tue, 14 Nov 2023 16:06:00 +0000 Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-359343e399fso21083315ab.0 for ; Tue, 14 Nov 2023 08:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699977956; x=1700582756; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=+9Zl7aXLcqRkDK1+Q1kmaep7zFMie2GpsWY13mmRm3Y=; b=LBjazY/5014Uh+1Cx4LZ9efbIurAGCdV+GcDAtyd7xHdHteXGxGNWJ1kuLbzljUeOL bxDdvmmxAo1rk0F82ckfzQ73UenCj9pP/6rky6wbxGbNtX0ICatUZtA3lVPawBdhR4r+ 8jZoEUZeqIWOkTS0HXZn/fvWZsIlYlNG5DyrD1JGK7XQ7l10j+Zf6Fg9OdSK313Iyx1t SV18GMggHyJnAr8AFOns0dS548veAcXh8bXBUyY/r0NSMnlexyD6EAqQ6kUe7O/AHqDd 3xnLl21ARxBGGNXQc4jKS5zpwLTdxbeTr1gBtbtFFsZZ6G3mQgQw7bc8/mYPVWSofF0L 7a2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699977956; x=1700582756; h=in-reply-to: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=+9Zl7aXLcqRkDK1+Q1kmaep7zFMie2GpsWY13mmRm3Y=; b=A/gACyL1KYDhiyampMW9AgbLRlFlz5WODzqI5AMspiDIlr5SCWC3wlzV/SU3FHnskc VNNIIksCOvDnUYs32zT02aNh/tAgx5pQAhJbE7Fssk4Dz5HKMRsfa4Qykr/5Aoq6++NC Y32hdoNO1UeXVUbXitOEcgKfb5lDPVvkEbNCV0kaUTjW0sYg3R3P3GbG+hgMWpmGh5w3 njcFGR9cNUAXKs9LaqBHHEra/J97umCg6TRIeopH2i0Q5u+ODrE+2z+cU4zJ9HgjWs+o c4LxEaF46Uf9A+LGKM4sPCH+ydM860loAdsp0smZxhrbqi2EL/Xtm0psAj/nx+6mTEbA BakQ== X-Gm-Message-State: AOJu0YwPgvrlcKhiTBIpZHp3wXYGHA2BhC3Lycf5HKq1oDcWvfY4L/+i 1hnzPuY2TPpyHasVq6012u02mlDvyXI= X-Google-Smtp-Source: AGHT+IHKx6eJENGvzbL+x55nbiba0M6YaRVLkmWuQAqrZ9C9h8YNRWNPtm5sBUETf8M5MeqApzHI9A== X-Received: by 2002:a05:6e02:1a6c:b0:359:3e84:f79 with SMTP id w12-20020a056e021a6c00b003593e840f79mr12896654ilv.3.1699977955742; Tue, 14 Nov 2023 08:05:55 -0800 (PST) Received: from nathanxps13 (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id j9-20020a056e02218900b0035267e68782sm527792ila.22.2023.11.14.08.05.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 08:05:55 -0800 (PST) Date: Tue, 14 Nov 2023 10:05:53 -0600 From: Nathan Bossart To: Tom Lane Cc: Amul Sul , pgsql-hackers@postgresql.org Subject: Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Message-ID: <20231114160553.GA2062099@nathanxps13> References: <20231113185950.GA1668018@nathanxps13> <20231114155105.GA2061608@nathanxps13> <2489946.1699977544@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2489946.1699977544@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Nov 14, 2023 at 10:59:04AM -0500, Tom Lane wrote: > Nathan Bossart writes: >> On Tue, Nov 14, 2023 at 04:25:24PM +0530, Amul Sul wrote: >>> Changes looks pretty much straight forward, but patch failed to apply on the >>> latest master head(b41b1a7f490) at me. > >> Thanks for taking a look. Would you mind sharing the error(s) you are >> seeing? The patch applies fine on cfbot and my machine, and check-world >> continues to pass. > > It may be a question of the tool used to apply the patch. IME, > "patch" is pretty forgiving, "git am" very much less so. Ah. I just did a 'git diff > file_name' for this one, so you'd indeed need to use git-apply instead of git-am. (I ordinarily use git-format-patch, but I sometimes use git-diff for trivial or prototype patches.) -- Nathan Bossart Amazon Web Services: https://aws.amazon.com