Re: use cursor in a function

From: Joe Conway <mail(at)joeconway(dot)com>
To: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
Cc: Postgresql Novice List <pgsql-novice(at)postgresql(dot)org>
Subject: Re: use cursor in a function
Date: 2003-06-17 10:26:02
Message-ID: 3EEEECBA.9020803@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Riki Kurniawan 2003-06-17 11:22:52 Re: using a dumped database file
Previous Message Rory Campbell-Lange 2003-06-17 10:18:43 use cursor in a function