Cosmetic improvements in ltree code.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/ltree/ltree.h | modified | +31 −10 |
| contrib/ltree/ltree_io.c | modified | +14 −5 |