Closed ryleyb closed 6 years ago
Thank you for reporting this. Confirmed can duplicate, will try to figure out what is going on.
This should be fixed in 22c134d850e857e1f9d0b67e2830a44c34ca623d
Looks good to me, ran my tests against it and it has stopped complaining!
Thanks for looking into this.
I have code that uses bind parameters and the ? operator for a JSONB field. I get a variety of different errors, each time I run my test script.
Test Script:
Example output:
Another run:
If I take out the bind params or only have one of them, it works fine.
If I replace
jsonb_col \? 'key'
in the where clause withjsonb_typeof(jsonb_col->'key') is not null
it works fine.System info:
Other than those, I believe stock Debian Jessie. I will respond to any follow up questions promptly.