Re: Add more information_schema columns

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Add more information_schema columns
Дата
Msg-id CA+TgmoY+Zt6q5Jj4o=yZ6P_-Sz00MOEysk=zULYtqSa8nKdoXQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add more information_schema columns  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Add more information_schema columns
Список pgsql-hackers
On Tue, Feb 6, 2018 at 2:15 AM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> Better to use parenthesis for (t.tgtype & 1 & 66) perhaps? You may want
> to comment that this is to filter per row-statement first, and then with
> after/before/instead of, which are what the 1 and the 66 are for.

What possible point can there be to such an expression?  It's always 0.

rhaas=# select distinct tgtype::smallint & 1 & 66 from
generate_series(-32768,32767) tgtype;
?column?
----------
        0
(1 row)

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: RelOptInfo -> Relation
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Add PGDLLIMPORT to enable_hashagg