Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wMVRv-0008r5-1Y for pgsql-hackers@arkaria.postgresql.org; Mon, 11 May 2026 18:33:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wMVRu-002Cj4-0n for pgsql-hackers@arkaria.postgresql.org; Mon, 11 May 2026 18:33:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wMVRt-002Ciw-2H for pgsql-hackers@lists.postgresql.org; Mon, 11 May 2026 18:33:50 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wMVRr-000000005Dm-1M45 for pgsql-hackers@postgresql.org; Mon, 11 May 2026 18:33:48 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5a87edf88b3so3556020e87.0 for ; Mon, 11 May 2026 11:33:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778524426; cv=none; d=google.com; s=arc-20240605; b=iH3QXXThSxJ5C7L2+kYdElx9xDCnjaoTgKLSMYTAl3kMGABow+tVBFHWzTn2//3ZRe ELoOEIrvXsGafEaxdFgRzMwuStPuL6gT6fb+UsuPSYVvdl8SLdwH8p2NrMz5N6RqWkCF 9JySKQ4wDO0911Nlxd/aaNAZapDS1gE+CFfNY8IIIVBJSCNM/I1cjGc6sDWnYT8Ou2Qd jAwFCkdSVwJu/AhmdT7+1GKnV6/qHUeXdDH9GlQpoEGX0OGKSq5grVQHnHx76O1IsPyc lHXIKDlarsk5/eg7Ph+4rcjAg5jP5Vo6ribdmJWWIpQTzLcZG2nKOxd3b6b7unclta53 RVvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=C/NVOF0joJcx9PtFBDb7r/OEfyYbpGSOXNyYMrTHlis=; fh=bsuAmW+hi54wqcEusgok839PEIBFwpudW9J+j9b0eWE=; b=ZzCsaBdbkZJMvRXbTtzmx4jak5OGX9FjGgzX2+xIykNi9V/Alv4CCqngSJ46uLPkME BNVuPSTMQhWTjQCTiIo5NssQ7UUvrIj7jpVgaZ1M7YCpeIcim7DaJkBry4RPERED+JvA 8C1aF2MA4kjw8QR94QvOnC1+cVXFIgheFPkNBI6ETVi1IPciqakBsSeNjAe8AcqphkYW L9ADShnEnnIA66f3ip8TnFfrPa1j8eUG/ojL5ojZWn0r9RNgGFaMYENSkrAxNQFb0Uuy rIbgmyAJckpJI347ol2YjNkNqDFSjpOqj4KoFcFB0Iwzuem/jkniv5te/bo8JjcOTknl /dRw==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f10-com-br.20251104.gappssmtp.com; s=20251104; t=1778524426; x=1779129226; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=C/NVOF0joJcx9PtFBDb7r/OEfyYbpGSOXNyYMrTHlis=; b=ED5On13Q8sDGRIgcB5uI2xhIyy0pAV7qWkVVmMRn6kjPm93OPNOiS4NmEtkFB9sNym DvjnFuC137VgqXEPb8/YfjJQX0Pc5oBKLtKBiIQWRsonOXhXzgM5pf46INqqsB2j32+L 6cVZ6awS/xnsyCXPwP9zlphee49lvVvCxQz+hqPXnDj72lOL9zwXjOfdpA/IytrGa/A8 uDrGD0PQuQYPzFoD/me0cLT6mGK2COwOwiA9bk/RKD82ZopG+eaumkSe0WBZqYsr0PN7 MyWJ3SNtkFDO5OP8Zo6UH+uVRLyx4r6gNWrlvZkffkuDHZrrVd6fXvrMwdn4dYFQE51p +3fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778524426; x=1779129226; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=C/NVOF0joJcx9PtFBDb7r/OEfyYbpGSOXNyYMrTHlis=; b=LKtR6KK8fwFqMAyVIXhw8g+v/b8lmiDtgnmgXV7EGEMMN4CGG/5gXpmvDbquLXWYYu sGbZph7BKJtzWStT6IZSw3nt0TPr2jFaf4Y0Lr9rDhpb8lkQ70qgdAQWthULfx3v6yzi I/RsLUeedkFQQQ67Ju04nyzBdp8LQvmN4FuOWqxuZKBETi6DRnR6cdGX3g79EC1Q/jvI ghArDSQPHpk6lReivQ1/LvHT5qEQCwC1HoCGCYFS7DZxz9CmW2j6x+VP//aHxCGRCH4j fRKdJkZVArudngmrQfiSiKeJFNHor8Me8iSCZAaIzc59NRyh6TRVUZ2zrJiSRKNpeAvB LTNg== X-Forwarded-Encrypted: i=1; AFNElJ90dQ5x74dbgL45/T+Aq6ylik/MSA24lDaMYXw09ZFb28zoWum5ztK3xZ7P8vkGFmnA/k17J5+jvYSqllh7@postgresql.org X-Gm-Message-State: AOJu0Yy9smVX5N/aospOz//uRkjvbiDoOJSriR8xUUW17FQXJIfV0jRe QSUc5/i3AFyASBNVwhkAZIolB4rvbqxnN7A5vHvJdUSG4FwfkbfGqMWMmp+/ofeGMvZa14cEuf3 cGZzV70YXUocx0djdnsCZZWbJpSFczlaPbItmI+yLt40BwUKBR6CHww== X-Gm-Gg: Acq92OEA6QGWxDjwqCul6emhp3hv7ha2DPxENgylBwvm/nqDlWTScs8i2vnqvtek4cI PBFMMf5t4CTYUks3sJh8FIQcBf5HZeTtwfsc49lqIys+C69yOsy4EUKGePnrZu41Uy+1LfITNYD UtySWPHCXMirkQYeq4rAf1mCqlulVlSu5JIlqK4YE8WAqTuIGrK6xVitNsYPM7O9jBUYybR93CF cp26Tcb4YHgrxq0skJqpXPzNLDv9KN4oMnuvFxS42T0dXzBXplxdxmXKJPAKoBzAvsE7PYC0lHT yCDAvg== X-Received: by 2002:a05:6512:1246:b0:5a2:b3dd:7a74 with SMTP id 2adb3069b0e04-5a8b709dfc8mr2953738e87.33.1778524425575; Mon, 11 May 2026 11:33:45 -0700 (PDT) MIME-Version: 1.0 References: <2077214.1778512784@sss.pgh.pa.us> In-Reply-To: <2077214.1778512784@sss.pgh.pa.us> From: Marcos Pegoraro Date: Mon, 11 May 2026 15:33:08 -0300 X-Gm-Features: AVHnY4LoEZ78OF6nEJxWmloCnnNg3S7KoIUszjy4PHYEi5Q0Xp-CNxUeiEuhSn4 Message-ID: Subject: Re: Missing jsonb_ ... functions on DOCs To: Tom Lane Cc: Michael Paquier , pgsql-hackers Content-Type: multipart/alternative; boundary="0000000000009c6cb906518efc10" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009c6cb906518efc10 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em seg., 11 de mai. de 2026 =C3=A0s 12:19, Tom Lane esc= reveu: > There are circa 800 entries in pg_operator (and that's just for the core > code). > It is precisely because of this number of operators that I would like to document the functions related to them. When you read SQL and there is an operator, you need to think, "Did I use the right operator? I'll check the documentation to see if that's the one." If I use a word, I have no doubt. The word Diff is completely different than the word Equal, but the operator !=3D is very similar to the operator = =3D Maybe we can find a way to have both on DOCs. Maybe put function name just after operator definition jsonb @> jsonb =E2=86=92 boolean (jsonb_contains()) Maybe a tooltip on that operator. I don't know how, but from a user's point of view, I know that not documenting isn't the best approach. regards Marcos --0000000000009c6cb906518efc10 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Em seg., 11 de mai. de 2026 =C3=A0s = 12:19, Tom Lane <tgl@sss.pgh.pa.us<= /a>> escreveu:

--0000000000009c6cb906518efc10--