Re: warning: pg_query(): Query failed

Поиск
Список
Период
Сортировка
От Aaron Steele
Тема Re: warning: pg_query(): Query failed
Дата
Msg-id FEF3E008-604B-11D9-B24F-000A95C0C442@berkeley.edu
обсуждение исходный текст
Ответ на Re: warning: pg_query(): Query failed  (Bruno Wolff III <bruno@wolff.to>)
Ответы Re: warning: pg_query(): Query failed
Список pgsql-general
hi bruno,

turns out that l.last_comment_uid and l.last_comment_name are integer
and char var respectively. since i'm using 7.4.1 with strict boolean
casting, is there a better alternative to instantiating a different
version of pgsql on my server?

> In the php code you showed the following fragment:
> IF(l.last_comment_uid,      cu.name,      l.last_comment_name)
>
> I doubt that l.last_comment_uid is a boolean based on its name.
> If it isn't this is probably the source of your problem.
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo@postgresql.org
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Global/persistent variables
Следующее
От: Robert Treat
Дата:
Сообщение: Re: disabling OIDs?