Re: [HACKERS] dubious error message from partition.c

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: [HACKERS] dubious error message from partition.c
Дата
Msg-id cd92fa65-75f4-22c8-14c8-e8467948c8c2@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>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] expanding inheritance in partition bound order
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] Small code improvement for btree