Re: pgsql: Multirange datatypes - Mailing list pgsql-committers

From Alexander Korotkov
Subject Re: pgsql: Multirange datatypes
Date
Msg-id CAPpHfdssY6+y+Vu-59gkFoMAC8dzODJSYO=kmcg-9wcuAh7n7g@mail.gmail.com
Whole thread Raw
In response to pgsql: Multirange datatypes  (Alexander Korotkov <akorotkov@postgresql.org>)
List pgsql-committers
On Sun, Dec 20, 2020 at 7:21 AM Alexander Korotkov
<akorotkov@postgresql.org> wrote:
> Implementation of multiranges comes with a space-efficient internal
> representation format, which evades extra paddings and duplicated storage of
> oids.  Altogether this format allows fetching a particular range by its index
> in O(n).

BTW, I mean O(1) here. O(n) would be hardly an achievement.

------
Regards,
Alexander Korotkov



pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: pgsql: Multirange datatypes
Next
From: Erik Rijkers
Date:
Subject: Re: pgsql: Multirange datatypes