pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add sort support routine for the inet data type.
3+ messages / 2 participants
[nested] [flat]

* pgsql: Add sort support routine for the inet data type.
@ 2019-08-01 16:34 Peter Geoghegan <pg@bowt.ie>
  2019-08-01 19:17 ` Re: pgsql: Add sort support routine for the inet data type. Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Peter Geoghegan @ 2019-08-01 16:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Add sort support routine for the inet data type.
  2019-08-01 16:34 pgsql: Add sort support routine for the inet data type. Peter Geoghegan <pg@bowt.ie>
@ 2019-08-01 19:17 ` Tom Lane <tgl@sss.pgh.pa.us>
  2019-08-01 19:20   ` Re: pgsql: Add sort support routine for the inet data type. Peter Geoghegan <pg@bowt.ie>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2019-08-01 19:17 UTC (permalink / raw)
  To: Peter Geoghegan <pg@bowt.ie>; +Cc: pgsql-committers@lists.postgresql.org

Peter Geoghegan <pg@bowt.ie> writes:
> Add sort support routine for the inet data type.

> 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(+)

[ squint ... ]  Presumably there should have been a catversion bump
here?

(Probably not too important since I just pushed a bump an hour
or so earlier, but still.)

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Add sort support routine for the inet data type.
  2019-08-01 16:34 pgsql: Add sort support routine for the inet data type. Peter Geoghegan <pg@bowt.ie>
  2019-08-01 19:17 ` Re: pgsql: Add sort support routine for the inet data type. Tom Lane <tgl@sss.pgh.pa.us>
@ 2019-08-01 19:20   ` Peter Geoghegan <pg@bowt.ie>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter Geoghegan @ 2019-08-01 19:20 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>

On Thu, Aug 1, 2019 at 12:17 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> (Probably not too important since I just pushed a bump an hour
> or so earlier, but still.)

My mistake. I'll push a catversion bump commit shortly.

-- 
Peter Geoghegan





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-08-01 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-08-01 16:34 pgsql: Add sort support routine for the inet data type. Peter Geoghegan <pg@bowt.ie>
2019-08-01 19:17 ` Tom Lane <tgl@sss.pgh.pa.us>
2019-08-01 19:20   ` Peter Geoghegan <pg@bowt.ie>

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