Re: Improve new hash partition bound check error messages

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Improve new hash partition bound check error messages
Date: 2021-02-02 12:16:32
Message-ID: CA+HiwqHoTtOT1zKpX9uEV+NFULAu30Y16aX8qN-NczVkGKUUaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 2, 2021 at 7:36 PM Peter Eisentraut
<peter(dot)eisentraut(at)enterprisedb(dot)com> wrote:
> I had a bit of trouble parsing the error message "every hash partition
> modulus must be a factor of the next larger modulus", so I went into the
> code, added some comments and added errdetail messages for each case. I
> think it's a bit clearer now.

That is definitely an improvement, thanks.

--
Amit Langote
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2021-02-02 12:26:33 Re: Improve new hash partition bound check error messages
Previous Message japin 2021-02-02 11:38:12 Re: row filtering for logical replication