Re: Locks on unlogged tables are locked?!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Locks on unlogged tables are locked?!
Date: 2023-11-21 18:16:19
Message-ID: 1524424.1700590579@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2023-11-21 18:23:02 Re: Remove distprep
Previous Message David Steele 2023-11-21 18:13:58 Re: Add recovery to pg_control and remove backup_label