[HACKERS] jsonb problematic operators - Mailing list pgsql-hackers

From Jordan Gigov
Subject [HACKERS] jsonb problematic operators
Date
Msg-id CA+nBocB+DPnZRDB7JNvoTGuireM3BqJyz4sLqUCYT6tuM6SWfA@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] jsonb problematic operators
Re: [HACKERS] jsonb problematic operators
Re: [HACKERS] jsonb problematic operators
Re: [HACKERS] jsonb problematic operators
List pgsql-hackers
There is this problem with the jsonb operators "? text" "?| text[]"
and "?& text[]" that the question mark is typically used for prepared
statement parameters in the most used abstraction APIs in Java and
PHP.

This really needs an alternative. Something like "HAS text", "HAS
ANY(text[])" and "HAS ALL(text[])" same as regular array usage. It
probably should be another word that has less chance of becoming a
conflict with another operator in future SQL specifications, but
that's for you to decide.

It's not a good idea to expect everyone else to make for workarounds
for problems you choose to create.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Password identifiers, protocol aging and SCRAM protocol
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] `array_position...()` causes SIGSEGV