Improve new hash partition bound check error messages
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-02-02T10:35:49Z
Lists: pgsql-hackers
Attachments
- 0001-Improve-new-hash-partition-bound-check-error-message.patch (text/plain) patch 0001
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.
Commits
-
Improve new hash partition bound check error messages
- efbfb642414b 14.0 landed