Em ter., 17 de mar. de 2026 às 17:19, Adrian Klaver <
adrian(dot)klaver(at)aklaver(dot)com> escreveu:
> I also tried other combinations of casting both sides of "=" and it
> still did not work.
>
"'test'::character varying" is the result of that function, not type of test
This should work
AND pg_get_expr(adbin, adrelid) = $$'test'::character varying$$;
regards
Marcos