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

From Tom Lane
Subject Re: [HACKERS] dubious error message from partition.c
Date
Msg-id 26817.1502312361@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] dubious error message from partition.c  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: [HACKERS] dubious error message from partition.c  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
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".
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] dubious error message from partition.c
Next
From: Remi Colinet
Date:
Subject: Re: [HACKERS] [PATCH v3] pg_progress() SQL function to monitorprogression of long running SQL queries/utilities