Assign collations in partition bound expressions.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 29f20db85ed220f075fe8181bac49269611f13cb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-09-28T18:12:38Z
Releases: 12.5
Assign collations in partition bound expressions.

Failure to do this can result in errors during evaluation of
the bound expression, as illustrated by the new regression test.

Back-patch to v12 where the ability for partition bounds to be
expressions was added.

Discussion: https://postgr.es/m/CAJV4CdrZ5mKuaEsRSbLf2URQ3h6iMtKD=hik8MaF5WwdmC9uZw@mail.gmail.com

Files

Discussion