From: | Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | Alex Balan <alex(dot)balan(at)carainformation(dot)com> |
Cc: | pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: raise notice causes driver to crash |
Date: | 2010-09-29 00:04:26 |
Message-ID: | 4CA2828A.6010302@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Hi Alex,
(2010/09/29 3:32), Alex Balan wrote:
> raise notice - displaying string having length over 4096 characters
> causes crash in ODBC ANSI driver but seems to be ok on 7.4.3 driver.
>
> Driver: psqlODBC ANSI ver. 8.4.2
> Database: PostgreSQL 8.1.5 on i686-redhat-linux-gnu
> Error: Faulting application vb6.exe, version 6.0.97.82,
> faulting module psqlodbc30a.dll, version 8.4.2.0, fault address 0x00045431.
Maybe this bug was already fixed.
Could you please try the drivers on testing for 8.4.0202 at
http://www.ne.jp/asahi/inocchichichi/entrance/psqlodbc/
?
regards,
Hiroshi Inoue
> Notes: Version 7.4.3 of psqlodbc driver driver does not expose this issue
>
> Calling procedure from VB
>
> Const strConnect = "DRIVER={PostgreSQL
> ANSI};DATABASE=test-medsql-alder;SERVER=192.168.100.77;PORT=5432;
> UID=postgres;PWD=secret;ByteaAsLongVarBinary=1;MaxLongVarcharSize=-4;"
> conn.ConnectionString = strConnect
> conn.Open
> Set RCS = conn.Execute("SELECT * FROM
> select_patient_all_visit_data(77.00,'')")
>
>
> Called pl/pgsql function
>
>
> --sqltext is dynamically built here with a LENGTH OVER 4096 characters
>
> --next line if enabled causes crash
> --*********************************
> --raise notice '%',sqltext;
> --*********************************
>
> FOR ret_row IN EXECUTE sqltext LOOP
> return next ret_row;
> END LOOP;
> return;
>
>
> Hope this helps track down the issue(s) if any...
> Alex Balan
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim GÜNDÜZ | 2010-09-29 17:30:56 | Re: 9.0 driver status |
Previous Message | Alex Balan | 2010-09-28 18:32:23 | raise notice causes driver to crash |