pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: cesar_cast <cesar.cast.more@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: ERROR:  operator does not exist: integer = integer[]
Date: Wed, 11 Apr 2012 14:17:48 -0700 (PDT)
Message-ID: <1334179068706-5634075.post@n5.nabble.com> (raw)

I have the following

select *
from   employee AS e
where  (e.id) IN  (ARRAY[3,1]);

I have the following mistake
ERROR:  operator does not exist: integer = integer[]
LINE 3: where  (e.id) IN  (ARRAY[3,1]);
                      ^
HINT:  No operator matches the given name and argument type(s). You might
need to add explicit type casts.

********** Error **********

ERROR: operator does not exist: integer = integer[]
SQL state: 42883
Hint: No operator matches the given name and argument type(s). You might
need to add explicit type casts.
Character: 45


Can anybody explain me? 

--
View this message in context: http://postgresql.1045698.n5.nabble.com/ERROR-operator-does-not-exist-integer-integer-tp5634075p5634...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.



view thread (2+ messages)  latest in thread

Message-ID: <1334179068706-5634075.post@n5.nabble.com>
Permalink:  ../1334179068706-5634075.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1334179068706-5634075.post@n5.nabble.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: cesar.cast.more@gmail.com
  Subject: Re: ERROR:  operator does not exist: integer = integer[]
  In-Reply-To: <1334179068706-5634075.post@n5.nabble.com>
  References: <1334179068706-5634075.post@n5.nabble.com>

* 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