要获得下一个 Sequence 的值,我们需要执行 SQL select nextval('topics_id_seq' )
select nextval('topics_id_seq' )
每执行一次,值就会增加一个。