Re: warning: pg_query(): Query failed

From: Aaron Steele <asteele(at)berkeley(dot)edu>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: warning: pg_query(): Query failed
Date: 2005-01-07 01:32:30
Message-ID: FEF3E008-604B-11D9-B24F-000A95C0C442@berkeley.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2005-01-07 01:42:13 Re: disabling OIDs?
Previous Message Joe Conway 2005-01-06 23:57:33 Re: Global/persistent variables