Cosmetic improvements in ltree code.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 29 Mar 2020 23:14:15 +0000 (19:14 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 29 Mar 2020 23:14:15 +0000 (19:14 -0400)
commit2743d9ae4a490a7d96b5c19d50694bd101a87dc8
tree4f0875629207e99e285e3f0043140aa22019dfe9
parent122b0ccfef068b0c0c3716c83a93173866e454aa
Cosmetic improvements in ltree code.

Add more comments in ltree.h, and correct a misstatement or two.

Use a symbol, rather than hardwired constants, for the maximum length
of an ltree label.  The max length is still hardwired in the associated
error messages, but I want to clean that up as part of a separate patch
to improve the error messages.
contrib/ltree/ltree.h
contrib/ltree/ltree_io.c