On Fri, May 14, 2021 at 3:33 PM Michael Shapiro <mshapir...@gmail.com>
wrote:

> How does PgAdmin get the current value of a sequence when showing the
> sequence properties?
>

SELECT last_value FROM <sequence_name>;

(essentially. It gets a few other things as well)

-- 
Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: https://www.enterprisedb.com

Reply via email to