pgsql: Cosmetic improvements in ltree code.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Cosmetic improvements in ltree code.
Дата
Msg-id E1jIh8K-0004CJ-AV@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Doc: correct misstatement about ltree label maximum length.
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: pgsql: Allow vacuum command to process indexes in parallel.