pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Parse Statement causes a "hang" in crystal reports
2+ messages / 2 participants
[nested] [flat]

* Parse Statement causes a "hang" in crystal reports
@ 2003-04-11 03:15 Wayne Armstrong <wdarmst@bacchus.com.au>
  2003-04-14 03:11 ` Re: Parse Statement causes a "hang" in crystal reports Hiroshi Inoue <Inoue@tpf.co.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: Wayne Armstrong @ 2003-04-11 03:15 UTC (permalink / raw)
  To: pgsql-odbc

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"


Regards,
Wayne




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Parse Statement causes a "hang" in crystal reports
  2003-04-11 03:15 Parse Statement causes a "hang" in crystal reports Wayne Armstrong <wdarmst@bacchus.com.au>
@ 2003-04-14 03:11 ` Hiroshi Inoue <Inoue@tpf.co.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Inoue @ 2003-04-14 03:11 UTC (permalink / raw)
  To: Wayne Armstrong <wdarmst@bacchus.com.au>; +Cc: pgsql-odbc

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/




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-04-14 03:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-04-11 03:15 Parse Statement causes a "hang" in crystal reports Wayne Armstrong <wdarmst@bacchus.com.au>
2003-04-14 03:11 ` Hiroshi Inoue <Inoue@tpf.co.jp>

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