Skip to content
Snippets Groups Projects
user avatar
Peter Eisentraut authored
This is the SQL standard-conforming variant of PostgreSQL's serial
columns.  It fixes a few usability issues that serial columns have:

- CREATE TABLE / LIKE copies default but refers to same sequence
- cannot add/drop serialness with ALTER TABLE
- dropping default does not drop sequence
- need to grant separate privileges to sequence
- other slight weirdnesses because serial is some kind of special macro

Reviewed-by: default avatarVitaly Burovoy <vitaly.burovoy@gmail.com>
32173270
History
Name Last commit Last update
..