From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix test_rls_hooks to assign expression collations properly. |
Date: | 2018-12-11 16:48:17 |
Message-ID: | E1gWlCj-0005wZ-UX@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix test_rls_hooks to assign expression collations properly.
This module overlooked this necessary fixup step on the results of
transformWhereClause(). It accidentally worked anyway, because the
constructed expression involved type "name" which is not collatable,
but it fell over while I was experimenting with changing "name" to
be collatable.
Back-patch, not because there's any live bug here in back branches,
but because somebody might use this code as a model for some real
application and then not understand why it doesn't work.
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/4e33da5f0af340da40bd51354b87332c551a4bbc
Modified Files
--------------
src/test/modules/test_rls_hooks/test_rls_hooks.c | 5 +++++
1 file changed, 5 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2018-12-12 00:51:09 | pgsql: Tweak pg_partition_tree for undefined relations and unsupported |
Previous Message | Tom Lane | 2018-12-11 16:22:56 | pgsql: Doc: improve documentation about ALTER LARGE OBJECT requirements |