Search Postgresql Archives

Re: Use of '&' as table prefix in query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 12 Jul 2021, Adrian Klaver wrote:


You should also follow Tom's suggestion and do:
\do+ &
in psql.

It's the bitwise 'and':
# \do+ &
                                       List of operators
Schema | Name | Left arg type | Right arg type | Result type | Function | Description ------------+------+---------------+----------------+-------------+--------------+-------------
 pg_catalog | &    | bigint        | bigint         | bigint      | int8and      | bitwise and
 pg_catalog | &    | bit           | bit            | bit         | bitand       | bitwise and
 pg_catalog | &    | inet          | inet           | inet        | inetand      | bitwise and
 pg_catalog | &    | integer       | integer        | integer     | int4and      | bitwise and
 pg_catalog | &    | macaddr       | macaddr        | macaddr     | macaddr_and  | bitwise and
 pg_catalog | &    | macaddr8      | macaddr8       | macaddr8    | macaddr8_and | bitwise and
 pg_catalog | &    | smallint      | smallint       | smallint    | int2and      | bitwise and
(7 rows)

which doesn't seem appropriate in this context.

Thanks,

Rich





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux