Re: [HACKERS] dubious error message from partition.c - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: [HACKERS] dubious error message from partition.c
Date
Msg-id CAKFQuwZn3Xsyp5pRZfP92SWWiwYTeEUyoOeJ2_2smTjGKVj+eA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] dubious error message from partition.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] dubious error message from partition.c  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
On Tue, Aug 8, 2017 at 8:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
A small suggestion is that it'd be better to write it like "Specified
upper bound \"%s\" precedes lower bound \"%s\"."  I think "succeeds" has
more alternate meanings than "precedes", so the wording you have seems
more confusing than it needs to be.  (Of course, the situation could be
the opposite in other languages, but translators have the ability to
reverse the ordering if they need to.)

Or you could just go with "follows" instead of "succeeds".

​"exceeds" seems to be the word the original sentence was looking for.  If using a single word I kinda like reversing the direction and using "precedes"​ though.  "follows" makes it sound like a puppy :)

"is greater than" is a bit more verbose but an option as well - one that seems more natural in this space - and yes I've reverted back to lower->upper with this wording.  I think the hard "x" in exceeds is what turned me off to it.

David J.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] "make check" with non-GNU make
Next
From: 송기훈
Date:
Subject: [HACKERS] Error : undefined symbol : LWLockAssign in 9.6.3