Обсуждение: pgsql: doc: remove mention of bitwise operators as solely type-limited
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: https://postgr.es/m/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(-)
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
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 +