'Postgres %% in function

What does the "%%" in this statement mean?

SELECT nextval(seq_name) %% 1024 INTO seq_id;

And why does Postgres say, when I use it?

operator does not exist: bigint %% integer


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source