Allow hyphens in ltree labels

Andrew Dunstan <andrew@dunslane.net>

Commit: b1665bf01e5f4200d37addfc2ddc406ff7df14a5
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2023-01-06T21:05:46Z
Releases: 16.0
Allow hyphens in ltree labels

Also increase the allowed length of labels to 1000 characters

Garen Torikian

Discussion: https://postgr.es/m/CAGXsc+-mNg9Gc0rp-ER0sv+zkZSZp2wE9-LX6XcoWSLVz22tZA@mail.gmail.com

Files

PathChange+/−
contrib/ltree/expected/ltree.out modified +32 −18
contrib/ltree/ltree.h modified +4 −3
contrib/ltree/ltree_io.c modified +5 −5
contrib/ltree/ltxtquery_io.c modified +2 −2
contrib/ltree/sql/ltree.sql modified +12 −6
doc/src/sgml/ltree.sgml modified +5 −4

Documentation touched

Discussion