BUG #3263: SQL Command error between versions

From: "Nilay Ceter" <nilayceter(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3263: SQL Command error between versions
Date: 2007-05-08 18:08:01
Message-ID: 200705081808.l48I81Xl095472@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3263
Logged by: Nilay Ceter
Email address: nilayceter(at)gmail(dot)com
PostgreSQL version: 8.2
Operating system: Windows XP
Description: SQL Command error between versions
Details:

We are developing a network based application, using postgre sql.

Earlier version has been developed using Postgre SQL 8.0 and there was no
problem.

But we use Postgre SQL 8.2 in new version and we are experiencing some
problems about our sql commands.

The command line:

select seri_no, ad as baslik, kull_ref as Kullanc_Referansi, sorumlu
from onay,dokuman where p_id='yonetici' and onay.dokuman_id=dokuman.seri_no
and onay_durum.seri_no=seri_no and onay_durum.p_id='yonetici' and
(dokuman.durum=1 or dokuman.durum=2 or dokuman.durum=6 or dokuman.durum=7)
and onay_durum.durum=0 and seri_no>0

was working properly in Postgre SQL 8.0 but in version Postgre SQL 8.2 the
second "and" gives an error.

would you please help us?

Best Regards

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sridhar Sourirajan 2007-05-08 18:26:30 PSQL support on HP-UX, Solaris and AIX
Previous Message Stefano Tranquillini 2007-05-06 10:28:53 Re: BUG #1063: tcp/ip