Re: Brio returning data through stored procedures.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Doug Thom" <dthom(at)iagr(dot)net>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Brio returning data through stored procedures.
Date: 2007-04-06 17:27:25
Message-ID: 14927.1175880445@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

"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

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Doug Thom 2007-04-06 17:28:38 Re: Brio returning data through stored procedures.
Previous Message David Gardner 2007-04-06 16:42:12 Re: Brio returning data through stored procedures.