• Tom Lane's avatar
    Fix test_rls_hooks to assign expression collations properly. · 7a28e9aa
    Tom Lane authored
    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.
    7a28e9aa
test_rls_hooks.c 4.96 KB