Re: You might need to add explicit type casts.
Raymond O'Donnell <[email protected]> Mon, 29 Dec 2008 11:21:24 +0000
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <[email protected]> |
On 29/12/2008 04:17, [email protected] wrote: > I also found that the WHERE statements were not properly quoted, a 101 > mistake. > > WHERE id = 469 => WHERE id = '469' Yes, this commonly bites people moving from earlier versions of PostgreSQL to 8.3 - a lot of automatic casts have been removed. The original error message suggests that this was your problem all along. I'm curious as to why you've defined the "id" column as VARCHAR when you seem to expect it to hold integers....unless of course there will be non-numeric characters there also? Ray. ------------------------------------------------------------------ Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland [email protected] Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals ------------------------------------------------------------------ -- Sent via pgsql-php mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-php