Re: smgr vs DropRelFileNodeBuffers() vs filesystem state vs no critical section

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Daniel Wood <hexexpert(at)comcast(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: smgr vs DropRelFileNodeBuffers() vs filesystem state vs no critical section
Date: 2019-12-07 05:37:04
Message-ID: CAA4eK1Lrx96HPzOxygErnTOWNUU+GtyXXqPq-SuRXoz5FkaU2A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Dec 7, 2019 at 5:42 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> Tom, I seem to recall a recent thread of yours discussing a different
> approach to truncation. I wonder if there's some intersection with
> that. But unfortunately my search somehow has come up with nothing so
> far - do you remember enough to find the thread?
>

IIUC, a similar problem is discussed in the thread [1] where Tom
proposed a few solutions which are close to what you are proposing.

[1] - https://www.postgresql.org/message-id/1880.1281020817%40sss.pgh.pa.us

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2019-12-07 06:07:31 Re: logical decoding : exceeded maxAllocatedDescs for .spill files
Previous Message Amit Kapila 2019-12-07 04:22:57 Re: what is the purpose to use 3 function to compare cost add_path/set_cheapest/get_cheapest_fractional_path