Re: BUG #16785: Postgresql shutdown during initial pg_prewarm prewarming causes Pg to get stuck

From: John Thompson <jthompson(at)maxmind(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16785: Postgresql shutdown during initial pg_prewarm prewarming causes Pg to get stuck
Date: 2020-12-22 18:33:39
Message-ID: CAC8nOgYy_U_c7mCP_tjF+XpQjL2dtFmQQW5X8Knb-n+feauhVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Tom,

Thanks so much for taking a look at this. As you mentioned the patch didn't
apply cleanly to 12, but I ended up making the same changes as are in the
link you posted, and it fixes the problem in my testing. I appreciate your
help.

Take care

On Tue, Dec 22, 2020 at 12:27 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> I wrote:
> > This is against HEAD but it seems to apply cleanly to v12.
> > If you're in a position to rebuild pg_prewarm with the patch,
> > please see if it resolves the problem for you.
>
> Eh, sorry about that, patch(1) was willing to apply it but the
> result didn't compile :-(. If you want to try local testing,
> the version that actually works in v12 is at
>
>
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=patch;h=f581e5383648913385d3e7789ad9323a3ebfb1d0
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-12-22 18:48:56 Re: BUG #16785: Postgresql shutdown during initial pg_prewarm prewarming causes Pg to get stuck
Previous Message Tom Lane 2020-12-22 18:27:21 Re: BUG #16785: Postgresql shutdown during initial pg_prewarm prewarming causes Pg to get stuck