pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: JOUBERT Renaud <renaud.joubert@smatis.fr>
To: pgsql-odbc@postgresql.org
Subject: bug report on psql odbc 9.01.02.00 ( seems beeing there since 9.00.03.10 )
Date: Fri, 30 Nov 2012 14:16:20 +0100 (CET)
Message-ID: <2146113297.1517076.1354281380653.JavaMail.root@srv1mail.smatis.mut> (raw)
In-Reply-To: <400936218.1516994.1354280895367.JavaMail.root@srv1mail.smatis.mut>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>


Hello, 

i want to report a bug on psql odbc 9.01.02.00 ( seems beeing there since 9.00.03.10 ) 
odbs 9.01.02.00 parses subqueries incorrectly : 

SELECT DISTINCT G_T0.personne_uid , 
G_T0.personne_num , 
G_T0.personne_eid|| TO_CHAR(1, '9999999999') , 
substr(md5(to_char(random()*1000000,'999999')),1,6) 
FROM public.data_personne G_T0 INNER JOIN (SELECT G_T3.contrat_assure_uid AS G_F1 
FROM public.data_contrat G_T3, 
public.dim_contrat_nature G_T4, 
public.dim_contrat_statut G_T5 
WHERE ( G_T5.contrat_statut_uid = G_T3.contrat_statut_uid ) 
AND ( G_T4.contrat_nature_uid = G_T3.contrat_nature_uid ) 
AND ( G_T4.contrat_nature_eid = 'S' AND G_T3.contrat_eid NOT LIKE '%groupe' AND ( G_T5.contrat_statut_eid IN ('in_force' , 'pending_1' ) OR G_T3.contrat_date_resiliation IS NULL OR G_T3.contrat_date_resiliation >= NOW() ) 
) G_T2 
ON G_T2.G_F1 = G_T0.personne_uid } LEFT OUTER JOIN public.data_espace_client_internet G_T1 
ON G_T0.personne_uid = G_T1.espace_client_internet_personne_uid 
WHERE G_T1.espace_client_internet_uid IS NULL 


give now the error "subquery in FROM must have an alias" 


It was perfectly execute with the old version 8.03.04.00 





www.smatis.fr 	
	Renaud JOUBERT - Administrateur BD - Pôle fonctionnel 
6 à 14 rue du Piave 
16920 Angoulême cedex 09 
renaud.joubert@smatis.fr 
Tel : 05 45 39 36 35 
Fax : 05 45 39 36 39 
	Pensez à l'environnement avant d'imprimer ce message / Think about the environment before printing 

Message-ID: <2146113297.1517076.1354281380653.JavaMail.root@srv1mail.smatis.mut>
Permalink:  ../2146113297.1517076.1354281380653.JavaMail.root@srv1mail.smatis.mut/
Also on:    postgresql.org/message-id/2146113297.1517076.1354281380653.JavaMail.root@srv1mail.smatis.mut

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: renaud.joubert@smatis.fr
  Subject: Re: bug report on psql odbc 9.01.02.00 ( seems beeing there since 9.00.03.10 )
  In-Reply-To: <2146113297.1517076.1354281380653.JavaMail.root@srv1mail.smatis.mut>
  References: <400936218.1516994.1354280895367.JavaMail.root@srv1mail.smatis.mut> <2146113297.1517076.1354281380653.JavaMail.root@srv1mail.smatis.mut>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox