pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: neqjoinsel must now pass through collation to eqjoinsel. 3+ messages / 1 participants [nested] [flat]
* pgsql: neqjoinsel must now pass through collation to eqjoinsel. @ 2020-07-21 23:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2020-07-21 23:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org neqjoinsel must now pass through collation to eqjoinsel. Since commit 044c99bc5, eqjoinsel passes the passed-in collation to any operators it invokes. However, neqjoinsel failed to pass on whatever collation it got, so that if we invoked a collation-dependent operator via that code path, we'd get "could not determine which collation to use for string comparison" or the like. Per report from Justin Pryzby. Back-patch to v12, like the previous commit. Discussion: https://postgr.es/m/20200721191606.GL5748@telsasoft.com Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cc4dd2a7af13b4759cd76074a932c8cf24e32bb2 Modified Files -------------- src/backend/utils/adt/selfuncs.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: neqjoinsel must now pass through collation to eqjoinsel. @ 2020-07-21 23:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2020-07-21 23:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org neqjoinsel must now pass through collation to eqjoinsel. Since commit 044c99bc5, eqjoinsel passes the passed-in collation to any operators it invokes. However, neqjoinsel failed to pass on whatever collation it got, so that if we invoked a collation-dependent operator via that code path, we'd get "could not determine which collation to use for string comparison" or the like. Per report from Justin Pryzby. Back-patch to v12, like the previous commit. Discussion: https://postgr.es/m/20200721191606.GL5748@telsasoft.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/171633ff5d8e21ceda5d824f3c9f13aa18a78505 Modified Files -------------- src/backend/utils/adt/selfuncs.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: neqjoinsel must now pass through collation to eqjoinsel. @ 2020-07-21 23:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2020-07-21 23:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org neqjoinsel must now pass through collation to eqjoinsel. Since commit 044c99bc5, eqjoinsel passes the passed-in collation to any operators it invokes. However, neqjoinsel failed to pass on whatever collation it got, so that if we invoked a collation-dependent operator via that code path, we'd get "could not determine which collation to use for string comparison" or the like. Per report from Justin Pryzby. Back-patch to v12, like the previous commit. Discussion: https://postgr.es/m/20200721191606.GL5748@telsasoft.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/bd0d893aa7aa303d7f344e267a9d3e53b0219491 Modified Files -------------- src/backend/utils/adt/selfuncs.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-07-21 23:41 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-07-21 23:41 pgsql: neqjoinsel must now pass through collation to eqjoinsel. Tom Lane <tgl@sss.pgh.pa.us> 2020-07-21 23:41 pgsql: neqjoinsel must now pass through collation to eqjoinsel. Tom Lane <tgl@sss.pgh.pa.us> 2020-07-21 23:41 pgsql: neqjoinsel must now pass through collation to eqjoinsel. 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