Sequences and the Serial Pseudo Data Type
Learn how to use sequence in PostgreSQL.
We'll cover the following...
We'll cover the following...
Other kinds of numeric data types in PostgreSQL are smallserial, serial, and bigserial. They’re actually pseudotypes—the parser recognizes their syntax but then transforms them into something else entirely:
This is equivalent to specifying: