]> granicus.if.org Git - postgresql/commit
Add sort support routine for the inet data type.
authorPeter Geoghegan <pg@bowt.ie>
Thu, 1 Aug 2019 16:34:14 +0000 (09:34 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Thu, 1 Aug 2019 16:34:14 +0000 (09:34 -0700)
commit71dcd7438664d81235c72337cbbbfa780f7a0630
tree3407c9161013448245af9d7ef1e1847fa7af293c
parentda9456d22a7697ef2c5ba9dd1402d948b2ec7f09
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
src/backend/utils/adt/network.c
src/include/catalog/pg_amproc.dat
src/include/catalog/pg_proc.dat
src/test/regress/expected/inet.out
src/test/regress/sql/inet.sql