Re: Locks on unlogged tables are locked?! - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Locks on unlogged tables are locked?!
Date
Msg-id ZV0QpFDBHP2ylj0-@momjian.us
Whole thread Raw
In response to Re: Locks on unlogged tables are locked?!  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Nov 21, 2023 at 01:16:19PM -0500, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Uh, was this ever addressed?  I don't see the patch applied or the code
> > in this area modified.
> 
> This patch as-is would surely be disastrous: having LockAcquire
> try to open the relcache entry for the thing we're trying to lock
> is going to be circular in at least some cases.  I'm not convinced
> that there's a problem worth solving here, but if there is, it'd
> have to be done in some other way.

Thank you, and Robert, for the feedback.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.



pgsql-hackers by date:

Previous
From: David Steele
Date:
Subject: Re: Add recovery to pg_control and remove backup_label
Next
From: Bruce Momjian
Date:
Subject: Re: vacuum_cost_limit doc description patch