New function is being added by following commit i.e.
commit b34e37bfefbed1bf9396dde18f308d8b96fd176c Author: Robert Haas <rhaas@postgresql.org> Date: Thu Aug 14 12:09:52 2014 -0400 Add sortsupport routines for text. This provides a small but worthwhile speedup when sorting text, at least in cases to which the sortsupport machinery applies. Robert Haas and Peter Geoghegan
It seems that you need to use another oid. Other than this patch looks good to me, please share updated patch and feel free to assign it to committer. Thanks.
On Mon, Aug 4, 2014 at 3:22 PM, Asif Naeem <anaeem.it@gmail.com> wrote: > Sorry for not being clear, above mentioned test is related to following doc (sgml) changes that seems not working as described i.e. > > Table 9-35. cidr and inet Functions > > FunctionReturn TypeDescriptionExampleResult > > max(inet, inet) inetlarger of two inet typesmax('192.168.1.5', '192.168.1.4')192.168.1.5 > min(inet, inet) inetsmaller of two inet typesmin('192.168.1.5', '192.168.1.4')192.168.1.4 > > Can you please elaborate these sgml change ?
I thought of adding them for newly added "network" functions but mistakenly I kept the names as max and min. Anyway with your suggestion in the earlier mail, these changes are not required.