JSONB docs patch - Mailing list pgsql-hackers

From Mikhail Dobrinin
Subject JSONB docs patch
Date
Msg-id CABKYkG77WX0JhAb7P_YQO2x1-+Vb_=fKxbrgTNbDLo89fjpvLg@mail.gmail.com
Whole thread Raw
Responses Re: JSONB docs patch
List pgsql-hackers
Hello,

I have come across some missing documentation that I think could benefit the community.

Several functions like `jsonb_exists`, `jsonb_exists_any`, `jsonb_exists_all` have existed for many PG versions but were not documented. They are equivalent to `?`, `?|`, and `?&` operators. But some JDBC drivers have issues with native queries containing these operators (see https://stackoverflow.com/questions/38370972/how-do-i-use-postgresql-jsonb-operators-containing-a-question-mark-via-jdb), so it is useful for users of PG to know the function equivalents of these operators.

I have attached the patch as an attachment to this email. The documentation builds correctly without any lint errors after applying the patch locally. This is my first time contributing, so let me know if there is anything else I should do (add to commitfest etc).

Cheers!
Mikhail Dobrinin
Attachment

pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: Support for NSS as a libpq TLS backend
Next
From: Jimmy Yih
Date:
Subject: Concurrent deadlock scenario with DROP INDEX on partitioned index