pgsql: doc: remove mention of bitwise operators as solely type-limited

Started by Bruce Momjianabout 6 years ago3 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

doc: remove mention of bitwise operators as solely type-limited

There are other operators that have limited number data type support, so
just remove the sentence.

Reported-by: Sergei Agalakov

Discussion: /messages/by-id/158032651854.19851.16261832706661813796@wrigleys.postgresql.org

Backpatch-through: 9.5

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/116381955900d55e24520014eeeecefce7ac7dd6

Modified Files
--------------
doc/src/sgml/func.sgml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Bruce Momjian (#1)
Re: pgsql: doc: remove mention of bitwise operators as solely type-limited

On 2020-04-01 00:44, Bruce Momjian wrote:

doc: remove mention of bitwise operators as solely type-limited

There are other operators that have limited number data type support, so
just remove the sentence.

     <para>
-    The bitwise operators work only on integral data types, whereas
-    the others are available for all numeric data types.  The bitwise
-    operators are also available for the bit
+    The bitwise operators work only on integral data types, and are also
+    available for the bit
      string types <type>bit</type> and <type>bit varying</type>, as
      shown in <xref linkend="functions-bit-string-op-table">.
     </para>

The comma before "and" should be removed.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

#3Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#2)
Re: pgsql: doc: remove mention of bitwise operators as solely type-limited

On Thu, Apr 2, 2020 at 07:23:06AM +0200, Peter Eisentraut wrote:

On 2020-04-01 00:44, Bruce Momjian wrote:

doc: remove mention of bitwise operators as solely type-limited

There are other operators that have limited number data type support, so
just remove the sentence.

<para>
-    The bitwise operators work only on integral data types, whereas
-    the others are available for all numeric data types.  The bitwise
-    operators are also available for the bit
+    The bitwise operators work only on integral data types, and are also
+    available for the bit
string types <type>bit</type> and <type>bit varying</type>, as
shown in <xref linkend="functions-bit-string-op-table">.
</para>

The comma before "and" should be removed.

Done.

--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +