pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Cosmetic improvements in ltree code.
Date: Sun, 29 Mar 2020 23:14:24 +0000
Message-ID: <E1jIh8K-0004CJ-AV@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1jIh8K-0004CJ-AV@gemulon.postgresql.org>
Permalink:  ../E1jIh8K-0004CJ-AV@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jIh8K-0004CJ-AV@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Cosmetic improvements in ltree code.
  In-Reply-To: <E1jIh8K-0004CJ-AV@gemulon.postgresql.org>
  References: <E1jIh8K-0004CJ-AV@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox