Re: dubious error message from partition.c
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Alvaro Herrera <alvherre@2ndquadrant.com>, Dean Rasheed <dean.a.rasheed@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2017-08-10T17:54:20Z
Lists: pgsql-hackers
On Wed, Aug 9, 2017 at 10:14 PM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> wrote: >> That seems like overkill. I'm good with "greater than or equal to". > > Attached updated patch has "greater than or equal to". Committed, with one small change which I hope will be considered an improvement. Your proposed primary error message was: invalid range bound specification for partition \"%s\" I changed it to: empty range bound specified for partition \"%s\" Thanks for working on this. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Improve the error message when creating an empty range partition.
- bb5d6e80b138 10.0 landed