Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group