Re: BUG #6550: Querry failed while using throung php program. - Mailing list pgsql-bugs

From Marti Raudsepp
Subject Re: BUG #6550: Querry failed while using throung php program.
Date
Msg-id CABRT9RCxhK87FsHVw7WY1LjNo9BjidcNR2U8Of2zSz-u+b3CRw@mail.gmail.com
Whole thread Raw
In response to BUG #6550: Querry failed while using throung php program.  (mkkrish@hotmail.com)
List pgsql-bugs
On Thu, Mar 22, 2012 at 08:00,  <mkkrish@hotmail.com> wrote:
> LINE 1: select * from variety_dir where crop_cd= and variety_cd=1

You're missing a value for the crop_cd= clause. This error is supposed to occur.

> Query works from SQL Screen. When uses through php it fails.

You probably executed a different query from there.

Regards,
Marti

pgsql-bugs by date:

Previous
From: Adam Buraczewski
Date:
Subject: Re: BUG #6551: PL/pgSQL: GET DIAGNOSTICS not working for first OUT parameter
Next
From: Josh Kupershmidt
Date:
Subject: Re: BUG #6549: Wrong $PATH setting after installation