Re: mdclose() does not cope w/ FileClose() failure - Mailing list pgsql-hackers

From Noah Misch
Subject Re: mdclose() does not cope w/ FileClose() failure
Date
Msg-id 20191222204724.GB1280238@rfd.leadboat.com
Whole thread Raw
In response to Re: mdclose() does not cope w/ FileClose() failure  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Mon, Dec 23, 2019 at 09:33:29AM +1300, Thomas Munro wrote:
> On Sun, Dec 22, 2019 at 10:19 PM Noah Misch <noah@leadboat.com> wrote:
> >         Assert(segno == reln->md_num_open_segs[forknum]);
> >         _fdvec_resize(reln, forknum, segno + 1);
> 
> Oh yeah, I spotted that part too but didn't follow up.
> 
>
https://www.postgresql.org/message-id/flat/CA%2BhUKG%2BNBw%2BuSzxF1os-SO6gUuw%3DcqO5DAybk6KnHKzgGvxhxA%40mail.gmail.com

That patch of yours looks good.



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: mdclose() does not cope w/ FileClose() failure
Next
From: Tom Lane
Date:
Subject: Re: unsupportable composite type partition keys