Re: Re: [SQL] FTI, paged, ranked searching and efficiency.

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: sqllist <pgsql-sql(at)postgresql(dot)org>, phpp <pgsql-php(at)postgresql(dot)org>
Subject: Re: Re: [SQL] FTI, paged, ranked searching and efficiency.
Date: 2000-11-15 17:31:38
Message-ID: 3A12C87A.390C6346@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php pgsql-sql

Stephen,

> How come nobody's ever thought of cursors?
>
> DECLARE foo CURSOR FOR SELECT stuff FROM stuff WHERE foo ORDER BY
> something;
>
> Hop forward N rows?
> MOVE FORWARD $n IN foo
>
> Want M rows?
> FETCH FORWARD $m IN foo

I'm intrigued by this. How would I retrieve cursor rows into a web
application? If we could output a cursor to a functon result (we
can't), it would be easy, but I'm not sure otherwise.

-Josh
--
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 436-9166
for law firms, small businesses fax 436-0137
and non-profit organizations. pager 338-4078
San Francisco

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Stephen van Egmond 2000-11-15 17:51:16 Re: Re: [SQL] FTI, paged, ranked searching and efficiency.
Previous Message Stephen van Egmond 2000-11-15 17:28:48 Re: Re: [SQL] FTI, paged, ranked searching and efficiency.

Browse pgsql-sql by date

  From Date Subject
Next Message Stephen van Egmond 2000-11-15 17:51:16 Re: Re: [SQL] FTI, paged, ranked searching and efficiency.
Previous Message Stephen van Egmond 2000-11-15 17:28:48 Re: Re: [SQL] FTI, paged, ranked searching and efficiency.