| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Assign collations in partition bound expressions. |
| Date: | 2020-09-28 18:12:50 |
| Message-ID: | E1kMxdq-0004it-VG@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/61a78c71a656593bf4121e624348a990ba5b91da
Modified Files
--------------
src/backend/parser/parse_utilcmd.c | 3 +++
src/test/regress/expected/create_table.out | 7 +++++++
src/test/regress/sql/create_table.sql | 8 ++++++++
3 files changed, 18 insertions(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2020-09-28 18:48:09 | pgsql: Stabilize create_table regression test. |
| Previous Message | Tom Lane | 2020-09-28 17:44:11 | pgsql: Remove complaints about COLLATE clauses in partition bound value |