Thread

  1. Re: Missing jsonb_ ... functions on DOCs

    Tom Lane <tgl@sss.pgh.pa.us> — 2026-05-11T15:19:44Z

    Marcos Pegoraro <marcos@f10.com.br> writes:
    > Em dom., 10 de mai. de 2026 às 23:08, Michael Paquier <michael@paquier.xyz>
    > escreveu:
    >> Well, it seems to me that the intention is that it is pointless to
    >> document the functions because that the users need only to be aware of
    >> the operators, and the operators are enough to manipulate the jsonb
    >> blobs.  Documenting the functions would be just duplicating what we
    >> already have for the operators, as listed here:
    >> https://www.postgresql.org/docs/devel/functions-json.html
    
    > A function is self explanatory, an operator is not.
    
    We have a general policy of not documenting functions that underlie
    operators, simply because doing otherwise would bloat the
    documentation enormously while not adding much value.  Do we really
    need documentation entries for int4pl, int48gt, float84mul,
    etc etc etc?
    
    I'm sure there are a few places where that policy wasn't followed
    for some reason, but I'm loath to abandon it.  There are circa
    800 entries in pg_operator (and that's just for the core code).
    
    			regards, tom lane