Neil Conway wrote: > On Wed, 2003-10-22 at 13:26, Bruce Momjian wrote: > > > * Cause FETCH 1 to return the next cursor row, or zero if at > > ---- > > > beginning/end of cursor, per SQL spec (Bruce) > > That's better, but still wrong: what does it mean for FETCH 1 to "return > zero if at the beginning/end of cursor"? If we're at the end of the > cursor, we return an empty result set, not "zero". >
OK, updated: <listitem><para>Make MOVE/FETCH 0 now does nothing (Bruce)</para></listitem> <listitem><para>Cause MOVE/FETCH now returns the number of rows moved/fetched, or zero if at the beginning/end of cursor, per SQL spec (Bruce)</para></listitem> -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org