Skip to content
Snippets Groups Projects
Commit 7ff198cd authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Support SERIAL column type. Expand column marked is_sequence into three

 statements:
 - the table definition with a default clause referencing the sequence;
 - a CREATE SEQUENCE statement;
 - a UNIQUE constraint, which expands into a CREATE INDEX statement.
This is not a perfect solution, since the sequence will remain even if
 the table is dropped. Also, there is no absolute protection on updating
 the sequence column.
parent 12cf9f80
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment