Re: Allow streaming the changes after speculative aborts. - Mailing list pgsql-hackers

From Dilip Kumar
Subject Re: Allow streaming the changes after speculative aborts.
Date
Msg-id CAFiTN-vZrEq3_zdWXcGF+0cqnM=vNBKVf0NyFw_+ZEg0wXXOxA@mail.gmail.com
Whole thread Raw
In response to Allow streaming the changes after speculative aborts.  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Allow streaming the changes after speculative aborts.
List pgsql-hackers
On Fri, Jun 25, 2021 at 12:24 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> Till now, we didn't allow to stream the changes in logical replication
> till we receive speculative confirm or the next DML change record
> after speculative inserts. The reason was that we never use to process
> speculative aborts but after commit 4daa140a2f it is possible to
> process them so we can allow streaming once we receive speculative
> abort after speculative insertion. See attached.
>
> I think this is a minor improvement in the logical replication of
> in-progress transactions. I have verified this for speculative aborts
> and it allows streaming once we receive the spec_abort change record.

Yeah, this improvement makes sense.  And the patch looks fine to me.

-- 
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Speed up pg_checksums in cases where checksum already set
Next
From: Magnus Hagander
Date:
Subject: Re: [Patch] change the default value of shared_buffers in postgresql.conf.sample