Re: prevent immature WAL streaming - Mailing list pgsql-hackers

From Andres Freund
Subject Re: prevent immature WAL streaming
Date
Msg-id 20211013203655.7pqm2bgbljjrkdgn@alap3.anarazel.de
Whole thread Raw
In response to Re: prevent immature WAL streaming  (Andres Freund <andres@anarazel.de>)
Responses Re: prevent immature WAL streaming  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Hi,

On 2021-10-13 12:13:45 -0700, Andres Freund wrote:
> On 2021-10-13 15:52:46 -0300, Alvaro Herrera wrote:
> > I think I realized partway through writing the test that I could use
> > emit_message instead of using a batched row insert ... so, yeah, we
> > can use it here also.
>
> Cool. Even if we want to use inserts, lets at least make the rows wide...
>
> I think it'd be good to have a bit of variance in record width. So perhaps
> adding a bit of random() in to influence record width would be a good idea?

Something very roughly like the attached. Perhaps that's going a bit overboard
though. But it seems like it might be something we could use in a few tests?

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: AW: VS2022: Support Visual Studio 2022 on Windows
Next
From: Alvaro Herrera
Date:
Subject: Re: prevent immature WAL streaming