Re: cursor "x" does not exist - Mailing list pgsql-general

From Bob Jones
Subject Re: cursor "x" does not exist
Date
Msg-id CA+HuS5GCPy3xchcH5nc2uCZ3jC1SVdxrBtG7N0wXn81n7+TPtw@mail.gmail.com
Whole thread Raw
In response to Re: cursor "x" does not exist  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: cursor "x" does not exist
List pgsql-general
On 14 April 2018 at 16:38, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Bob Jones <r.a.n.d.o.m.d.e.v.4+postgres@gmail.com> writes:
>> My apologies if I'm being incredibly stupid here, but I've reviewed
>> what the docs have to say about naming portals and I still can't see
>> where I'm going wrong here ?
>
> I think you're forgetting to double-quote an upper case identifier.
>
>> FETCH ALL IN B;
>> ERROR:  cursor "b" does not exist
>
> The cursor is named "B" not "b", but B without quotes folds to the latter.
>
>                         regards, tom lane


Thank you tom for showing me the error in my ways.

Now where's that dunce cap gone ?  Maybe I don't deserve to use
anything better than MySQL.   ;-)


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: cursor "x" does not exist
Next
From: Adrian Klaver
Date:
Subject: Re: cursor "x" does not exist