From: Erik Wienhold <ewie@ewie.name>
Subject: [PATCH v1] Document intarray subtraction as set difference
Date: Mon, 18 Mar 2024 17:04:09 +0100
The subtract operator provided by intarray actually has set semantics
and computes the difference of the provided arguments instead of just
removing elements. Document that analogous to the intersection and
union operators next to it.
---
doc/src/sgml/intarray.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
inline patch 1: doc/src/sgml/intarray.sgml (+1/-1 lines) download inline-1.patchdiff --git a/doc/src/sgml/intarray.sgml b/doc/src/sgml/intarray.sgmlindex c72d49b01d..25838ff023 100644--- a/doc/src/sgml/intarray.sgml+++ b/doc/src/sgml/intarray.sgml@@ -312,7 +312,7 @@
<returnvalue>integer[]</returnvalue>
</para>
<para>
- Removes elements of the right array from the left array.+ Computes the difference of the arguments.
</para></entry>
</row>
--
2.44.0
--scd6stxafsbu7jps--
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-docs@postgresql.org
Cc: ewie@ewie.name
Subject: Re: [PATCH v1] Document intarray subtraction as set difference
In-Reply-To: <no-message-id-9657@localhost>
References: <no-message-id-9657@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox