Posted on Posted in GNU/Linux

postgesql查询序列当前值可以使用SELECT last_value FROM sequence_name;这个是跨session的。

Leave a Reply

Your email address will not be published. Required fields are marked *