pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedProblem with Cursor in Oracle from Postgresql via ODBC
4+ messages / 4 participants
[nested] [flat]
* Problem with Cursor in Oracle from Postgresql via ODBC
@ 2005-09-28 13:27 pofesen pofesen <pofesen@hotmail.com>
0 siblings, 2 replies; 4+ messages in thread
From: pofesen pofesen @ 2005-09-28 13:27 UTC (permalink / raw)
To: pgsql-odbc
Hi everybody,
if someone get's confused by the subject, let me explain:
Oracle 10g on Linux with ODBC installation for DB-Link to Postgresql. That
works very fine!
But, now the problem:
In PL/SQL procedure I open a view on the PGSQL (8.0.3) DB into a cursor
which i want to loop through until EOF. The View returns about 2.000 rows,
but always at the number of 100 rows, it just stops, like there are no more
rows. But I know there are and a "normal" select statement gives me the
correct result!
Anybody has an idea? I would really appreciate.
best regards,
thomas
_________________________________________________________________
So können Sie zu jeder Zeit die besten Suchfunktionen nutzen - die MSN
Toolbar. http://toolbar.msn.at?DI=43&XAPID=2170
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Problem with Cursor in Oracle from Postgresql via ODBC
@ 2005-09-28 16:16 Richard Huxton <dev@archonet.com>
parent: pofesen pofesen <pofesen@hotmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Richard Huxton @ 2005-09-28 16:16 UTC (permalink / raw)
To: pofesen pofesen <pofesen@hotmail.com>; +Cc: pgsql-odbc
pofesen pofesen wrote:
> Hi everybody,
>
> if someone get's confused by the subject, let me explain:
>
> Oracle 10g on Linux with ODBC installation for DB-Link to Postgresql. That
> works very fine!
>
> But, now the problem:
>
> In PL/SQL procedure I open a view on the PGSQL (8.0.3) DB into a cursor
> which i want to loop through until EOF. The View returns about 2.000 rows,
> but always at the number of 100 rows, it just stops, like there are no more
> rows. But I know there are and a "normal" select statement gives me the
> correct result!
>
> Anybody has an idea? I would really appreciate.
First step would be to turn logging on/up at both ends - see what is
being executed.
--
Richard Huxton
Archonet Ltd
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Problem with Cursor in Oracle from Postgresql via ODBC
@ 2005-09-28 17:06 Johann Zuschlag <zuschlag2@online.de>
parent: pofesen pofesen <pofesen@hotmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Johann Zuschlag @ 2005-09-28 17:06 UTC (permalink / raw)
To: pofesen pofesen <pofesen@hotmail.com>; pgsql-odbc
pofesen pofesen schrieb:
>
> In PL/SQL procedure I open a view on the PGSQL (8.0.3) DB into a cursor
> which i want to loop through until EOF. The View returns about 2.000
> rows,
> but always at the number of 100 rows, it just stops, like there are no
> more
> rows. But I know there are and a "normal" select statement gives me the
> correct result!
>
> Anybody has an idea? I would really appreciate.
>
>
Hi Thomas,
which version of psqlodbc you are using? It seems that you switched on
'cursor control' in the driver. There was a bug recently in that part of
the driver. I'm not sure whether that was fixed in the last version
(8.01.00.04).
regards
Johann
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Problem with Cursor in Oracle from Postgresql via ODBC
@ 2005-09-28 18:10 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 4+ messages in thread
From: Dave Page @ 2005-09-28 18:10 UTC (permalink / raw)
To: zuschlag2@online.de; pofesen@hotmail.com; pgsql-odbc
No, it's not fixed yet. The guys at Pervasive are on the case :-)
/D
-----Original Message-----
From: "Johann Zuschlag"<zuschlag2@online.de>
Sent: 28/09/05 18:12:08
To: "pofesen pofesen"<pofesen@hotmail.com>, "pgsql-odbc@postgresql.org"<pgsql-odbc@postgresql.org>
Subject: Re: [ODBC] Problem with Cursor in Oracle from Postgresql via ODBC
pofesen pofesen schrieb:
>
> In PL/SQL procedure I open a view on the PGSQL (8.0.3) DB into a cursor
> which i want to loop through until EOF. The View returns about 2.000
> rows,
> but always at the number of 100 rows, it just stops, like there are no
> more
> rows. But I know there are and a "normal" select statement gives me the
> correct result!
>
> Anybody has an idea? I would really appreciate.
>
>
Hi Thomas,
which version of psqlodbc you are using? It seems that you switched on
'cursor control' in the driver. There was a bug recently in that part of
the driver. I'm not sure whether that was fixed in the last version
(8.01.00.04).
regards
Johann
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend
-----Unmodified Original Message-----
pofesen pofesen schrieb:
>
> In PL/SQL procedure I open a view on the PGSQL (8.0.3) DB into a cursor
> which i want to loop through until EOF. The View returns about 2.000
> rows,
> but always at the number of 100 rows, it just stops, like there are no
> more
> rows. But I know there are and a "normal" select statement gives me the
> correct result!
>
> Anybody has an idea? I would really appreciate.
>
>
Hi Thomas,
which version of psqlodbc you are using? It seems that you switched on
'cursor control' in the driver. There was a bug recently in that part of
the driver. I'm not sure whether that was fixed in the last version
(8.01.00.04).
regards
Johann
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2005-09-28 18:10 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-28 13:27 Problem with Cursor in Oracle from Postgresql via ODBC pofesen pofesen <pofesen@hotmail.com>
2005-09-28 16:16 ` Richard Huxton <dev@archonet.com>
2005-09-28 17:06 ` Johann Zuschlag <zuschlag2@online.de>
2005-09-28 18:10 Re: Problem with Cursor in Oracle from Postgresql via ODBC Dave Page <dpage@vale-housing.co.uk>
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