Re: Locks on unlogged tables are locked?!

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Locks on unlogged tables are locked?!
Дата
Msg-id ZV0QpFDBHP2ylj0-@momjian.us
обсуждение исходный текст
Ответ на Re: Locks on unlogged tables are locked?!  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: David Steele
Дата:
Сообщение: Re: Add recovery to pg_control and remove backup_label
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: vacuum_cost_limit doc description patch