Re: explicit cast error

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Lynn David Newton <lynn(dot)newton(at)cox(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: explicit cast error
Date: 2002-07-05 15:17:25
Message-ID: 3D25B885.31B9BF65@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> insert into abc
> (c2, lab, dlab, bdigits) values
> (5, 'somestring', 'abc123', 3410999762);
> psql returns to me this message:
> psql: ... ERROR: Unable to identify an operator '=' for types 'int4' and 'text'
> You will have to retype this query using an explicit cast

Try surrounding the bigint integer with single quotes.

- Thomas

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David A Dickson 2002-07-05 15:19:33 Re: two primairy key in one table ?
Previous Message Josh Jore 2002-07-05 15:13:49 Re: two primairy key in one table ?