Re: use cursor in a function - Mailing list pgsql-novice

From Joe Conway
Subject Re: use cursor in a function
Date
Msg-id 3EEEECBA.9020803@joeconway.com
Whole thread Raw
In response to use cursor in a function  (Rory Campbell-Lange <rory@campbell-lange.net>)
Responses Re: use cursor in a function  (Rory Campbell-Lange <rory@campbell-lange.net>)
Re: use cursor in a function  (Rory Campbell-Lange <rory@campbell-lange.net>)
List pgsql-novice
Rory Campbell-Lange wrote:
> Is this sensible, efficient, feasible? I have not used cursors before.
>
> Or should I simply do 2 separate functions, 1 for NUM_ROWS, the
> other for the result set I want?

It's hard to offer advice (at least for me) without more context. What
are you trying to accomplish (in more detail), and in what type of
application (web, fat client, etc)?

Joe


pgsql-novice by date:

Previous
From: Rory Campbell-Lange
Date:
Subject: use cursor in a function
Next
From: Riki Kurniawan
Date:
Subject: Re: using a dumped database file