pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Assign collations in partition bound expressions.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Assign collations in partition bound expressions.
@ 2020-09-28 18:12  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2020-09-28 18:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/72647ac3bf0f11732483eac2cd9b5cf4972f2e1f

Modified Files
--------------
src/backend/parser/parse_utilcmd.c         | 1 +
src/test/regress/expected/create_table.out | 7 +++++++
src/test/regress/sql/create_table.sql      | 8 ++++++++
3 files changed, 16 insertions(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Assign collations in partition bound expressions.
@ 2020-09-28 18:12  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2020-09-28 18:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/29f20db85ed220f075fe8181bac49269611f13cb

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(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Assign collations in partition bound expressions.
@ 2020-09-28 18:12  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2020-09-28 18:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2020-09-28 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-09-28 18:12 pgsql: Assign collations in partition bound expressions. Tom Lane <tgl@sss.pgh.pa.us>
2020-09-28 18:12 pgsql: Assign collations in partition bound expressions. Tom Lane <tgl@sss.pgh.pa.us>
2020-09-28 18:12 pgsql: Assign collations in partition bound expressions. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox