Re: Report error position in partition bound check
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Alexandra Wang <lewang@pivotal.io>
Cc: Ashutosh Bapat <ashutosh.bapat@2ndquadrant.com>,
Amit Langote <amitlangote09@gmail.com>,
Tom Lane <tgl@sss.pgh.pa.us>,
PostgreSQL mailing lists <pgsql-hackers@postgresql.org>,
Ashwin Agrawal <aagrawal@pivotal.io>
Date: 2020-07-02T13:39:09Z
Lists: pgsql-hackers
> On 10 Apr 2020, at 23:50, Alexandra Wang <lewang@pivotal.io> wrote: > On Fri, Apr 10, 2020 at 8:37 AM Ashutosh Bapat <ashutosh.bapat@2ndquadrant.com <mailto:ashutosh.bapat@2ndquadrant.com>> wrote: > > for a multi-key value the ^ > > points to the first column and the reader may think that that's the > > problematci column. Should it instead point to ( ? > > I attached a v2 of Amit's 0002 patch to also report the exact column > for the partition overlap errors. This patch fails to apply to HEAD due to conflicts in the create_table expected output. Can you please submit a rebased version? I'm marking the CF entry Waiting on Author in the meantime. cheers ./daniel
Commits
-
Improve error cursor positions for problems with partition bounds.
- 6b2c4e59d016 14.0 landed