Re: BUG #16325: Assert failure on partitioning by int for a text value with a collation
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2020-04-07T07:49:44Z
Lists: pgsql-bugs
Attachments
- part_value_collations_v4.patch (text/x-diff) patch v4
On Fri, Apr 03, 2020 at 05:29:10PM +0200, Dmitry Dolgov wrote: > Thanks for the suggestion. It's not strictly related to the fix I guess, > but of course you're right, and we can indeed improve this part and > replace the check with an assert. Thanks for the new version of the patch. I have been playing a bit today, and finished with the version attached. Some comments have been tweaked, and I have moved the test in the block with the other invalid cases for consistency, adding an extra test able to trigger a similar error within the transformation step where a parse context exists. It is a bit late now so I cannot push that today, but I'll do that tomorrow. -- Michael
Commits
-
Fix crash when using COLLATE in partition bound expressions
- 0a9ae1800f67 12.3 landed
- c0187869a0f6 13.0 landed