pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add sort support routine for the inet data type.
Date: Thu, 01 Aug 2019 16:34:38 +0000
Message-ID: <E1htE2I-0008UY-Ez@gemulon.postgresql.org> (raw)

Add sort support routine for the inet data type.

Add sort support for inet, including support for abbreviated keys.
Testing has shown that this reduces the time taken to sort medium to
large inet/cidr inputs by ~50-60% in realistic cases.

Author: Brandur Leach
Reviewed-By: Peter Geoghegan, Edmund Horner
Discussion: https://postgr.es/m/CABR_9B-PQ8o2MZNJ88wo6r-NxW2EFG70M96Wmcgf99G6HUQ3sw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/71dcd7438664d81235c72337cbbbfa780f7a0630

Modified Files
--------------
src/backend/utils/adt/network.c    | 399 +++++++++++++++++++++++++++++++++++++
src/include/catalog/pg_amproc.dat  |   3 +
src/include/catalog/pg_proc.dat    |   3 +
src/test/regress/expected/inet.out | 189 ++++++++++++++++++
src/test/regress/sql/inet.sql      |  95 +++++++++
5 files changed, 689 insertions(+)



view thread (3+ messages)  latest in thread

Message-ID: <E1htE2I-0008UY-Ez@gemulon.postgresql.org>
Permalink:  ../E1htE2I-0008UY-Ez@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1htE2I-0008UY-Ez@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie
  Subject: Re: pgsql: Add sort support routine for the inet data type.
  In-Reply-To: <E1htE2I-0008UY-Ez@gemulon.postgresql.org>
  References: <E1htE2I-0008UY-Ez@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox