diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-16 23:36:05 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-16 23:36:05 +0000 |
commit | 10a3471bed7b57fb986a5be8afdee5f0dda419de (patch) | |
tree | 32de8db702827c67c5cb85479d9bbff22c7b6e94 /contrib/btree_gist/btree_gist.c | |
parent | 8a2f5d221b0d6e41dc66b7e7389668bd208e3529 (diff) | |
download | postgresql-10a3471bed7b57fb986a5be8afdee5f0dda419de.tar.gz postgresql-10a3471bed7b57fb986a5be8afdee5f0dda419de.zip |
Add a RESTART (without parameter) option to ALTER SEQUENCE, allowing a
sequence to be reset to its original starting value. This requires adding the
original start value to the set of parameters (columns) of a sequence object,
which is a user-visible change with potential compatibility implications;
it also forces initdb.
Also add hopefully-SQL-compatible RESTART/CONTINUE IDENTITY options to
TRUNCATE TABLE. RESTART IDENTITY executes ALTER SEQUENCE RESTART for all
sequences "owned by" any of the truncated relations. CONTINUE IDENTITY is
a no-op option.
Zoltan Boszormenyi
Diffstat (limited to 'contrib/btree_gist/btree_gist.c')
0 files changed, 0 insertions, 0 deletions