RE: [SQL] using matches on int4

From: "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com>
To: Gregory Holston <holston(at)itd(dot)nrl(dot)navy(dot)mil>, pgsql-sql(at)hub(dot)org
Subject: RE: [SQL] using matches on int4
Date: 1999-02-04 17:40:20
Message-ID: F10BB1FAF801D111829B0060971D839F64459E@cpsmail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

What kind of matching are you trying to do?
Most likely you don't really need to create an operator.
-DEJ

> -----Original Message-----
> Hi List,
>
> I tried to do this query:
> real=> select * from users where id ~ 2;
> ERROR: There is no operator '~' for types 'int4' and 'int4'
> You will either have to retype this query using an
> explicit cast,
> or you will have to define the operator using CREATE OPERATOR
> My question is how would I create an operator?
>
> Thanks in advance,
>
> -Greg
>

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Gregory Holston 1999-02-04 17:49:42 RE: [SQL] using matches on int4
Previous Message Gregory Holston 1999-02-04 17:13:22 using matches on int4