Improve new hash partition bound check error messages

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Improve new hash partition bound check error messages
Date: 2021-02-02 10:35:49
Message-ID: bb9d60b4-aadb-607a-1a9d-fdc3434dddcd@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Attachment Content-Type Size
0001-Improve-new-hash-partition-bound-check-error-message.patch text/plain 6.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2021-02-02 10:37:14 Re: Add primary keys to system catalogs
Previous Message Ajin Cherian 2021-02-02 10:03:52 Re: Single transaction in the tablesync worker?