3.2、提取下一行数据
postgres=# DECLARE tbase_cur SCROLL CURSOR FOR SELECT * from tbase ORDER BY id;
DECLARE CURSOR
postgres=# FETCH NEXT from tbase_cur ;
id | nickname
----+-------------
1 | hello TBase
(1 row)
postgres=# FETCH NEXT from tbase_cur ;
id | nickname
----+-----------
2 | TBase好
(1 row)