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

From Amit Langote
Subject Re: [HACKERS] dubious error message from partition.c
Date
Msg-id cd92fa65-75f4-22c8-14c8-e8467948c8c2@lab.ntt.co.jp
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  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2017/08/10 5:59, Tom Lane wrote:
> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>> Dean Rasheed wrote:
>>> There was an earlier suggestion to use "greater than or equal to". I
>>> think that would work quite well:
> 
>> Is it possible to detect the equality case specifically and use a
>> different errdetail?  Something like "the lower bound %s is equal to the
>> upper bound" (obviously without including both in the message.)
> 
> That seems like overkill.  I'm good with "greater than or equal to".

Attached updated patch has "greater than or equal to".

Thanks,
Amit

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: [HACKERS] expanding inheritance in partition bound order
Next
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] Small code improvement for btree