pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
No explanation of other options
2+ messages / 2 participants
[nested] [flat]

* No explanation of other options
@ 2023-10-16 18:22 PG Doc comments form <noreply@postgresql.org>
  2023-10-17 11:14 ` Re: No explanation of other options jian he <jian.universality@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2023-10-16 18:22 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: themyth.cs@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/sql-move.html
Description:

A few more examples with the other options would be helpful.

MOVE LAST for example shows NULL, 
What does MOVE ALL do?


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: No explanation of other options
  2023-10-16 18:22 No explanation of other options PG Doc comments form <noreply@postgresql.org>
@ 2023-10-17 11:14 ` jian he <jian.universality@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: jian he @ 2023-10-17 11:14 UTC (permalink / raw)
  To: themyth.cs@gmail.com; pgsql-docs@lists.postgresql.org

On Tue, Oct 17, 2023 at 7:00 PM PG Doc comments form
<noreply@postgresql.org> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/16/sql-move.html
> Description:
>
> A few more examples with the other options would be helpful.
>
> MOVE LAST for example shows NULL,
> What does MOVE ALL do?

I found out demo in
https://git.postgresql.org/cgit/postgresql.git/tree/src/test/regress/expected/subselect.out#n1665

You can try it:
begin;
declare c1 scroll cursor for
 select * from generate_series(1,4) i
  where i <> all (values (2),(3));
move forward all in c1;
fetch  all in c1;
commit;

move the default direction is forward. so "move all" will act the same
as "move forward all".





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-10-17 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 18:22 No explanation of other options PG Doc comments form <noreply@postgresql.org>
2023-10-17 11:14 ` jian he <jian.universality@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox