From: Rado Petrik <r.p@szm.sk>
To: pgsql-sql@postgresql.org
Subject: Retype
Date: 09 Jun 2003 11:24:24 +0200
Message-ID: <1055150663.1819.9.camel@caj> (raw)
Hi,
I have query " SELECT id_user FROM user WHERE (freg_u & 2 ) > 0 ".
freg_u is type smallint.
Query return this error.
PostgreSQL query failed: ERROR: Unable to identify an operator '&' for
types 'smallint' and 'integer' You will have to retype this query using
an explicit cast in
How I retype freg_u to interger ?
--
Rado Petrik <r.p@szm.sk>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: r.p@szm.sk
Subject: Re: Retype
In-Reply-To: <1055150663.1819.9.camel@caj>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox