pgsql: Cosmetic improvements in ltree code. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Cosmetic improvements in ltree code.
Date
Msg-id E1jIh8K-0004CJ-AV@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2743d9ae4a490a7d96b5c19d50694bd101a87dc8

Modified Files
--------------
contrib/ltree/ltree.h    | 41 +++++++++++++++++++++++++++++++----------
contrib/ltree/ltree_io.c | 19 ++++++++++++++-----
2 files changed, 45 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: correct misstatement about ltree label maximum length.
Next
From: Amit Kapila
Date:
Subject: Re: pgsql: Allow vacuum command to process indexes in parallel.