The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/13/functions-sequence.html Description:
This page: https://www.postgresql.org/docs/current/functions-sequence.html doesn't seem to mention that there's a way to get the "cross session" current value of a sequence: https://stackoverflow.com/a/12482716/32453 Cheers!