3.9、向前提取剩下的所有数据

  1. postgres=# FETCH FORWARD 2 from tbase_cur ;
  2. id | nickname
  3. ----+-------------
  4. 1 | hello TBase
  5. 2 | TBase
  6. (2 rows)
  7. postgres=# FETCH FORWARD all from tbase_cur ;
  8. id | nickname
  9. ----+---------------
  10. 3 | TBase
  11. 4 | TBase default
  12. 5 | TBase swap
  13. (3 rows)