plpgsql error message

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: plpgsql error message
Date: 2009-06-17 13:40:39
Message-ID: 200906171640.39276.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In plpgsql, if you write

OPEN var BLAH

you can an error message like this:

ERROR: syntax error ...
DETAIL: Expected "FOR", to open a reference cursor.

But what is a "reference cursor"? Isn't this rather saying "... to open a
cursor, a reference to which will be stored in your variable"? Anyone got a
better idea for a wording?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-06-17 13:44:53 Re: GRANT ON ALL IN schema
Previous Message Peter Eisentraut 2009-06-17 13:36:59 Re: Determining client_encoding from client locale