Re: out-of-order XID insertion in KnownAssignedXids - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: out-of-order XID insertion in KnownAssignedXids
Date
Msg-id 20181008091451.GD2754@paquier.xyz
Whole thread Raw
In response to Re: out-of-order XID insertion in KnownAssignedXids  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Responses Re: out-of-order XID insertion in KnownAssignedXids  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
List pgsql-hackers
On Mon, Oct 08, 2018 at 12:04:28PM +0300, Konstantin Knizhnik wrote:
> The simplest way to fix the problem is to ignore duplicates before adding
> them to KnownAssignedXids.
> We in any case perform sort i this place...

I may of course be missing something, but shouldn't we not have
duplicates in the first place?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Fix event triggers for partitioned tables
Next
From: Arthur Zakirov
Date:
Subject: Re: Segfault when creating partition with a primary key and sql_droptrigger exists