diff options
author | Thomas G. Lockhart <lockhart@fourpalms.org> | 1998-08-25 15:08:12 +0000 |
---|---|---|
committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 1998-08-25 15:08:12 +0000 |
commit | 7ff198cd46d646206cab5a8547d8bf8fe1a39cbb (patch) | |
tree | a9d0b67f3ab9dd2702872a92cd20a3d327c3571b /src/backend/tcop/postgres.c | |
parent | 12cf9f8075dac3bb81efa845285922ed520d9dc7 (diff) | |
download | postgresql-7ff198cd46d646206cab5a8547d8bf8fe1a39cbb.tar.gz postgresql-7ff198cd46d646206cab5a8547d8bf8fe1a39cbb.zip |
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions