Re: ODBC driver and refcursors
От | Farooq |
---|---|
Тема | Re: ODBC driver and refcursors |
Дата | |
Msg-id | 12461.64474.qm@web45115.mail.sp1.yahoo.com обсуждение исходный текст |
Ответ на | ODBC driver and refcursors (Farooq <shorrt_circuit@yahoo.com>) |
Ответы |
Re: ODBC driver and refcursors
|
Список | pgsql-odbc |
--- On Mon, 6/1/09, Craig Ringer <craig@postnewspapers.com.au> wrote: > From: Craig Ringer <craig@postnewspapers.com.au> > Subject: Re: [ODBC] ODBC driver and refcursors > To: "Farooq" <shorrt_circuit@yahoo.com> > Cc: pgsql-odbc@postgresql.org > Date: Monday, June 1, 2009, 5:49 PM > Farooq wrote: > > >> select * from test_cursor('curs',3); > >> fetch all in "curs"; > >> > >> With 8.1 odbc driver, I get the below rows: > >> > >> userid | username > >> -------------------- > >> 4 | user4 > >> 5 | user5 > >> > >> And with 8.3 odbc driver, I get > >> > >> test_cursor > >> --------------- > >> curs > > Try dispatching this in two separate calls, instead of a > single string > containing two semicolon-separated statements. > With two separate calls; the second statement complains that the cursor does not exist. > I have the vague feeling the ODBC driver may have options > that affect > multi-statement queries. > > > -- > Craig Ringer > > -- > Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-odbc >
В списке pgsql-odbc по дате отправления: