Re: BUG #6550: Querry failed while using throung php program.

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: mkkrish(at)hotmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6550: Querry failed while using throung php program.
Date: 2012-03-22 21:22:34
Message-ID: CABRT9RCxhK87FsHVw7WY1LjNo9BjidcNR2U8Of2zSz-u+b3CRw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Mar 22, 2012 at 08:00, <mkkrish(at)hotmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Josh Kupershmidt 2012-03-22 23:47:13 Re: BUG #6549: Wrong $PATH setting after installation
Previous Message Adam Buraczewski 2012-03-22 19:16:55 Re: BUG #6551: PL/pgSQL: GET DIAGNOSTICS not working for first OUT parameter