Re: You might need to add explicit type casts.
| От | Raymond O'Donnell |
|---|---|
| Тема | Re: You might need to add explicit type casts. |
| Дата | |
| Msg-id | 4958B2B4.9060501@iol.ie обсуждение исходный текст |
| Ответ на | Re: You might need to add explicit type casts. (kulmacet101@kulmacet.com) |
| Список | pgsql-php |
On 29/12/2008 04:17, kulmacet101@kulmacet.com 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 rod@iol.ie Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals ------------------------------------------------------------------
В списке pgsql-php по дате отправления: