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

Поиск
Список
Период
Сортировка
От mkkrish@hotmail.com
Тема BUG #6550: Querry failed while using throung php program.
Дата
Msg-id E1SAb4c-00036i-Ej@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #6550: Querry failed while using throung php program.  (Marti Raudsepp <marti@juffo.org>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      6550
Logged by:          M K Krishnan
Email address:      mkkrish@hotmail.com
PostgreSQL version: 9.0.4
Operating system:   Windows 7
Description:=20=20=20=20=20=20=20=20

11Variety One Warning: pg_query(): Query failed: ERROR: syntax error at or
near "and" LINE 1: select * from variety_dir where crop_cd=3D and variety_c=
d=3D1
^ in C:\Program Files
(x86)\PostgreSQL\EnterpriseDB-ApachePhp\apache\www\agrimetnew\variety_upd.p=
hp
on line 32 Warning: pg_num_rows() expects parameter 1 to be resource,
boolean given in C:\Program Files
(x86)\PostgreSQL\EnterpriseDB-ApachePhp\apache\www\agrimetnew\variety_upd.p=
hp
on line 33 No Record Found .

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

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

Предыдущее
От: jf.vanderwoude@gmail.com
Дата:
Сообщение: BUG #6549: Wrong $PATH setting after installation
Следующее
От: aburacze@gmail.com
Дата:
Сообщение: BUG #6551: PL/pgSQL: GET DIAGNOSTICS not working for first OUT parameter