Skip site navigation (1) Skip section navigation (2)

Re: Brio returning data through stored procedures.

From: "Doug Thom" <dthom(at)iagr(dot)net>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Brio returning data through stored procedures.
Date: 2007-04-06 17:28:38
Message-ID: A9D51A18173BD043BC843DAFB9CA48EC9A7A12@VMAIL.iagr.net (view raw or flat)
Thread:
Lists: pgsql-odbc
Ah, sorry, right. I did that. Real code was correct, pseudo code was
bad. :)

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us] 
Sent: Friday, April 06, 2007 1:27 PM
To: Doug Thom
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ODBC] Brio returning data through stored procedures. 

"Doug Thom" <dthom(at)iagr(dot)net> writes:
> So I would be doing something like:

> --Do the thing that builds the query.
> Select query
>   Into query-string
>   From table-that-has-query;

> Open cursor for query-string;

> Return cursor;
> --End pseudo code

I think you're looking for OPEN cursor FOR EXECUTE in plpgsql.
See the "cursor operations" part of the plpgsql manual.

			regards, tom lane


In response to

pgsql-odbc by date

Next:From: Matthew HagertyDate: 2007-04-09 01:17:36
Subject: Error using pgsql-odbc with OpenOffice
Previous:From: Tom LaneDate: 2007-04-06 17:27:25
Subject: Re: Brio returning data through stored procedures.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group