pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedAccess violation in psqlodbcw.dll
5+ messages / 3 participants
[nested] [flat]
* Access violation in psqlodbcw.dll
@ 2007-11-06 14:10 Сергей Демьяненко <sergei.demyanenko@gmail.com>
2007-11-06 15:20 ` Re: Access violation in psqlodbcw.dll Raymond O'Donnell <rod@iol.ie>
0 siblings, 1 reply; 5+ messages in thread
From: Сергей Демьяненко @ 2007-11-06 14:10 UTC (permalink / raw)
To: pgsql-odbc
Hello community,
I have a problem with psqlODBC (08.02.05). I'm using Delphi 6 (6.240 UP2),
TADOQuery, PostgreSQL 8.2.4.
When I call TADOQuery.Open stored function raises exception:
ERROR: column "arg_last_datetime" doesn't exists.
State SQL:42703
Context:PL/pgSQL function "deliveries_visits_export3" line 40 at for over
select rows
Then TADOQuery raises "destructive exception" and after that any other query
executions in my program raise exception "Connection is already in use".
I tryed to execute query in design-time and got "access violation" in
psalodbcw.dll
Please help me find out where the problem is.
Thank you.
Regards,
Sergei Demyanenko
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Access violation in psqlodbcw.dll
2007-11-06 14:10 Access violation in psqlodbcw.dll Сергей Демьяненко <sergei.demyanenko@gmail.com>
@ 2007-11-06 15:20 ` Raymond O'Donnell <rod@iol.ie>
2007-11-07 07:48 ` Re: Access violation in psqlodbcw.dll Сергей Демьяненко <sergei.demyanenko@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Raymond O'Donnell @ 2007-11-06 15:20 UTC (permalink / raw)
To: Сергей Демьяненко <sergei.demyanenko@gmail.com>; +Cc: pgsql-odbc
On 06/11/2007 14:10, Сергей Демьяненко wrote:
> When I call TADOQuery.Open stored function raises exception:
>
> ERROR: column "arg_last_datetime" doesn't exists.
> State SQL:42703
> Context:PL/pgSQL function "deliveries_visits_export3" line 40 at for
> over select rows
The error message seems to indicate that there's a bug in your pl/pgsql
function - have you tried calling it directly from psql?
Ray.
---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
---------------------------------------------------------------
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Access violation in psqlodbcw.dll
2007-11-06 14:10 Access violation in psqlodbcw.dll Сергей Демьяненко <sergei.demyanenko@gmail.com>
2007-11-06 15:20 ` Re: Access violation in psqlodbcw.dll Raymond O'Donnell <rod@iol.ie>
@ 2007-11-07 07:48 ` Сергей Демьяненко <sergei.demyanenko@gmail.com>
2007-11-07 08:14 ` Re: Access violation in psqlodbcw.dll Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 1 reply; 5+ messages in thread
From: Сергей Демьяненко @ 2007-11-07 07:48 UTC (permalink / raw)
To: rod@iol.ie; +Cc: pgsql-odbc
2007/11/6, Raymond O'Donnell <rod@iol.ie>:
>
> On 06/11/2007 14:10, Сергей Демьяненко wrote:
> > When I call TADOQuery.Open stored function raises exception:
> >
> > ERROR: column "arg_last_datetime" doesn't exists.
> > State SQL:42703
> > Context:PL/pgSQL function "deliveries_visits_export3" line 40 at for
> > over select rows
>
> The error message seems to indicate that there's a bug in your pl/pgsql
> function - have you tried calling it directly from psql?
>
> Ray.
>
There is a bit of misunderstanding. Of course I know about bug in the
procedure. The problem is that TADOQuery doesn't return postgres exception
because psqlodbsw.dll raises "access violation".
Regards, Sergei Demyanenko
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Access violation in psqlodbcw.dll
2007-11-06 14:10 Access violation in psqlodbcw.dll Сергей Демьяненко <sergei.demyanenko@gmail.com>
2007-11-06 15:20 ` Re: Access violation in psqlodbcw.dll Raymond O'Donnell <rod@iol.ie>
2007-11-07 07:48 ` Re: Access violation in psqlodbcw.dll Сергей Демьяненко <sergei.demyanenko@gmail.com>
@ 2007-11-07 08:14 ` Hiroshi Inoue <inoue@tpf.co.jp>
2007-11-08 08:54 ` Re: Access violation in psqlodbcw.dll Сергей Демьяненко <sergei.demyanenko@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Hiroshi Inoue @ 2007-11-07 08:14 UTC (permalink / raw)
To: Сергей Демьяненко <sergei.demyanenko@gmail.com>; +Cc: rod@iol.ie; pgsql-odbc
Сергей Демьяненко wrote:
> 2007/11/6, Raymond O'Donnell <rod@iol.ie <mailto:rod@iol.ie>>:
>
> On 06/11/2007 14:10, Сергей Демьяненко wrote:
> > When I call TADOQuery.Open stored function raises exception:
> >
> > ERROR: column "arg_last_datetime" doesn't exists.
> > State SQL:42703
> > Context:PL/pgSQL function "deliveries_visits_export3" line 40 at for
> > over select rows
>
> The error message seems to indicate that there's a bug in your pl/pgsql
> function - have you tried calling it directly from psql?
>
> Ray.
>
>
> There is a bit of misunderstanding. Of course I know about bug in the
> procedure. The problem is that TADOQuery doesn't return postgres
> exception because psqlodbsw.dll raises "access violation".
Hmm, psqlodbc 8.2.0500 doesn't include psqlodbcw.dll.
Anyway could yo send me directly the Mylog output ?
regards,
Hiroshi Inoue
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Access violation in psqlodbcw.dll
2007-11-06 14:10 Access violation in psqlodbcw.dll Сергей Демьяненко <sergei.demyanenko@gmail.com>
2007-11-06 15:20 ` Re: Access violation in psqlodbcw.dll Raymond O'Donnell <rod@iol.ie>
2007-11-07 07:48 ` Re: Access violation in psqlodbcw.dll Сергей Демьяненко <sergei.demyanenko@gmail.com>
2007-11-07 08:14 ` Re: Access violation in psqlodbcw.dll Hiroshi Inoue <inoue@tpf.co.jp>
@ 2007-11-08 08:54 ` Сергей Демьяненко <sergei.demyanenko@gmail.com>
0 siblings, 0 replies; 5+ messages in thread
From: Сергей Демьяненко @ 2007-11-08 08:54 UTC (permalink / raw)
To: Hiroshi Inoue <inoue@tpf.co.jp>; +Cc: rod@iol.ie; pgsql-odbc
2007/11/7, Hiroshi Inoue <inoue@tpf.co.jp>:
>
> Сергей Демьяненко wrote:
> > 2007/11/6, Raymond O'Donnell <rod@iol.ie <mailto:rod@iol.ie>>:
> >
> > On 06/11/2007 14:10, Сергей Демьяненко wrote:
> > > When I call TADOQuery.Open stored function raises exception:
> > >
> > > ERROR: column "arg_last_datetime" doesn't exists.
> > > State SQL:42703
> > > Context:PL/pgSQL function "deliveries_visits_export3" line 40 at
> for
> > > over select rows
> >
> > The error message seems to indicate that there's a bug in your
> pl/pgsql
> > function - have you tried calling it directly from psql?
> >
> > Ray.
> >
> >
> > There is a bit of misunderstanding. Of course I know about bug in the
> > procedure. The problem is that TADOQuery doesn't return postgres
> > exception because psqlodbsw.dll raises "access violation".
>
> Hmm, psqlodbc 8.2.0500 doesn't include psqlodbcw.dll.
> Anyway could yo send me directly the Mylog output ?
>
> regards,
> Hiroshi Inoue
>
>
>
I'm sorry. You're right, psqlodbc 8.2.0500 doesn't include psqlodbcw.dll. I
installed psqlodbc 8.2.0500 without deinstalling previous version (8.1) so
it was the reason of the problem. psqlodbc 8.2.0500 doesn't have described
above bug.
Thanx for your efforts.
regards,
Sergei Demyanenko
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2007-11-08 08:54 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-11-06 14:10 Access violation in psqlodbcw.dll Сергей Демьяненко <sergei.demyanenko@gmail.com>
2007-11-06 15:20 ` Raymond O'Donnell <rod@iol.ie>
2007-11-07 07:48 ` Сергей Демьяненко <sergei.demyanenko@gmail.com>
2007-11-07 08:14 ` Hiroshi Inoue <inoue@tpf.co.jp>
2007-11-08 08:54 ` Сергей Демьяненко <sergei.demyanenko@gmail.com>
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