Re: Bug in move 0 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug in move 0
Date
Msg-id 8612.960699660@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug in move 0  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Bug in move 0  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> We may have documented the behavior, but that doesn't make it right ;-)
>> If someone were to submit a patch to change MOVE 0 into a no-op
>> (without breaking MOVE ALL of course), I'd vote to apply it.

> If we do that, how does one move to the end of a cursor?

MOVE ALL.

The problem right now is just that MOVE ALL is internally represented
as MOVE 0 ... there needs to be a different representation for it.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Bug in move 0
Next
From: Bruce Momjian
Date:
Subject: Re: Bug in move 0