pgsql: Assign collations in partition bound expressions.

2020-09-28 Thread Tom Lane
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/C

pgsql: Assign collations in partition bound expressions.

2020-09-28 Thread Tom Lane
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/C

pgsql: Assign collations in partition bound expressions.

2020-09-28 Thread Tom Lane
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/C