SCROLL CURSOR - Mailing list pgsql-general

From
Subject SCROLL CURSOR
Date
Msg-id 59AF6E977C4B4DD4A663B19948E4B69B@nc05072019
Whole thread Raw
In response to how to use pam-pgsql  (Dejan Dimic <dejan.dimic@gmail.com>)
Responses Re: SCROLL CURSOR  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I declare a cursor as below:
    DECLARE
            links_cur SCROLL CURSOR IS SELECT * FROM road;

and get this error:
    CONTEXT:  invalid type name "SCROLL CURSOR IS SELECT * FROM road"

If I take away 'SCROLL', it has no problem.

Any hint?

Thanks,
cyw




pgsql-general by date:

Previous
From: Dejan Dimic
Date:
Subject: how to use pam-pgsql
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: feature idea