Re: [HACKERS] dubious error message from partition.c
От
Dean Rasheed
Тема
Re: [HACKERS] dubious error message from partition.c
Дата
Msg-id
CAEZATCWZXos_+n41HiRkJ8sAhDaJ7Tv_JsZAr=JgrjDA81HAcg@mail.gmail.com
Ответ на
Re: [HACKERS] dubious error message from partition.c (Robert Haas)
Список
Дерево обсуждения
[HACKERS] dubious error message from partition.c Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] dubious error message from partition.c Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] dubious error message from partition.c Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] dubious error message from partition.c Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] dubious error message from partition.c Dean Rasheed <dean.a.rasheed@gmail.com>
Re: [HACKERS] dubious error message from partition.c Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] dubious error message from partition.c Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] dubious error message from partition.c Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] dubious error message from partition.c Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] dubious error message from partition.c Amit Langote <amitlangote09@gmail.com>
Re: [HACKERS] dubious error message from partition.c "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] dubious error message from partition.c Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
On 9 August 2017 at 13:03, Robert Haas wrote: > On Tue, Aug 8, 2017 at 11:34 PM, Tom Lane 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.) > > I think that doesn't quite work, because the failure is caused by LB > <= UB, not LB < UB. We could fix that by writing "precedes or equals" > but that seems lame. Maybe: > > Lower bound %s does not precede upper bound %s. > There was an earlier suggestion to use "greater than or equal to". I think that would work quite well: ERROR: invalid range bounds for partition \"%s\" DETAIL: lower bound %s is greater than or equal to upper bound %s. Regards, Dean
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Alvaro Herrera
Дата: