X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3C0B44760E3 for ; Sun, 13 Apr 2003 23:07:07 -0400 (EDT) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id D64B147580B for ; Sun, 13 Apr 2003 23:07:05 -0400 (EDT) Received: (qmail 17973 invoked from network); 14 Apr 2003 03:07:34 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 14 Apr 2003 03:07:34 -0000 Received: from tpf.co.jp (3d_note1 [126.0.1.61]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id MAA01555; Mon, 14 Apr 2003 12:07:33 +0900 (JST) Message-ID: <3E9A26C9.E4CE8D52@tpf.co.jp> Date: Mon, 14 Apr 2003 12:11:05 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Wayne Armstrong Cc: pgsql-odbc@postgresql.org Subject: Re: Parse Statement causes a "hang" in crystal reports References: <200304110317.h3B3Hgdv029827@mail.bacchus.com.au> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-18.2 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,REFERENCES,UPPERCASE_25_50 autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/48 X-Sequence-Number: 2850 Wayne Armstrong wrote: > > Hi, > If I have parse statements turned on and the following sql is issued from > crystal reports, crystal will just hang.(ugly aint it :) This happens because > the parser decides ( is the schema, and dies trying to get info on a table > called (.bacchus. This is in the 7.02.00.05 drivers. > > SELECT "MGMT_SUMMARY2"."vehicle_code", "MGMT_SUMMARY2"."t_kms", "MGMT_SUMMAR > Y2"."t_fuel_cost", "MGMT_SUMMARY2"."t_fuel_qty", "MGMT_SUMMARY2"."cost_per_klm", > "MGMT_SUMMARY2"."fuel_ecomony", "MGMT_SUMMARY2"."t_job_cost", "MGMT_SUMMARY2"." > t_part_cost", "MGMT_SUMMARY2"."t_labour_cost", "MGMT_SUMMARY2"."t_labour_hour", > "PLANT"."year_made", "PLANT"."model_code", "PLANT"."active_flag", "PLANT"."print > _flag", "TB_CONTROL"."report_start", "TB_CONTROL"."report_end", "MGMT_SUMMARY2". > "t_oil_cost", "MGMT_SUMMARY2"."t_tyre_cost", "company"."company_name", "MGMT_SUM > MARY2"."company_id" FROM (("bacchus"."mgmt_summary2" "MGMT_SUMMARY2" LEFT OUTE > R JOIN "bacchus"."plant" "PLANT" ON ("MGMT_SUMMARY2"."company_id"="PLANT"."compa > ny_id") AND ("MGMT_SUMMARY2"."vehicle_code"="PLANT"."plant_code")) LEFT OUTER JO > IN "bacchus"."tb_control" "TB_CONTROL" ON "MGMT_SUMMARY2"."company_id"="TB_CONTR > OL"."company_id") LEFT OUTER JOIN "bacchus"."company" "company" ON "MGMT_SUMMARY > 2"."company_id"="company"."company_id" WHERE "PLANT"."active_flag"='Yes' AND "M > GMT_SUMMARY2"."company_id"=0 AND "PLANT"."print_flag"='Yes' ORDER BY "PLANT"."mo > del_code", "MGMT_SUMMARY2"."vehicle_code" Please try the lastest snapshot dll at http://www.geocities.jp/inocchichichi/psqlodbc/ . regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/