public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Japin Li <[email protected]>
Cc: Bharath Rupireddy <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Remove redundant MemoryContextSwith in BeginCopyFrom
Date: Wed, 19 Jan 2022 19:50:31 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <MEYP282MB166965E690F6C58F85BE0B69B65A9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM>
References: <MEYP282MB16693DDABDFEC7949AC31857B6599@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM>
	<CALj2ACWEjn2p=8RbFg1uKY-SXTHaxXn3bWZ=dK5qPr_r3F=O3Q@mail.gmail.com>
	<[email protected]>
	<MEYP282MB166965E690F6C58F85BE0B69B65A9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM>

Japin Li <[email protected]> writes:
> I see you have already push this patch on master (89f059bdf52), why not
> remove MemoryContextSwitchTo in the middle of BeginCopyTo in this commit?

That was a different suggestion from a different person, so I didn't
want to muddle the credit.  Also, it requires a bit of testing,
while 89f059bdf52 was visibly perfectly safe.

			regards, tom lane






view thread (4+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Remove redundant MemoryContextSwith in BeginCopyFrom
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox