Re: Precedence of bitwise operators - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Precedence of bitwise operators
Date
Msg-id 2898362.1668980540@sss.pgh.pa.us
Whole thread Raw
In response to Precedence of bitwise operators  (Bauyrzhan Sakhariyev <baurzhansahariev@gmail.com>)
List pgsql-hackers
Bauyrzhan Sakhariyev <baurzhansahariev@gmail.com> writes:
> Hi! Do I get it right, that bitwise operations have the same precedence?

Yes, that is what the documentation says:

https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-PRECEDENCE

Operator precedence is hard-wired into our parser, so we don't get
to have a lot of flexibility in assigning precedences for any except
a very small set of operator names.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Reducing power consumption on idle servers
Next
From: Thomas Munro
Date:
Subject: Re: More efficient build farm animal wakeup?